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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // Default small wallpaper to use (as path to trusted, non-user-writable JPEG | 113 // Default small wallpaper to use (as path to trusted, non-user-writable JPEG |
114 // file). | 114 // file). |
115 const char kDefaultWallpaperSmall[] = "default-wallpaper-small"; | 115 const char kDefaultWallpaperSmall[] = "default-wallpaper-small"; |
116 | 116 |
117 // Time in seconds before a machine at OOBE is considered derelict. | 117 // Time in seconds before a machine at OOBE is considered derelict. |
118 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout"; | 118 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout"; |
119 | 119 |
120 // Time in seconds before a derelict machines starts demo mode. | 120 // Time in seconds before a derelict machines starts demo mode. |
121 const char kDerelictIdleTimeout[] = "derelict-idle-timeout"; | 121 const char kDerelictIdleTimeout[] = "derelict-idle-timeout"; |
122 | 122 |
| 123 // Disable ACTION_BOOT_COMPLETD broadcast for 3rd party applications on ARC. |
| 124 const char kDisableArcBootCompletedBroadcast[] = |
| 125 "disable-arc-boot-completed-broadcast"; |
| 126 |
123 // Disables android user data wipe on opt out. | 127 // Disables android user data wipe on opt out. |
124 const char kDisableArcDataWipe[] = "disable-arc-data-wipe"; | 128 const char kDisableArcDataWipe[] = "disable-arc-data-wipe"; |
125 | 129 |
126 // Disables ARC Opt-in verification process and ARC is enabled by default. | 130 // Disables ARC Opt-in verification process and ARC is enabled by default. |
127 const char kDisableArcOptInVerification[] = "disable-arc-opt-in-verification"; | 131 const char kDisableArcOptInVerification[] = "disable-arc-opt-in-verification"; |
128 | 132 |
129 // Disables wallpaper boot animation (except of OOBE case). | 133 // Disables wallpaper boot animation (except of OOBE case). |
130 const char kDisableBootAnimation[] = "disable-boot-animation"; | 134 const char kDisableBootAnimation[] = "disable-boot-animation"; |
131 | 135 |
132 // Disables bypass proxy for captive portal authorization. | 136 // Disables bypass proxy for captive portal authorization. |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 477 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
474 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 478 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
475 return false; | 479 return false; |
476 | 480 |
477 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 481 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
478 kTestCrosGaiaIdMigrationStarted; | 482 kTestCrosGaiaIdMigrationStarted; |
479 } | 483 } |
480 | 484 |
481 } // namespace switches | 485 } // namespace switches |
482 } // namespace chromeos | 486 } // namespace chromeos |
OLD | NEW |