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

Unified Diff: ash/common/system/chromeos/power/power_status.cc

Issue 2795823002: Remove pre-MD code from PowerStatusView. (Closed)
Patch Set: . Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/common/system/chromeos/power/power_status.cc
diff --git a/ash/common/system/chromeos/power/power_status.cc b/ash/common/system/chromeos/power/power_status.cc
index 7e019fee24f86fbce235042b70e71ada8f8474a5..f8a1fe70f38578097b4e790ccd2b298c93f06077 100644
--- a/ash/common/system/chromeos/power/power_status.cc
+++ b/ash/common/system/chromeos/power/power_status.cc
@@ -290,8 +290,7 @@ std::string PowerStatus::GetCurrentPowerSourceID() const {
return proto_.external_power_source_id();
}
-PowerStatus::BatteryImageInfo PowerStatus::GetBatteryImageInfo(
- IconSet icon_set) const {
+PowerStatus::BatteryImageInfo PowerStatus::GetBatteryImageInfo() const {
BatteryImageInfo info;
CalculateBatteryImageInfo(&info);
return info;

Powered by Google App Engine
This is Rietveld 408576698