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

Unified Diff: base/trace_event/memory_dump_provider.h

Issue 1706163002: Refactoring: Remove an argument 'enabled' from onHeapProfilingEnabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « base/trace_event/memory_dump_manager.cc ('k') | content/child/web_memory_dump_provider_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/memory_dump_provider.h
diff --git a/base/trace_event/memory_dump_provider.h b/base/trace_event/memory_dump_provider.h
index f03fcbdf7e80e134ed2598e10382a28228116328..407b99636b27de2b27700da6aad8072f9524ed8c 100644
--- a/base/trace_event/memory_dump_provider.h
+++ b/base/trace_event/memory_dump_provider.h
@@ -48,9 +48,9 @@ class BASE_EXPORT MemoryDumpProvider {
virtual bool OnMemoryDump(const MemoryDumpArgs& args,
ProcessMemoryDump* pmd) = 0;
- // Called by the MemoryDumpManager when an allocator should start or stop
- // collecting extensive allocation data, if supported.
- virtual void OnHeapProfilingEnabled(bool enabled) {}
+ // Called by the MemoryDumpManager when an allocator should start collecting
+ // extensive allocation data, if supported.
+ virtual void OnHeapProfilingEnabled() {}
protected:
MemoryDumpProvider() {}
« no previous file with comments | « base/trace_event/memory_dump_manager.cc ('k') | content/child/web_memory_dump_provider_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698