OLD | NEW |
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const char kAllowRAInDevMode[] = "allow-ra-in-dev-mode"; | 50 const char kAllowRAInDevMode[] = "allow-ra-in-dev-mode"; |
51 | 51 |
52 // Specifies whether an app launched in kiosk mode was auto launched with zero | 52 // Specifies whether an app launched in kiosk mode was auto launched with zero |
53 // delay. Used in order to properly restore auto-launched state during session | 53 // delay. Used in order to properly restore auto-launched state during session |
54 // restore flow. | 54 // restore flow. |
55 const char kAppAutoLaunched[] = "app-auto-launched"; | 55 const char kAppAutoLaunched[] = "app-auto-launched"; |
56 | 56 |
57 // Path for app's OEM manifest file. | 57 // Path for app's OEM manifest file. |
58 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; | 58 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; |
59 | 59 |
| 60 // Always starts ARC after login screen without Play Store in almost all cases. |
| 61 // Secondary profile is an exception where ARC will not start. |
| 62 const char kArcAlwaysStart[] = "arc-always-start"; |
| 63 |
60 // Signals ARC support status on this device. This can take one of the | 64 // Signals ARC support status on this device. This can take one of the |
61 // following three values. | 65 // following three values. |
62 // - none: ARC is not installed on this device. (default) | 66 // - none: ARC is not installed on this device. (default) |
63 // - installed: ARC is installed on this device, but not officially supported. | 67 // - installed: ARC is installed on this device, but not officially supported. |
64 // Users can enable ARC only when Finch experiment is turned on. | 68 // Users can enable ARC only when Finch experiment is turned on. |
65 // - officially-supported: ARC is installed and supported on this device. So | 69 // - officially-supported: ARC is installed and supported on this device. So |
66 // users can enable ARC via settings etc. | 70 // users can enable ARC via settings etc. |
67 // - officially-supported-with-active-directory: ARC is supported and also | 71 // - officially-supported-with-active-directory: ARC is supported and also |
68 // allowed to use with Active Directory management. | 72 // allowed to use with Active Directory management. |
69 const char kArcAvailability[] = "arc-availability"; | 73 const char kArcAvailability[] = "arc-availability"; |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 512 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
509 kTestCrosGaiaIdMigrationStarted; | 513 kTestCrosGaiaIdMigrationStarted; |
510 } | 514 } |
511 | 515 |
512 bool IsCellularFirstDevice() { | 516 bool IsCellularFirstDevice() { |
513 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); | 517 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); |
514 } | 518 } |
515 | 519 |
516 } // namespace switches | 520 } // namespace switches |
517 } // namespace chromeos | 521 } // namespace chromeos |
OLD | NEW |