| 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
|
|
|