|
chromeos: PowerManagerHandler -> PowerStatus; move to ash.
With this change, ash::internal::PowerStatus is mostly the
same as the old chromeos::PowerManagerHandler: it's a
singleton that asks chromeos::PowerManagerClient to request
the power status at startup and then provides
PowerSupplyStatus structs to various classes in ash/system.
Going forward, I plan to remove the PowerSupplyStatus struct
(so that the PowerStatus class hangs on to the original
PowerSupplyProperties protocol buffers sent by the power
manager) and add methods to PowerStatus for accessing the
interesting parts of the protobufs (instead of having
multiple copies of the status sanitized and stored across
the different classes in ash/system).
BUG= 254173
[email protected]
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=209103
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+178 lines, -382 lines) |
Patch |
 |
M |
ash/ash.gyp
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/shell.cc
|
View
|
|
4 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/shell/content_client/shell_browser_main_parts.cc
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
ash/system/chromeos/power/power_status.h
|
View
|
1
2
|
3 chunks |
+20 lines, -26 lines |
0 comments
|
Download
|
 |
A |
ash/system/chromeos/power/power_status.cc
|
View
|
|
1 chunk |
+85 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
ash/system/chromeos/power/power_status_unittest.cc
|
View
|
1
2
|
4 chunks |
+31 lines, -27 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/tray_power.h
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/tray_power.cc
|
View
|
|
5 chunks |
+5 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/power/tray_power_unittest.cc
|
View
|
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/settings/tray_settings.h
|
View
|
|
3 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ash/system/chromeos/settings/tray_settings.cc
|
View
|
|
5 chunks |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ash/test/ash_test_helper.cc
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/chrome_browser_main_chromeos.cc
|
View
|
|
4 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/test/base/view_event_test_base.cc
|
View
|
|
3 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chromeos/chromeos.gyp
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
D |
chromeos/power/power_manager_handler.h
|
View
|
|
1 chunk |
+0 lines, -80 lines |
0 comments
|
Download
|
 |
D |
chromeos/power/power_manager_handler.cc
|
View
|
|
1 chunk |
+0 lines, -98 lines |
0 comments
|
Download
|
 |
D |
chromeos/power/power_manager_handler_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -102 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|