summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/CacheResult.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-01-13 18:41:41 +0000
committerBen Murdoch <benm@google.com>2011-01-14 16:47:02 +0000
commite95b4a7d9ed67e6d6960e33e794e653aa0bd3887 (patch)
treef05dc9135143443e575fd648f5439a2852f144df /WebKit/android/WebCoreSupport/CacheResult.h
parentbf16cf132cbd54cc70f003ec6f7500e3dd39dbbb (diff)
downloadexternal_webkit-e95b4a7d9ed67e6d6960e33e794e653aa0bd3887.zip
external_webkit-e95b4a7d9ed67e6d6960e33e794e653aa0bd3887.tar.gz
external_webkit-e95b4a7d9ed67e6d6960e33e794e653aa0bd3887.tar.bz2
Resolve MIME types for CacheResult in the same way as WebResponse.
Change-Id: I972bbdabc8491a94eabd676dd13f09fcccb6ba88
Diffstat (limited to 'WebKit/android/WebCoreSupport/CacheResult.h')
-rw-r--r--WebKit/android/WebCoreSupport/CacheResult.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/WebKit/android/WebCoreSupport/CacheResult.h b/WebKit/android/WebCoreSupport/CacheResult.h
index 02dced2..c39570c 100644
--- a/WebKit/android/WebCoreSupport/CacheResult.h
+++ b/WebKit/android/WebCoreSupport/CacheResult.h
@@ -38,7 +38,7 @@ namespace android {
class CacheResult : public base::RefCountedThreadSafe<CacheResult> {
public:
// Takes ownership of the Entry passed to the constructor.
- CacheResult(disk_cache::Entry*);
+ CacheResult(disk_cache::Entry*, String url);
~CacheResult();
int64 contentSize() const;
@@ -77,6 +77,8 @@ private:
net::CompletionCallbackImpl<CacheResult> m_onResponseHeadersDoneCallback;
net::CompletionCallbackImpl<CacheResult> m_onReadNextChunkDoneCallback;
+
+ String m_url;
};
} // namespace android