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

Unified Diff: content/public/browser/profiler_subscriber.h

Issue 10041017: Show gpu process stats in about:tcmalloc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with correct (?) layering Created 8 years, 8 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
« chrome/browser/ui/webui/about_ui.cc ('K') | « content/gpu/gpu_child_thread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/profiler_subscriber.h
diff --git a/content/public/browser/profiler_subscriber.h b/content/public/browser/profiler_subscriber.h
index f6679d9000620566cb619f9021b5b04f511d0447..feb749aebff2e03de0d3c3ef8b4ff8ebf75af4ee 100644
--- a/content/public/browser/profiler_subscriber.h
+++ b/content/public/browser/profiler_subscriber.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_BROWSER_PROFILER_SUBSCRIBER_H_
#define CONTENT_PUBLIC_BROWSER_PROFILER_SUBSCRIBER_H_
+#include "base/process.h"
#include "content/common/content_export.h"
#include "content/public/common/process_type.h"
@@ -31,6 +32,13 @@ class CONTENT_EXPORT ProfilerSubscriber {
int sequence_number,
const tracked_objects::ProcessDataSnapshot& profiler_data,
ProcessType process_type) = 0;
+
+#if defined(USE_TCMALLOC)
+ virtual void OnTcmallocStatsCollected(base::ProcessId pid,
+ ProcessType process_type,
+ const std::string& output) = 0;
+#endif
+
};
} // namespace content
« chrome/browser/ui/webui/about_ui.cc ('K') | « content/gpu/gpu_child_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698