| Index: third_party/WebKit/public/platform/Platform.h
|
| diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
|
| index 03e769ebe5dc28609e698a3cb86eeacae44c3dc1..edede541e5a742bf56478df40612d02ccdd9a6f4 100644
|
| --- a/third_party/WebKit/public/platform/Platform.h
|
| +++ b/third_party/WebKit/public/platform/Platform.h
|
| @@ -309,7 +309,10 @@ public:
|
| virtual WebString userAgent() { return WebString(); }
|
|
|
| // A suggestion to cache this metadata in association with this URL.
|
| - virtual void cacheMetadata(const WebURL&, int64_t responseTime, const char* data, size_t dataSize) { }
|
| + virtual void cacheMetadata(const WebURL&, int64_t responseTime, const char* data, size_t dataSize) {}
|
| +
|
| + // A suggestion to cache this metadata in association with this URL which resource is in CacheStorage.
|
| + virtual void cacheMetadataInCacheStorage(const WebURL&, int64_t responseTime, const char* data, size_t dataSize, const blink::WebSecurityOrigin& cacheStorageOrigin, const WebString& cacheStorageCacheName) {}
|
|
|
| // Returns the decoded data url if url had a supported mimetype and parsing was successful.
|
| virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString& charset) { return WebData(); }
|
|
|