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

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

Issue 731663002: Remove Yoshi charger recall pop up warning UI code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deprecat the related UMA metrics in histograms.xml. Created 6 years, 1 month 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
« no previous file with comments | « ash/system/chromeos/power/power_status.h ('k') | ash/system/chromeos/power/tray_power.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/chromeos/power/power_status.cc
diff --git a/ash/system/chromeos/power/power_status.cc b/ash/system/chromeos/power/power_status.cc
index 591c31887b3eb0b45434ee3833907dbd038c625f..e43f88a0861c13cc16f2ca3eb4857533c206728a 100644
--- a/ash/system/chromeos/power/power_status.cc
+++ b/ash/system/chromeos/power/power_status.cc
@@ -193,11 +193,6 @@ bool PowerStatus::IsUsbChargerConnected() const {
power_manager::PowerSupplyProperties_ExternalPower_USB;
}
-bool PowerStatus::IsOriginalSpringChargerConnected() const {
- return proto_.external_power() == power_manager::
- PowerSupplyProperties_ExternalPower_ORIGINAL_SPRING_CHARGER;
-}
-
gfx::ImageSkia PowerStatus::GetBatteryImage(IconSet icon_set) const {
gfx::Image all;
if (IsUsbChargerConnected()) {
« no previous file with comments | « ash/system/chromeos/power/power_status.h ('k') | ash/system/chromeos/power/tray_power.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698