Descriptionchromeos: Add PowerManagerClient::GetSwitchStates().
Add a method to PowerManagerClient for asynchronously
requesting the current lid and tablet mode states from
powerd.
Also make a few PowerManagerClient::Observer methods receive
enums rather than bools and clean up FakePowerManagerClient
a bit.
BUG=703362
Review-Url: https://codereview.chromium.org/2768543002
Cr-Commit-Position: refs/heads/master@{#458566}
Committed: https://chromium.googlesource.com/chromium/src/+/08e333dbc8949a69fc48129055683477017bf5d8
Patch Set 1 #
Total comments: 4
Patch Set 2 : document that callbacks aren't run on error #Messages
Total messages: 17 (9 generated)
|