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

Unified Diff: chromeos/dbus/power_policy_controller.h

Issue 49773003: ChromeOS: Remove MockDBusThreadManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: chromeos/dbus/power_policy_controller.h
diff --git a/chromeos/dbus/power_policy_controller.h b/chromeos/dbus/power_policy_controller.h
index 9e133aa20d4d619827ef26e11654b41caeb8a652..0f44b0d177dd4acb1cb8e83d1ce19240098b0dcc 100644
--- a/chromeos/dbus/power_policy_controller.h
+++ b/chromeos/dbus/power_policy_controller.h
@@ -69,9 +69,11 @@ class CHROMEOS_EXPORT PowerPolicyController
// this constant would imply.
static const int kScreenLockAfterOffDelayMs;
- PowerPolicyController(DBusThreadManager* manager, PowerManagerClient* client);
+ PowerPolicyController();
virtual ~PowerPolicyController();
+ void Init(DBusThreadManager* manager);
+
// Updates |prefs_policy_| with |values| and sends an updated policy.
void ApplyPrefs(const PrefValues& values);

Powered by Google App Engine
This is Rietveld 408576698