commit | 07366580ce28f55f6dd242c9d79e7a1f1b3bef44 | [log] [tgz] |
---|---|---|
author | derat <derat@chromium.org> | Tue Oct 07 04:18:44 2014 |
committer | Commit bot <commit-bot@chromium.org> | Tue Oct 07 04:19:22 2014 |
tree | 478e99d7cd75628ff4904b76114305d17c43db4b | |
parent | ba722a2a8ddf967dcadb483ea32d5ad31fc4bdf6 [diff] |
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 Review URL: https://codereview.chromium.org/622693004 Cr-Commit-Position: refs/heads/master@{#298367}