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

Unified Diff: chrome/browser/ui/webui/options/chromeos/power_handler.cc

Issue 2721153004: Remove ash_util namespace (Closed)
Patch Set: Created 3 years, 10 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: chrome/browser/ui/webui/options/chromeos/power_handler.cc
diff --git a/chrome/browser/ui/webui/options/chromeos/power_handler.cc b/chrome/browser/ui/webui/options/chromeos/power_handler.cc
index 47f981fdcb2eb39598820801019ae649cda79342..3d7286200096fdca98cd4ae3736b80945ef37121 100644
--- a/chrome/browser/ui/webui/options/chromeos/power_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/power_handler.cc
@@ -28,10 +28,10 @@ namespace options {
PowerHandler::PowerHandler() {
// TODO(mash): Support Chrome power settings in Mash. crbug.com/644348
- this->show_power_status_ = !ash_util::IsRunningInMash() &&
- (switches::PowerOverlayEnabled() ||
- (PowerStatus::Get()->IsBatteryPresent() &&
- PowerStatus::Get()->SupportsDualRoleDevices()));
+ this->show_power_status_ =
+ !IsRunningInMash() && (switches::PowerOverlayEnabled() ||
+ (PowerStatus::Get()->IsBatteryPresent() &&
+ PowerStatus::Get()->SupportsDualRoleDevices()));
}
PowerHandler::~PowerHandler() {

Powered by Google App Engine
This is Rietveld 408576698