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

Unified Diff: chrome/browser/chrome_browser_main.h

Issue 2456783002: Decouple PowerUsageMonitor{Impl} from //content/browser (Closed)
Patch Set: change define position of power_usage_moniter_ in ChromeBrowserMain Created 4 years, 2 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/DEPS ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.h
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h
index ac0b4fed3961ed0631902070285e6969d3a34452..625faa55f3a34669e78bce91ddd912a43b678fa6 100644
--- a/chrome/browser/chrome_browser_main.h
+++ b/chrome/browser/chrome_browser_main.h
@@ -16,6 +16,7 @@
#include "chrome/browser/chrome_browser_field_trials.h"
#include "chrome/browser/chrome_process_singleton.h"
#include "chrome/browser/first_run/first_run.h"
+#include "chrome/browser/power_usage_monitor/power_usage_monitor.h"
#include "chrome/browser/process_singleton.h"
#include "chrome/browser/ui/startup/startup_browser_creator.h"
#include "chrome/common/stack_sampling_configuration.h"
@@ -174,6 +175,10 @@ class ChromeBrowserMainParts : public content::BrowserMainParts {
// ProcessSingleton.
std::unique_ptr<ChromeProcessSingleton> process_singleton_;
+#if !defined(OS_LINUX) || defined(OS_CHROMEOS) // http://crbug.com/426393
+ std::unique_ptr<PowerUsageMonitor> power_usage_monitor_;
+#endif // !defined(OS_LINUX) || defined(OS_CHROMEOS)
+
// Android's first run is done in Java instead of native.
std::unique_ptr<first_run::MasterPrefs> master_prefs_;
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698