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

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: Rebase 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
« no previous file with comments | « no previous file | chrome/browser/performance_monitor/constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 9589a5120bad51e7f9c2fe9b7d042e6941198106..a2dfd7a238394c65c568d2a553bdcb81bff45b6e 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1575,10 +1575,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698