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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 | 420 |
421 // Indicates that a guest session has been started before OOBE completion. | 421 // Indicates that a guest session has been started before OOBE completion. |
422 const char kOobeGuestSession[] = "oobe-guest-session"; | 422 const char kOobeGuestSession[] = "oobe-guest-session"; |
423 | 423 |
424 // Skips all other OOBE pages after user login. | 424 // Skips all other OOBE pages after user login. |
425 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin"; | 425 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin"; |
426 | 426 |
427 // Interval at which we check for total time on OOBE. | 427 // Interval at which we check for total time on OOBE. |
428 const char kOobeTimerInterval[] = "oobe-timer-interval"; | 428 const char kOobeTimerInterval[] = "oobe-timer-interval"; |
429 | 429 |
430 // If true, the md login and lock screens will be shown. | 430 // If true, the views-based md login and lock screens will be shown. |
431 const char kShowMdLogin[] = "show-md-login"; | 431 const char kShowMdLogin[] = "show-md-login"; |
432 | 432 |
| 433 // If true, the non-views-based md login and lock screens will be shown. |
| 434 const char kShowNonViewMdLogin[] = "show-non-view-md-login"; |
| 435 |
433 // Specifies power stub behavior: | 436 // Specifies power stub behavior: |
434 // 'cycle=2' - Cycles power states every 2 seconds. | 437 // 'cycle=2' - Cycles power states every 2 seconds. |
435 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. | 438 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. |
436 const char kPowerStub[] = "power-stub"; | 439 const char kPowerStub[] = "power-stub"; |
437 | 440 |
438 // Overrides network stub behavior. By default, ethernet, wifi and vpn are | 441 // Overrides network stub behavior. By default, ethernet, wifi and vpn are |
439 // enabled, and transitions occur instantaneously. Multiple options can be | 442 // enabled, and transitions occur instantaneously. Multiple options can be |
440 // comma separated (no spaces). Note: all options are in the format 'foo=x'. | 443 // comma separated (no spaces). Note: all options are in the format 'foo=x'. |
441 // Values are case sensitive and based on Shill names in service_constants.h. | 444 // Values are case sensitive and based on Shill names in service_constants.h. |
442 // See FakeShillManagerClient::SetInitialNetworkState for implementation. | 445 // See FakeShillManagerClient::SetInitialNetworkState for implementation. |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 } | 545 } |
543 | 546 |
544 bool IsVoiceInteractionEnabled() { | 547 bool IsVoiceInteractionEnabled() { |
545 return base::CommandLine::ForCurrentProcess()->HasSwitch( | 548 return base::CommandLine::ForCurrentProcess()->HasSwitch( |
546 kEnableVoiceInteraction) || | 549 kEnableVoiceInteraction) || |
547 base::FeatureList::IsEnabled(kVoiceInteractionFeature); | 550 base::FeatureList::IsEnabled(kVoiceInteractionFeature); |
548 } | 551 } |
549 | 552 |
550 } // namespace switches | 553 } // namespace switches |
551 } // namespace chromeos | 554 } // namespace chromeos |
OLD | NEW |