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

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

Issue 2718333002: Move ash_util functions from 'chrome' namespace to 'ash_util' namespace (Closed)
Patch Set: Rebase after https://codereview.chromium.org/2721883002 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 eb017911c4bf3d0eeec1e29116ceba8b2d4218c3..47f981fdcb2eb39598820801019ae649cda79342 100644
--- a/chrome/browser/ui/webui/options/chromeos/power_handler.cc
+++ b/chrome/browser/ui/webui/options/chromeos/power_handler.cc
@@ -28,7 +28,7 @@ namespace options {
PowerHandler::PowerHandler() {
// TODO(mash): Support Chrome power settings in Mash. crbug.com/644348
- this->show_power_status_ = !chrome::IsRunningInMash() &&
+ this->show_power_status_ = !ash_util::IsRunningInMash() &&
(switches::PowerOverlayEnabled() ||
(PowerStatus::Get()->IsBatteryPresent() &&
PowerStatus::Get()->SupportsDualRoleDevices()));

Powered by Google App Engine
This is Rietveld 408576698