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

Issue 23484021: Implement SendSuspendImminent() and SendSuspendStateChanged() of FakePowerManagerClient. (Closed)

Created:
7 years, 3 months ago by hidehiko
Modified:
7 years, 3 months ago
Reviewers:
satorux1
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

Implement SendSuspendImminent() and SendSuspendStateChanged() of FakePowerManagerClient. Observer's callback SuspendImminent() and SystemResumed() are used by MountedDiskMonitor. Focusing on the usage, this CL adds two methods SendSuspendImminent() and SendSuspendStateChanged() emulating DBus's signals for testing purpose. These methods will be used in tests of a following CL. BUG=279276 TEST=Ran unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222525

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -4 lines) Patch
M chromeos/dbus/fake_power_manager_client.h View 2 chunks +15 lines, -1 line 0 comments Download
M chromeos/dbus/fake_power_manager_client.cc View 2 chunks +24 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
hidehiko
Thank you for your review in advance, - hidehiko
7 years, 3 months ago (2013-09-09 18:10:52 UTC) #1
hidehiko
On 2013/09/09 18:10:52, hidehiko wrote: > Thank you for your review in advance, > - ...
7 years, 3 months ago (2013-09-11 01:03:22 UTC) #2
satorux1
LGTM. sorry for the delay.
7 years, 3 months ago (2013-09-11 01:10:39 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hidehiko@chromium.org/23484021/1
7 years, 3 months ago (2013-09-11 10:07:20 UTC) #4
commit-bot: I haz the power
7 years, 3 months ago (2013-09-11 13:27:02 UTC) #5
Message was sent while issue was closed.
Change committed as 222525

Powered by Google App Engine
This is Rietveld 408576698