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

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

Issue 1413233005: tracing: Report ResourceClients and the reason for not deletable for web-caches (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reflected haraken's comments. Created 5 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 ae4b776270ecb7fd3bcf01586276deaa8a49a9c1..08be8fc5a35f59671ed693b8e47dca400ea76240 100644
--- a/third_party/WebKit/Source/core/fetch/ResourceClient.h
+++ b/third_party/WebKit/Source/core/fetch/ResourceClient.h
@@ -28,6 +28,7 @@
#include "core/CoreExport.h"
#include "platform/network/ResourceLoadPriority.h"
#include "wtf/Forward.h"
+#include "wtf/text/WTFString.h"
namespace blink {
class Resource;
@@ -52,6 +53,9 @@ public:
virtual ResourcePriority computeResourcePriority() const { return ResourcePriority(); }
+ // Name for debugging, e.g. shown in memory-infra.
+ virtual String debugName() const = 0;
+
protected:
ResourceClient() { }
};
« no previous file with comments | « third_party/WebKit/Source/core/fetch/Resource.cpp ('k') | third_party/WebKit/Source/core/html/HTMLDocument.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698