Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2925343002: Make WebUI MD login and lock screen default (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 428
429 // Skips all other OOBE pages after user login. 429 // Skips all other OOBE pages after user login.
430 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin"; 430 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin";
431 431
432 // Interval at which we check for total time on OOBE. 432 // Interval at which we check for total time on OOBE.
433 const char kOobeTimerInterval[] = "oobe-timer-interval"; 433 const char kOobeTimerInterval[] = "oobe-timer-interval";
434 434
435 // If true, the views-based md login and lock screens will be shown. 435 // If true, the views-based md login and lock screens will be shown.
436 const char kShowMdLogin[] = "show-md-login"; 436 const char kShowMdLogin[] = "show-md-login";
437 437
438 // If true, the non-views-based md login and lock screens will be shown. 438 // If true, the non-md login and lock screens will be shown.
439 const char kShowNonViewMdLogin[] = "show-non-view-md-login"; 439 const char kShowNonMdLogin[] = "show-non-md-login";
440 440
441 // Specifies power stub behavior: 441 // Specifies power stub behavior:
442 // 'cycle=2' - Cycles power states every 2 seconds. 442 // 'cycle=2' - Cycles power states every 2 seconds.
443 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. 443 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details.
444 const char kPowerStub[] = "power-stub"; 444 const char kPowerStub[] = "power-stub";
445 445
446 // Overrides network stub behavior. By default, ethernet, wifi and vpn are 446 // Overrides network stub behavior. By default, ethernet, wifi and vpn are
447 // enabled, and transitions occur instantaneously. Multiple options can be 447 // enabled, and transitions occur instantaneously. Multiple options can be
448 // comma separated (no spaces). Note: all options are in the format 'foo=x'. 448 // comma separated (no spaces). Note: all options are in the format 'foo=x'.
449 // Values are case sensitive and based on Shill names in service_constants.h. 449 // Values are case sensitive and based on Shill names in service_constants.h.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 } 550 }
551 551
552 bool IsVoiceInteractionEnabled() { 552 bool IsVoiceInteractionEnabled() {
553 return base::CommandLine::ForCurrentProcess()->HasSwitch( 553 return base::CommandLine::ForCurrentProcess()->HasSwitch(
554 kEnableVoiceInteraction) || 554 kEnableVoiceInteraction) ||
555 base::FeatureList::IsEnabled(kVoiceInteractionFeature); 555 base::FeatureList::IsEnabled(kVoiceInteractionFeature);
556 } 556 }
557 557
558 } // namespace switches 558 } // namespace switches
559 } // namespace chromeos 559 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698