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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
56 const char kAllowRAInDevMode[] = "allow-ra-in-dev-mode"; | 56 const char kAllowRAInDevMode[] = "allow-ra-in-dev-mode"; |
57 | 57 |
58 // Specifies whether an app launched in kiosk mode was auto launched with zero | 58 // Specifies whether an app launched in kiosk mode was auto launched with zero |
59 // delay. Used in order to properly restore auto-launched state during session | 59 // delay. Used in order to properly restore auto-launched state during session |
60 // restore flow. | 60 // restore flow. |
61 const char kAppAutoLaunched[] = "app-auto-launched"; | 61 const char kAppAutoLaunched[] = "app-auto-launched"; |
62 | 62 |
63 // Path for app's OEM manifest file. | 63 // Path for app's OEM manifest file. |
64 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; | 64 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; |
65 | 65 |
66 // Always starts ARC after login screen without Play Store in almost all cases. | |
67 // But there may be some exception that ARC will not run. | |
Luis Héctor Chávez
2017/03/01 22:25:39
Is there a way to make this a bit more exhaustive?
victorhsieh
2017/03/02 00:28:12
Done.
| |
68 const char kArcAlwaysStart[] = "arc-always-start"; | |
69 | |
66 // Signals ARC support status on this device. This can take one of the | 70 // Signals ARC support status on this device. This can take one of the |
67 // following three values. | 71 // following three values. |
68 // - none: ARC is not installed on this device. (default) | 72 // - none: ARC is not installed on this device. (default) |
69 // - installed: ARC is installed on this device, but not officially supported. | 73 // - installed: ARC is installed on this device, but not officially supported. |
70 // Users can enable ARC only when Finch experiment is turned on. | 74 // Users can enable ARC only when Finch experiment is turned on. |
71 // - installed-only-kiosk-supported: ARC is installed, but officially supported | 75 // - installed-only-kiosk-supported: ARC is installed, but officially supported |
72 // only in kiosk mode. | 76 // only in kiosk mode. |
73 // - officially-supported: ARC is installed and supported on this device. So | 77 // - officially-supported: ARC is installed and supported on this device. So |
74 // users can enable ARC via settings etc. | 78 // users can enable ARC via settings etc. |
75 // - officially-supported-with-active-directory: ARC is supported and also | 79 // - officially-supported-with-active-directory: ARC is supported and also |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
503 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 507 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
504 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 508 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
505 return false; | 509 return false; |
506 | 510 |
507 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 511 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
508 kTestCrosGaiaIdMigrationStarted; | 512 kTestCrosGaiaIdMigrationStarted; |
509 } | 513 } |
510 | 514 |
511 } // namespace switches | 515 } // namespace switches |
512 } // namespace chromeos | 516 } // namespace chromeos |
OLD | NEW |