| 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 // Specifies the user which is already logged in. | 406 // Specifies the user which is already logged in. |
| 407 const char kLoginUser[] = "login-user"; | 407 const char kLoginUser[] = "login-user"; |
| 408 | 408 |
| 409 // The memory pressure threshold selection which is used to decide whether and | 409 // The memory pressure threshold selection which is used to decide whether and |
| 410 // when a memory pressure event needs to get fired. | 410 // when a memory pressure event needs to get fired. |
| 411 const char kMemoryPressureThresholds[] = "memory-pressure-thresholds"; | 411 const char kMemoryPressureThresholds[] = "memory-pressure-thresholds"; |
| 412 | 412 |
| 413 // Enables natural scroll by default. | 413 // Enables natural scroll by default. |
| 414 const char kNaturalScrollDefault[] = "enable-natural-scroll-default"; | 414 const char kNaturalScrollDefault[] = "enable-natural-scroll-default"; |
| 415 | 415 |
| 416 // If present, the device needs to check the policy to see if the migration to |
| 417 // ext4 for ARC is allowed. It should be present only on devices that have been |
| 418 // initially issued with ecrypfs encryption and have ARC (N+) available. For the |
| 419 // devices in other categories this flag must be missing. |
| 420 const char kNeedArcMigrationPolicyCheck[] = "need-arc-migration-policy-check"; |
| 421 |
| 416 // Enables Settings based network config in MD Settings. | 422 // Enables Settings based network config in MD Settings. |
| 417 const char kNetworkSettingsConfig[] = "network-settings-config"; | 423 const char kNetworkSettingsConfig[] = "network-settings-config"; |
| 418 | 424 |
| 419 // An optional comma-separated list of IDs of apps that can be used to take | 425 // An optional comma-separated list of IDs of apps that can be used to take |
| 420 // notes. If unset, a hardcoded list is used instead. | 426 // notes. If unset, a hardcoded list is used instead. |
| 421 const char kNoteTakingAppIds[] = "note-taking-app-ids"; | 427 const char kNoteTakingAppIds[] = "note-taking-app-ids"; |
| 422 | 428 |
| 423 // Indicates that if we should start bootstrapping Master OOBE. | 429 // Indicates that if we should start bootstrapping Master OOBE. |
| 424 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master"; | 430 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master"; |
| 425 | 431 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 } | 556 } |
| 551 | 557 |
| 552 bool IsVoiceInteractionEnabled() { | 558 bool IsVoiceInteractionEnabled() { |
| 553 return base::CommandLine::ForCurrentProcess()->HasSwitch( | 559 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
| 554 kEnableVoiceInteraction) || | 560 kEnableVoiceInteraction) || |
| 555 base::FeatureList::IsEnabled(kVoiceInteractionFeature); | 561 base::FeatureList::IsEnabled(kVoiceInteractionFeature); |
| 556 } | 562 } |
| 557 | 563 |
| 558 } // namespace switches | 564 } // namespace switches |
| 559 } // namespace chromeos | 565 } // namespace chromeos |
| OLD | NEW |