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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2730003002: [M57] Enable ARC kiosk mode always when ARC is available (Closed)
Patch Set: rebase Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | components/arc/arc_bridge_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromeos/chromeos_switches.h" 5 #include "chromeos/chromeos_switches.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 207
208 // Enables AD functionality. 208 // Enables AD functionality.
209 const char kEnableAd[] = "enable-ad"; 209 const char kEnableAd[] = "enable-ad";
210 210
211 // Enables the Android Wallpapers App as the default app on Chrome OS. 211 // Enables the Android Wallpapers App as the default app on Chrome OS.
212 const char kEnableAndroidWallpapersApp[] = "enable-android-wallpapers-app"; 212 const char kEnableAndroidWallpapersApp[] = "enable-android-wallpapers-app";
213 213
214 // Enables starting the ARC instance upon session start. 214 // Enables starting the ARC instance upon session start.
215 const char kEnableArc[] = "enable-arc"; 215 const char kEnableArc[] = "enable-arc";
216 216
217 // Enables ARC kiosk mode even if ARC is not enabled.
218 const char kEnableArcKiosk[] = "enable-arc-kiosk";
219
220 // Enables ARC OptIn flow in OOBE. 217 // Enables ARC OptIn flow in OOBE.
221 const char kEnableArcOOBEOptIn[] = "enable-arc-oobe-optin"; 218 const char kEnableArcOOBEOptIn[] = "enable-arc-oobe-optin";
222 219
223 // Enables consume kiosk mode. 220 // Enables consume kiosk mode.
224 const char kEnableConsumerKiosk[] = "enable-consumer-kiosk"; 221 const char kEnableConsumerKiosk[] = "enable-consumer-kiosk";
225 222
226 // Enables Data Saver prompt on cellular networks. 223 // Enables Data Saver prompt on cellular networks.
227 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; 224 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt";
228 225
229 // Shows additional checkboxes in Settings to enable Chrome OS accessibility 226 // Shows additional checkboxes in Settings to enable Chrome OS accessibility
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 476 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
480 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 477 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
481 return false; 478 return false;
482 479
483 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 480 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
484 kTestCrosGaiaIdMigrationStarted; 481 kTestCrosGaiaIdMigrationStarted;
485 } 482 }
486 483
487 } // namespace switches 484 } // namespace switches
488 } // namespace chromeos 485 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | components/arc/arc_bridge_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698