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

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: Correct format error. 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') | content/public/app/content_main_delegate.cc » ('j') | 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..6bd725d0f5ce7481203e959707c7d0555af0951b 100644
--- a/content/public/app/content_main_delegate.h
+++ b/content/public/app/content_main_delegate.h
@@ -76,6 +76,11 @@ class CONTENT_EXPORT ContentMainDelegate {
virtual void ZygoteForked() {}
#endif // OS_MACOSX
+ // TODO(vadimt, yiyaoliu): Remove this function once crbug.com/453640 is
+ // fixed.
+ // Returns whether or not profiler recording should be enabled.
+ virtual bool ShouldEnableProfilerRecording();
+
protected:
friend class ContentClientInitializer;
« no previous file with comments | « content/browser/browser_main_runner.cc ('k') | content/public/app/content_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698