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

Unified Diff: public/platform/Platform.h

Issue 1159923006: [tracing] Expose AddOwnershipEdge and CreateAllocatorDump with guid to blink. (blink-side). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 6 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
« no previous file with comments | « no previous file | public/platform/WebMemoryAllocatorDump.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index 7b8f0f648177cd1162c765da71fb29574fe85419..e0e1ec035197b77f07055480d73a9077e94f7805 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -572,6 +572,12 @@ public:
// Returns a newly allocated WebProcessMemoryDump instance.
virtual blink::WebProcessMemoryDump* createProcessMemoryDump() { return nullptr; }
+ typedef uint64_t WebMemoryAllocatorDumpGuid;
+
+ // Returns guid corresponding to the given string (the hash value) for
+ // creating a WebMemoryAllocatorDump.
+ virtual WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid(const WebString& guidStr) { return 0; }
+
// GPU ----------------------------------------------------------------
//
// May return null if GPU is not supported.
« no previous file with comments | « no previous file | public/platform/WebMemoryAllocatorDump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698