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/metrics/field_trial.h" | 10 #include "base/metrics/field_trial.h" |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 // Specifies the user which is already logged in. | 396 // Specifies the user which is already logged in. |
397 const char kLoginUser[] = "login-user"; | 397 const char kLoginUser[] = "login-user"; |
398 | 398 |
399 // The memory pressure threshold selection which is used to decide whether and | 399 // The memory pressure threshold selection which is used to decide whether and |
400 // when a memory pressure event needs to get fired. | 400 // when a memory pressure event needs to get fired. |
401 const char kMemoryPressureThresholds[] = "memory-pressure-thresholds"; | 401 const char kMemoryPressureThresholds[] = "memory-pressure-thresholds"; |
402 | 402 |
403 // Enables natural scroll by default. | 403 // Enables natural scroll by default. |
404 const char kNaturalScrollDefault[] = "enable-natural-scroll-default"; | 404 const char kNaturalScrollDefault[] = "enable-natural-scroll-default"; |
405 | 405 |
| 406 // Enables Settings based network config in MD Settings. |
| 407 const char kNetworkSettingsConfig[] = "network-settings-config"; |
| 408 |
406 // An optional comma-separated list of IDs of apps that can be used to take | 409 // An optional comma-separated list of IDs of apps that can be used to take |
407 // notes. If unset, a hardcoded list is used instead. | 410 // notes. If unset, a hardcoded list is used instead. |
408 const char kNoteTakingAppIds[] = "note-taking-app-ids"; | 411 const char kNoteTakingAppIds[] = "note-taking-app-ids"; |
409 | 412 |
410 // Indicates that if we should start bootstrapping Master OOBE. | 413 // Indicates that if we should start bootstrapping Master OOBE. |
411 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master"; | 414 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master"; |
412 | 415 |
413 // Indicates that a guest session has been started before OOBE completion. | 416 // Indicates that a guest session has been started before OOBE completion. |
414 const char kOobeGuestSession[] = "oobe-guest-session"; | 417 const char kOobeGuestSession[] = "oobe-guest-session"; |
415 | 418 |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 528 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
526 kTestCrosGaiaIdMigrationStarted; | 529 kTestCrosGaiaIdMigrationStarted; |
527 } | 530 } |
528 | 531 |
529 bool IsCellularFirstDevice() { | 532 bool IsCellularFirstDevice() { |
530 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); | 533 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); |
531 } | 534 } |
532 | 535 |
533 } // namespace switches | 536 } // namespace switches |
534 } // namespace chromeos | 537 } // namespace chromeos |
OLD | NEW |