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

Unified Diff: content/public/app/content_main_delegate.h

Issue 999883002: Profiler-instrumentation of the startup time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 years, 9 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 | « content/browser/browser_main_runner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/app/content_main_delegate.h
diff --git a/content/public/app/content_main_delegate.h b/content/public/app/content_main_delegate.h
index 6191d7815e6841b2c857b9f93f8f98bb56329d35..85c36f57972af751a6713b7335e92dbd3ff76bda 100644
--- a/content/public/app/content_main_delegate.h
+++ b/content/public/app/content_main_delegate.h
@@ -76,6 +76,9 @@ class CONTENT_EXPORT ContentMainDelegate {
virtual void ZygoteForked() {}
#endif // OS_MACOSX
+ // Returns whether or not profiler recording should be enabled.
+ virtual bool ShouldEnableProfilerRecording() {return false;}
vadimt 2015/03/13 15:27:41 Please mention the bug here too.
yao 2015/03/13 15:35:01 Done.
+
protected:
friend class ContentClientInitializer;
« no previous file with comments | « content/browser/browser_main_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698