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

Unified Diff: base/trace_event/process_memory_dump.h

Issue 1383733002: [tracing] Add graphics memory dump provider for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: base/trace_event/process_memory_dump.h
diff --git a/base/trace_event/process_memory_dump.h b/base/trace_event/process_memory_dump.h
index da18a14b1ca1d2909224011fcb5bc89d0286b69e..7a16aa4a4af0389697e2a7908f66b77043f6c653 100644
--- a/base/trace_event/process_memory_dump.h
+++ b/base/trace_event/process_memory_dump.h
@@ -64,6 +64,9 @@ class BASE_EXPORT ProcessMemoryDump {
// nullptr if not found.
MemoryAllocatorDump* GetAllocatorDump(const std::string& absolute_name) const;
+ MemoryAllocatorDump* GetOrCreateAllocatorDump(
ericrk 2015/10/02 18:30:11 Can we remove the similar function from SkTraceMem
Primiano Tucci (use gerrit) 2015/10/05 14:24:25 OK I'll do that in a separate CL (at this point be
+ const std::string& absolute_name);
+
// Creates a shared MemoryAllocatorDump, to express cross-process sharing.
// Shared allocator dumps are allowed to have duplicate guids within the
// global scope, in order to reference the same dump from multiple processes.
« no previous file with comments | « no previous file | base/trace_event/process_memory_dump.cc » ('j') | components/tracing/graphics_memory_dump_provider_android.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698