Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2118143003: Add a disable-arc-data-wipe flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a disable-arc-data-wipe flag. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | components/arc/user_data/arc_user_data_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 // Disables android user data wipe on opt out.
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
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
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | components/arc/user_data/arc_user_data_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698