diff options
author | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-06 21:53:29 +0000 |
---|---|---|
committer | derat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-06 21:53:29 +0000 |
commit | 546161f3e901724a01cbb90c8fb58706649d97f4 (patch) | |
tree | 68f4cb3bf48ec40c23e19a6b824ac77b697fc99f /chromeos/dbus/fake_power_manager_client.h | |
parent | f681b07a8029e8d7c26aa42d53fd1e7e8e16414c (diff) | |
download | chromium_src-546161f3e901724a01cbb90c8fb58706649d97f4.zip chromium_src-546161f3e901724a01cbb90c8fb58706649d97f4.tar.gz chromium_src-546161f3e901724a01cbb90c8fb58706649d97f4.tar.bz2 |
chromeos: Clean up power status polling code.
This makes Chrome decode PowerSupplyProperties protocol
buffers from PowerSupplyPoll D-Bus signals sent by powerd.
It also removes an unnecessary UpdateRequestType enum from
PowerManagerClient.
BUG=245108,234671
Review URL: https://chromiumcodereview.appspot.com/16493002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/fake_power_manager_client.h')
-rw-r--r-- | chromeos/dbus/fake_power_manager_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/dbus/fake_power_manager_client.h b/chromeos/dbus/fake_power_manager_client.h index c08a4c7..89d2b6e 100644 --- a/chromeos/dbus/fake_power_manager_client.h +++ b/chromeos/dbus/fake_power_manager_client.h @@ -32,7 +32,7 @@ class FakePowerManagerClient : public PowerManagerClient { const GetScreenBrightnessPercentCallback& callback) OVERRIDE; virtual void DecreaseKeyboardBrightness() OVERRIDE; virtual void IncreaseKeyboardBrightness() OVERRIDE; - virtual void RequestStatusUpdate(UpdateRequestType update_type) OVERRIDE; + virtual void RequestStatusUpdate() OVERRIDE; virtual void RequestRestart() OVERRIDE; virtual void RequestShutdown() OVERRIDE; virtual void RequestIdleNotification(int64 threshold_secs) OVERRIDE; |