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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2707133006: Start ARC and sign in after Chrome OS login (Closed)
Patch Set: 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 unified diff | Download patch
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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // Enables the Android Wallpapers App as the default app on Chrome OS. 230 // Enables the Android Wallpapers App as the default app on Chrome OS.
231 const char kEnableAndroidWallpapersApp[] = "enable-android-wallpapers-app"; 231 const char kEnableAndroidWallpapersApp[] = "enable-android-wallpapers-app";
232 232
233 // DEPRECATED. Please use --arc-availability=officially-supported. 233 // DEPRECATED. Please use --arc-availability=officially-supported.
234 // Enables starting the ARC instance upon session start. 234 // Enables starting the ARC instance upon session start.
235 const char kEnableArc[] = "enable-arc"; 235 const char kEnableArc[] = "enable-arc";
236 236
237 // Enables ARC OptIn flow in OOBE. 237 // Enables ARC OptIn flow in OOBE.
238 const char kEnableArcOOBEOptIn[] = "enable-arc-oobe-optin"; 238 const char kEnableArcOOBEOptIn[] = "enable-arc-oobe-optin";
239 239
240 // Enables ARC for all users excluding Play.
hidehiko 2017/02/23 10:29:17 This sounds confusing, because this is still only
victorhsieh 2017/02/24 00:45:00 Re-write the comments. Hope it's less confusing.
241 const char kEnableArcPersistently[] = "enable-arc-persistently";
242
240 // Enables consume kiosk mode. 243 // Enables consume kiosk mode.
241 const char kEnableConsumerKiosk[] = "enable-consumer-kiosk"; 244 const char kEnableConsumerKiosk[] = "enable-consumer-kiosk";
242 245
243 // Enables Data Saver prompt on cellular networks. 246 // Enables Data Saver prompt on cellular networks.
244 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; 247 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt";
245 248
246 // Shows additional checkboxes in Settings to enable Chrome OS accessibility 249 // Shows additional checkboxes in Settings to enable Chrome OS accessibility
247 // features that haven't launched yet. 250 // features that haven't launched yet.
248 const char kEnableExperimentalAccessibilityFeatures[] = 251 const char kEnableExperimentalAccessibilityFeatures[] =
249 "enable-experimental-accessibility-features"; 252 "enable-experimental-accessibility-features";
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 503 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
501 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 504 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
502 return false; 505 return false;
503 506
504 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 507 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
505 kTestCrosGaiaIdMigrationStarted; 508 kTestCrosGaiaIdMigrationStarted;
506 } 509 }
507 510
508 } // namespace switches 511 } // namespace switches
509 } // namespace chromeos 512 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698