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

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
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..0e3f408fc0a40c84d688ad65588456fe88c5319b 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 true if profiler recording is enabled, and false otherwise.
+ virtual bool EnableProfilerRecording() {return false;}
vadimt 2015/03/12 18:23:03 ShouldEnable... ?
yao 2015/03/13 15:24:49 Done.
+
protected:
friend class ContentClientInitializer;
« content/app/content_main_runner.cc ('K') | « content/browser/browser_main_runner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698