Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(950)

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1915833002: Introduce Platform::cacheMetadataInCacheStorage() to store V8 code cache in CacheStorage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments in render_process_messages.h Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 c7a244b6d8c49c5092b4e12956fe58912cc74be4..a0451d95a09c45da129443921f74fe3523987fba 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -308,7 +308,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(); }

Powered by Google App Engine
This is Rietveld 408576698