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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 // Allows remote attestation (RA) in dev mode for testing purpose. Usually RA | 52 // Allows remote attestation (RA) in dev mode for testing purpose. Usually RA |
53 // is disabled in dev mode because it will always fail. However, there are cases | 53 // is disabled in dev mode because it will always fail. However, there are cases |
54 // in testing where we do want to go through the permission flow even in dev | 54 // in testing where we do want to go through the permission flow even in dev |
55 // mode. This can be enabled by this flag. | 55 // mode. This can be enabled by this flag. |
56 const char kAllowRAInDevMode[] = "allow-ra-in-dev-mode"; | 56 const char kAllowRAInDevMode[] = "allow-ra-in-dev-mode"; |
57 | 57 |
58 // Path for app's OEM manifest file. | 58 // Path for app's OEM manifest file. |
59 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; | 59 const char kAppOemManifestFile[] = "app-mode-oem-manifest"; |
60 | 60 |
| 61 // Signals the availability of the ARC instance on this device. |
| 62 const char kArcAvailable[] = "arc-available"; |
| 63 |
61 // Screenshot testing: specifies the directoru where artifacts will be stored. | 64 // Screenshot testing: specifies the directoru where artifacts will be stored. |
62 const char kArtifactsDir[] = "artifacts-dir"; | 65 const char kArtifactsDir[] = "artifacts-dir"; |
63 | 66 |
64 // When wallpaper boot animation is not disabled this switch | 67 // When wallpaper boot animation is not disabled this switch |
65 // is used to override OOBE/sign in WebUI init type. | 68 // is used to override OOBE/sign in WebUI init type. |
66 // Possible values: parallel|postpone. Default: parallel. | 69 // Possible values: parallel|postpone. Default: parallel. |
67 const char kAshWebUIInit[] = "ash-webui-init"; | 70 const char kAshWebUIInit[] = "ash-webui-init"; |
68 | 71 |
69 // Default large wallpaper to use for kids accounts (as path to trusted, | 72 // Default large wallpaper to use for kids accounts (as path to trusted, |
70 // non-user-writable JPEG file). | 73 // non-user-writable JPEG file). |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 468 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
466 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 469 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
467 return false; | 470 return false; |
468 | 471 |
469 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 472 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
470 kTestCrosGaiaIdMigrationStarted; | 473 kTestCrosGaiaIdMigrationStarted; |
471 } | 474 } |
472 | 475 |
473 } // namespace switches | 476 } // namespace switches |
474 } // namespace chromeos | 477 } // namespace chromeos |
OLD | NEW |