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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 23825004: PerformanceMonitor: UMA alert for high browser CPU usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes: Round two Created 7 years, 3 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: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index fbbff83d72d2001e69c48ecff27f601ecf7a82f6..6dbc1a67481994d810a1f11c713b5f8ffb5b50ac 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1621,10 +1621,7 @@ bool ChromeBrowserMainParts::MainMessageLoopRun(int* result_code) {
base::RunLoop run_loop;
#endif
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kPerformanceMonitorGathering)) {
- performance_monitor::PerformanceMonitor::GetInstance()->Start();
- }
+ performance_monitor::PerformanceMonitor::GetInstance()->Start();
Devlin 2013/09/13 18:14:09 (One of) the reason(s) we never turned this on by
oystein (OOO til 10th of July) 2013/09/13 20:41:55 That's why all of the DB stuff is disabled by defa
run_loop.Run();

Powered by Google App Engine
This is Rietveld 408576698