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

Issue 622693004: Make base::PowerMonitor work on Chrome OS. (Closed)

Created:
6 years, 2 months ago by Daniel Erat
Modified:
6 years, 2 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, hashimoto+watch_chromium.org, oshima+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make base::PowerMonitor work on Chrome OS. On Chrome OS, updates about the system power status are received via D-Bus messages on the UI thread. Being in base/, PowerMonitor can't depend on the code in chromeos/ that receives those messages, so make the Chrome OS code instead notify PowerMonitor when it receives updates. BUG=326534 Committed: https://crrev.com/07366580ce28f55f6dd242c9d79e7a1f1b3bef44 Cr-Commit-Position: refs/heads/master@{#298367}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -2 lines) Patch
M base/BUILD.gn View 2 chunks +7 lines, -0 lines 0 comments Download
M base/base.gypi View 2 chunks +6 lines, -0 lines 2 comments Download
M base/power_monitor/power_monitor_device_source.h View 1 chunk +10 lines, -0 lines 0 comments Download
A base/power_monitor/power_monitor_device_source_chromeos.cc View 1 chunk +40 lines, -0 lines 0 comments Download
M chromeos/dbus/power_manager_client.cc View 6 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
Daniel Erat
Brett, curious about your thoughts on this approach. I've tried to summarize things at http://crbug.com/326534.
6 years, 2 months ago (2014-10-02 01:16:31 UTC) #2
Daniel Erat
redirected to will
6 years, 2 months ago (2014-10-02 20:59:42 UTC) #4
willchan no longer on Chromium
We have new base/OWNERS! Sending this review to the new victims.
6 years, 2 months ago (2014-10-02 22:16:07 UTC) #6
Lei Zhang
lgtm but I have a question: https://codereview.chromium.org/622693004/diff/1/base/base.gypi File base/base.gypi (right): https://codereview.chromium.org/622693004/diff/1/base/base.gypi#newcode842 base/base.gypi:842: ['<(chromeos) == 1', ...
6 years, 2 months ago (2014-10-06 19:09:28 UTC) #7
Daniel Erat
https://codereview.chromium.org/622693004/diff/1/base/base.gypi File base/base.gypi (right): https://codereview.chromium.org/622693004/diff/1/base/base.gypi#newcode842 base/base.gypi:842: ['<(chromeos) == 1', { On 2014/10/06 19:09:28, Lei Zhang ...
6 years, 2 months ago (2014-10-06 21:44:13 UTC) #8
Lei Zhang
On 2014/10/06 21:44:13, Daniel Erat wrote: > https://codereview.chromium.org/622693004/diff/1/base/base.gypi > File base/base.gypi (right): > > https://codereview.chromium.org/622693004/diff/1/base/base.gypi#newcode842 ...
6 years, 2 months ago (2014-10-06 21:50:01 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/622693004/1
6 years, 2 months ago (2014-10-06 22:04:36 UTC) #11
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 2 months ago (2014-10-07 01:07:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/622693004/1
6 years, 2 months ago (2014-10-07 03:29:23 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1) as b154304a2731b7d167b700aeb91f206b4b419bc5
6 years, 2 months ago (2014-10-07 04:18:53 UTC) #16
commit-bot: I haz the power
6 years, 2 months ago (2014-10-07 04:19:58 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/07366580ce28f55f6dd242c9d79e7a1f1b3bef44
Cr-Commit-Position: refs/heads/master@{#298367}

Powered by Google App Engine
This is Rietveld 408576698