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

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: Docs 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 422799626b8e9b6af88ae2c74377b85d82916738..88520f8fe6b95c99e59008ef38bb222b4204a78f 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();
run_loop.Run();
« no previous file with comments | « no previous file | chrome/browser/performance_monitor/constants.h » ('j') | chrome/browser/performance_monitor/constants.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698