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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2716593006: Remove PowerUsageMonitor. (Closed)
Patch Set: Adjust comment Created 3 years, 10 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 | « chrome/browser/chrome_browser_main.h ('k') | chrome/browser/power_usage_monitor/power_usage_monitor.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 dd7aa64552f037cbd86a55a92219d26abf112daf..b116cc5b2dd6f1d200d3ffc894be0c77d332cdd4 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1930,14 +1930,6 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
}
run_message_loop_ = started;
browser_creator_.reset();
-
-#if !defined(OS_LINUX) || defined(OS_CHROMEOS)
- // Collects power-related UMA stats for Windows, Mac, and ChromeOS.
- // Linux is not supported (crbug.com/426393).
- power_usage_monitor_.reset(new PowerUsageMonitor());
- power_usage_monitor_->Start();
-#endif // !defined(OS_LINUX) || defined(OS_CHROMEOS)
-
#endif // !defined(OS_ANDROID)
PostBrowserStart();
« no previous file with comments | « chrome/browser/chrome_browser_main.h ('k') | chrome/browser/power_usage_monitor/power_usage_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698