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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2798023005: Force encryption migration if the device supports ARC. (Closed)
Patch Set: Bind |auth_mode| Created 3 years, 8 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') | chromeos/cryptohome/cryptohome_parameters.h » ('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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 // Enables native ChromeVox support for Arc. 242 // Enables native ChromeVox support for Arc.
243 const char kEnableChromeVoxArcSupport[] = "enable-chromevox-arc-support"; 243 const char kEnableChromeVoxArcSupport[] = "enable-chromevox-arc-support";
244 244
245 // Enables consumer kiosk mode for Chrome OS. 245 // Enables consumer kiosk mode for Chrome OS.
246 const char kEnableConsumerKiosk[] = "enable-consumer-kiosk"; 246 const char kEnableConsumerKiosk[] = "enable-consumer-kiosk";
247 247
248 // Enables Data Saver prompt on cellular networks. 248 // Enables Data Saver prompt on cellular networks.
249 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; 249 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt";
250 250
251 // Enables encryption migration for user's cryptohome to run latest Arc.
252 const char kEnableEncryptionMigration[] = "enable-encryption-migration";
253
251 // Shows additional checkboxes in Settings to enable Chrome OS accessibility 254 // Shows additional checkboxes in Settings to enable Chrome OS accessibility
252 // features that haven't launched yet. 255 // features that haven't launched yet.
253 const char kEnableExperimentalAccessibilityFeatures[] = 256 const char kEnableExperimentalAccessibilityFeatures[] =
254 "enable-experimental-accessibility-features"; 257 "enable-experimental-accessibility-features";
255 258
256 // Enables sharing assets for installed default apps. 259 // Enables sharing assets for installed default apps.
257 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; 260 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing";
258 261
259 // Enables animated transitions during first-run tutorial. 262 // Enables animated transitions during first-run tutorial.
260 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; 263 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions";
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 518 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
516 kTestCrosGaiaIdMigrationStarted; 519 kTestCrosGaiaIdMigrationStarted;
517 } 520 }
518 521
519 bool IsCellularFirstDevice() { 522 bool IsCellularFirstDevice() {
520 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); 523 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst);
521 } 524 }
522 525
523 } // namespace switches 526 } // namespace switches
524 } // namespace chromeos 527 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | chromeos/cryptohome/cryptohome_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698