Chromium Code Reviews| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 64 // Default wallpaper to use (as paths to trusted, non-user-writable JPEG files). | 64 // Default wallpaper to use (as paths to trusted, non-user-writable JPEG files). |
| 65 const char kDefaultWallpaperLarge[] = "default-wallpaper-large"; | 65 const char kDefaultWallpaperLarge[] = "default-wallpaper-large"; |
| 66 const char kDefaultWallpaperSmall[] = "default-wallpaper-small"; | 66 const char kDefaultWallpaperSmall[] = "default-wallpaper-small"; |
| 67 | 67 |
| 68 // Time in seconds before a machine at OOBE is considered derelict. | 68 // Time in seconds before a machine at OOBE is considered derelict. |
| 69 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout"; | 69 const char kDerelictDetectionTimeout[] = "derelict-detection-timeout"; |
| 70 | 70 |
| 71 // Time in seconds before a derelict machines starts demo mode. | 71 // Time in seconds before a derelict machines starts demo mode. |
| 72 const char kDerelictIdleTimeout[] = "derelict-idle-timeout"; | 72 const char kDerelictIdleTimeout[] = "derelict-idle-timeout"; |
| 73 | 73 |
| 74 // Disable wipine android user data on opt out. | |
|
achuithb
2016/07/05 08:03:37
what's wipine?
dspaid
2016/07/06 01:44:31
A typo.
| |
| 75 const char kDisableArcDataWipe[] = "disable-arc-data-wipe"; | |
| 76 | |
| 74 // Disables ARC Opt-in verification process and ARC is enabled by default. | 77 // Disables ARC Opt-in verification process and ARC is enabled by default. |
| 75 const char kDisableArcOptInVerification[] = "disable-arc-opt-in-verification"; | 78 const char kDisableArcOptInVerification[] = "disable-arc-opt-in-verification"; |
| 76 | 79 |
| 77 // Disables wallpaper boot animation (except of OOBE case). | 80 // Disables wallpaper boot animation (except of OOBE case). |
| 78 const char kDisableBootAnimation[] = "disable-boot-animation"; | 81 const char kDisableBootAnimation[] = "disable-boot-animation"; |
| 79 | 82 |
| 80 // Disables cloud backup feature. | 83 // Disables cloud backup feature. |
| 81 const char kDisableCloudImport[] = "disable-cloud-import"; | 84 const char kDisableCloudImport[] = "disable-cloud-import"; |
| 82 | 85 |
| 83 // Disables the ChromeOS demo. | 86 // Disables the ChromeOS demo. |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 437 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 440 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 438 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 441 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 439 return false; | 442 return false; |
| 440 | 443 |
| 441 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 444 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 442 kTestCrosGaiaIdMigrationStarted; | 445 kTestCrosGaiaIdMigrationStarted; |
| 443 } | 446 } |
| 444 | 447 |
| 445 } // namespace switches | 448 } // namespace switches |
| 446 } // namespace chromeos | 449 } // namespace chromeos |
| OLD | NEW |