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