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

Side by Side Diff: chromeos/chromeos_switches.cc

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

Powered by Google App Engine
This is Rietveld 408576698