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

Unified Diff: chrome/browser/ui/webui/settings/md_settings_ui.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/settings/md_settings_ui.cc
diff --git a/chrome/browser/ui/webui/settings/md_settings_ui.cc b/chrome/browser/ui/webui/settings/md_settings_ui.cc
index 34cc36c5ab7ddeef01aa4e1ffa53de9ca40d9a1d..1ee6c03bae93844cf3d34fde16b344206eb41192 100644
--- a/chrome/browser/ui/webui/settings/md_settings_ui.cc
+++ b/chrome/browser/ui/webui/settings/md_settings_ui.cc
@@ -172,7 +172,7 @@ MdSettingsUI::MdSettingsUI(content::WebUI* web_ui, const GURL& url)
// TODO(mash): Support Chrome power settings in Mash. crbug.com/644348
bool enable_power_settings =
- !chrome::IsRunningInMash() &&
+ !ash_util::IsRunningInMash() &&
(switches::PowerOverlayEnabled() ||
(ash::PowerStatus::Get()->IsBatteryPresent() &&
ash::PowerStatus::Get()->SupportsDualRoleDevices()));
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/power_handler.cc ('k') | chrome/browser/ui/window_sizer/window_sizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698