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

Unified Diff: powerd.h

Issue 6854002: Merge monitor_reconfigure into powerd. (Closed) Base URL: ssh://gitrw.chromium.org:9222/power_manager.git@master
Patch Set: . Created 9 years, 8 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 | « monitor_reconfigure.cc ('k') | powerd.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: powerd.h
diff --git a/powerd.h b/powerd.h
index ddac73e0b027012d32e4645a802d3895e6e05491..496c28f69d0ee413bcfd8cd06817adcf148b861f 100644
--- a/powerd.h
+++ b/powerd.h
@@ -29,6 +29,7 @@
namespace power_manager {
+class MonitorReconfigure;
class PowerButtonHandler;
class Daemon : public XIdleMonitor {
@@ -36,6 +37,7 @@ class Daemon : public XIdleMonitor {
Daemon(BacklightController* ctl, PowerPrefs* prefs,
MetricsLibraryInterface* metrics_lib,
VideoDetectorInterface* video_detector,
+ MonitorReconfigure* monitor_reconfigure,
const FilePath& run_dir);
~Daemon();
@@ -222,6 +224,7 @@ class Daemon : public XIdleMonitor {
MetricsLibraryInterface* metrics_lib_;
VideoDetectorInterface* video_detector_;
XIdle idle_;
+ MonitorReconfigure* monitor_reconfigure_;
double low_battery_suspend_percent_;
bool clean_shutdown_initiated_;
bool low_battery_;
« no previous file with comments | « monitor_reconfigure.cc ('k') | powerd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698