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

Unified Diff: third_party/WebKit/Source/core/fetch/ResourceClient.h

Issue 2499263002: Add UMA to estimate deroppable memory usage of encoded data size in Resources (Closed)
Patch Set: Created 4 years, 1 month 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/ResourceClient.h
diff --git a/third_party/WebKit/Source/core/fetch/ResourceClient.h b/third_party/WebKit/Source/core/fetch/ResourceClient.h
index d7c071055670e45ef8f38a0db4e54b57274693e2..4bfbfc92441898eaa29c0b511e5716430bed83b2 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceClient.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceClient.h
@@ -53,6 +53,8 @@ class CORE_EXPORT ResourceClient : public GarbageCollectedMixin {
return BaseResourceType;
}
+ virtual bool isReloadable() const { return true; }
+
// Name for debugging, e.g. shown in memory-infra.
virtual String debugName() const = 0;

Powered by Google App Engine
This is Rietveld 408576698