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

Unified Diff: third_party/WebKit/Source/core/fetch/CachedMetadataHandler.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: rebase Created 4 years, 8 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/Source/core/fetch/CachedMetadataHandler.h
diff --git a/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h b/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h
index d347d98cf41874c595db4b3903ec0d6a1ed988ce..056dc912dbd6a5633a1e64e876bd5a23569f5af0 100644
--- a/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h
+++ b/third_party/WebKit/Source/core/fetch/CachedMetadataHandler.h
@@ -31,6 +31,8 @@ public:
virtual CachedMetadata* cachedMetadata(unsigned dataTypeID) const = 0;
// Returns the encoding to which the cache is specific.
virtual String encoding() const = 0;
+ // Returns whether we should aggressively cache the metadata.
+ virtual bool shouldAggressivelyCache() const = 0;
protected:
CachedMetadataHandler() { }

Powered by Google App Engine
This is Rietveld 408576698