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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 14820030: Move Chrome OS switches to chromeos/chromeos_switches.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nits Created 7 years, 7 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/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 3d04e6e1ce6f5d6c45c5ed11166009ab72493a0b..b4078e816e9cc4c8c750e5d5ca998d121214e35e 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -463,7 +463,8 @@ void BrowserOptionsHandler::GetLocalizedValues(DictionaryValue* values) {
// Sets flag of whether kiosk section should be enabled.
values->SetBoolean(
"enableKioskSection",
- !CommandLine::ForCurrentProcess()->HasSwitch(switches::kDisableAppMode) &&
+ !CommandLine::ForCurrentProcess()->HasSwitch(
+ chromeos::switches::kDisableAppMode) &&
(chromeos::UserManager::Get()->IsCurrentUserOwner() ||
!base::chromeos::IsRunningOnChromeOS()));
#endif

Powered by Google App Engine
This is Rietveld 408576698