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

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: Rebase+ Created 5 years, 2 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/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;
kouhei (in TOK) 2015/11/02 04:16:28 resourceClientDebugName?
hiroshige 2015/11/02 05:22:07 String LayoutObject::debugName() const is already
+
protected:
ResourceClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698