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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2848683003: MD Settings: Add settings-internet-config (WiFi only, no certs) (Closed)
Patch Set: . Created 3 years, 7 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
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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 // Specifies the user which is already logged in. 404 // Specifies the user which is already logged in.
405 const char kLoginUser[] = "login-user"; 405 const char kLoginUser[] = "login-user";
406 406
407 // The memory pressure threshold selection which is used to decide whether and 407 // The memory pressure threshold selection which is used to decide whether and
408 // when a memory pressure event needs to get fired. 408 // when a memory pressure event needs to get fired.
409 const char kMemoryPressureThresholds[] = "memory-pressure-thresholds"; 409 const char kMemoryPressureThresholds[] = "memory-pressure-thresholds";
410 410
411 // Enables natural scroll by default. 411 // Enables natural scroll by default.
412 const char kNaturalScrollDefault[] = "enable-natural-scroll-default"; 412 const char kNaturalScrollDefault[] = "enable-natural-scroll-default";
413 413
414 // Enables Settings based network config in MD Settings.
415 const char kNetworkSettingsConfig[] = "network-settings-config";
416
414 // An optional comma-separated list of IDs of apps that can be used to take 417 // An optional comma-separated list of IDs of apps that can be used to take
415 // notes. If unset, a hardcoded list is used instead. 418 // notes. If unset, a hardcoded list is used instead.
416 const char kNoteTakingAppIds[] = "note-taking-app-ids"; 419 const char kNoteTakingAppIds[] = "note-taking-app-ids";
417 420
418 // Indicates that if we should start bootstrapping Master OOBE. 421 // Indicates that if we should start bootstrapping Master OOBE.
419 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master"; 422 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master";
420 423
421 // Indicates that a guest session has been started before OOBE completion. 424 // Indicates that a guest session has been started before OOBE completion.
422 const char kOobeGuestSession[] = "oobe-guest-session"; 425 const char kOobeGuestSession[] = "oobe-guest-session";
423 426
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 } 548 }
546 549
547 bool IsVoiceInteractionEnabled() { 550 bool IsVoiceInteractionEnabled() {
548 return base::CommandLine::ForCurrentProcess()->HasSwitch( 551 return base::CommandLine::ForCurrentProcess()->HasSwitch(
549 kEnableVoiceInteraction) || 552 kEnableVoiceInteraction) ||
550 base::FeatureList::IsEnabled(kVoiceInteractionFeature); 553 base::FeatureList::IsEnabled(kVoiceInteractionFeature);
551 } 554 }
552 555
553 } // namespace switches 556 } // namespace switches
554 } // namespace chromeos 557 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698