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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 827733003: Removing --enable-carrier-switching command-line flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed build errors Created 5 years, 11 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 "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace chromeos { 9 namespace chromeos {
10 namespace switches { 10 namespace switches {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // Disables volume adjust sound. 79 // Disables volume adjust sound.
80 const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound"; 80 const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound";
81 81
82 // Disables wake on wifi features. 82 // Disables wake on wifi features.
83 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; 83 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi";
84 84
85 // Disables notifications about captive portals in session. 85 // Disables notifications about captive portals in session.
86 const char kDisableNetworkPortalNotification[] = 86 const char kDisableNetworkPortalNotification[] =
87 "disable-network-portal-notification"; 87 "disable-network-portal-notification";
88 88
89 // Enables switching between different cellular carriers from the UI.
90 const char kEnableCarrierSwitching[] = "enable-carrier-switching";
91
92 // Enables cloud backup feature. 89 // Enables cloud backup feature.
93 const char kEnableCloudBackup[] = "enable-cloud-backup"; 90 const char kEnableCloudBackup[] = "enable-cloud-backup";
94 91
95 // Enables consumer management, which allows user to enroll, remotely lock and 92 // Enables consumer management, which allows user to enroll, remotely lock and
96 // locate the device. 93 // locate the device.
97 const char kEnableConsumerManagement[] = "enable-consumer-management"; 94 const char kEnableConsumerManagement[] = "enable-consumer-management";
98 95
99 // If this switch is set, the device cannot be remotely disabled by its owner. 96 // If this switch is set, the device cannot be remotely disabled by its owner.
100 const char kDisableDeviceDisabling[] = "disable-device-disabling"; 97 const char kDisableDeviceDisabling[] = "disable-device-disabling";
101 98
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 // Bypass proxy for captive portal authorization. 280 // Bypass proxy for captive portal authorization.
284 const char kEnableCaptivePortalBypassProxy[] = 281 const char kEnableCaptivePortalBypassProxy[] =
285 "enable-captive-portal-bypass-proxy"; 282 "enable-captive-portal-bypass-proxy";
286 283
287 bool WakeOnWifiEnabled() { 284 bool WakeOnWifiEnabled() {
288 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi); 285 return !base::CommandLine::ForCurrentProcess()->HasSwitch(kDisableWakeOnWifi);
289 } 286 }
290 287
291 } // namespace switches 288 } // namespace switches
292 } // namespace chromeos 289 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698