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

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: Fixed dependencies. 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 26258d6533d490f3c2c7b732ce3b2a83eb7eaf6b..d37f9b820e1983b4cf3ea859070b66b0fa786dde 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1616,10 +1616,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/event_type.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698