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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2779933002: Add a screen to migrate filesystem encryption from eCryptfs to ext4 crypto. (Closed)
Patch Set: Address review comments. 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/dbus/fake_cryptohome_client.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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 // Determines which Google Privacy CA to use for attestation. 451 // Determines which Google Privacy CA to use for attestation.
452 const char kAttestationServer[] = "attestation-server"; 452 const char kAttestationServer[] = "attestation-server";
453 453
454 // Enables wake on wifi packet feature, which wakes the device on the receipt 454 // Enables wake on wifi packet feature, which wakes the device on the receipt
455 // of network packets from whitelisted sources. 455 // of network packets from whitelisted sources.
456 const char kWakeOnWifiPacket[] = "wake-on-wifi-packet"; 456 const char kWakeOnWifiPacket[] = "wake-on-wifi-packet";
457 457
458 // Force system compositor mode when set. 458 // Force system compositor mode when set.
459 const char kForceSystemCompositorMode[] = "force-system-compositor-mode"; 459 const char kForceSystemCompositorMode[] = "force-system-compositor-mode";
460 460
461 // Enables testing for encryption migration UI.
462 const char kTestEncryptionMigrationUI[] = "test-encryption-migration-ui";
463
461 bool WakeOnWifiEnabled() { 464 bool WakeOnWifiEnabled() {
462 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi); 465 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi);
463 } 466 }
464 467
465 bool MemoryPressureHandlingEnabled() { 468 bool MemoryPressureHandlingEnabled() {
466 if (base::FieldTrialList::FindFullName(kMemoryPressureExperimentName) == 469 if (base::FieldTrialList::FindFullName(kMemoryPressureExperimentName) ==
467 kMemoryPressureHandlingOff) { 470 kMemoryPressureHandlingOff) {
468 return false; 471 return false;
469 } 472 }
470 return true; 473 return true;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 515 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
513 kTestCrosGaiaIdMigrationStarted; 516 kTestCrosGaiaIdMigrationStarted;
514 } 517 }
515 518
516 bool IsCellularFirstDevice() { 519 bool IsCellularFirstDevice() {
517 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); 520 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst);
518 } 521 }
519 522
520 } // namespace switches 523 } // namespace switches
521 } // namespace chromeos 524 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | chromeos/dbus/fake_cryptohome_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698