| 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/feature_list.h" | 10 #include "base/feature_list.h" |
| (...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 // With this switch, start remora OOBE with the pairing screen. | 389 // With this switch, start remora OOBE with the pairing screen. |
| 390 const char kHostPairingOobe[] = "host-pairing-oobe"; | 390 const char kHostPairingOobe[] = "host-pairing-oobe"; |
| 391 | 391 |
| 392 // If true, profile selection in UserManager will always return active user's | 392 // If true, profile selection in UserManager will always return active user's |
| 393 // profile. | 393 // profile. |
| 394 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we | 394 // TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we |
| 395 // turn on multi-profile feature on ChromeOS. | 395 // turn on multi-profile feature on ChromeOS. |
| 396 const char kIgnoreUserProfileMappingForTests[] = | 396 const char kIgnoreUserProfileMappingForTests[] = |
| 397 "ignore-user-profile-mapping-for-tests"; | 397 "ignore-user-profile-mapping-for-tests"; |
| 398 | 398 |
| 399 // If true, the device initial default encryption is ecryptfs. |
| 400 const char kInitialEncryptionEcryptfs[] = "initial-encryption-ecryptfs"; |
| 401 |
| 399 // Enables Chrome-as-a-login-manager behavior. | 402 // Enables Chrome-as-a-login-manager behavior. |
| 400 const char kLoginManager[] = "login-manager"; | 403 const char kLoginManager[] = "login-manager"; |
| 401 | 404 |
| 402 // Specifies the profile to use once a chromeos user is logged in. | 405 // Specifies the profile to use once a chromeos user is logged in. |
| 403 // This parameter is ignored if user goes through login screen since user_id | 406 // This parameter is ignored if user goes through login screen since user_id |
| 404 // hash defines which profile directory to use. | 407 // hash defines which profile directory to use. |
| 405 // In case of browser restart within active session this parameter is used | 408 // In case of browser restart within active session this parameter is used |
| 406 // to pass user_id hash for primary user. | 409 // to pass user_id hash for primary user. |
| 407 const char kLoginProfile[] = "login-profile"; | 410 const char kLoginProfile[] = "login-profile"; |
| 408 | 411 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 } | 556 } |
| 554 | 557 |
| 555 bool IsVoiceInteractionEnabled() { | 558 bool IsVoiceInteractionEnabled() { |
| 556 return base::CommandLine::ForCurrentProcess()->HasSwitch( | 559 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 557 kEnableVoiceInteraction) || | 560 kEnableVoiceInteraction) || |
| 558 base::FeatureList::IsEnabled(kVoiceInteractionFeature); | 561 base::FeatureList::IsEnabled(kVoiceInteractionFeature); |
| 559 } | 562 } |
| 560 | 563 |
| 561 } // namespace switches | 564 } // namespace switches |
| 562 } // namespace chromeos | 565 } // namespace chromeos |
| OLD | NEW |