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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 171423005: Added in-session captive portal notification. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix. Created 6 years, 10 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 | Annotate | Revision Log
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 namespace chromeos { 7 namespace chromeos {
8 namespace switches { 8 namespace switches {
9 9
10 // Path for app's OEM manifest file. 10 // Path for app's OEM manifest file.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const char kDisableNewKioskUI[] = "disable-new-kiosk-ui"; 60 const char kDisableNewKioskUI[] = "disable-new-kiosk-ui";
61 61
62 // Disable Quickoffice component app thus handlers won't be registered so 62 // Disable Quickoffice component app thus handlers won't be registered so
63 // it will be possible to install another version as normal app for testing. 63 // it will be possible to install another version as normal app for testing.
64 const char kDisableQuickofficeComponentApp[] = 64 const char kDisableQuickofficeComponentApp[] =
65 "disable-quickoffice-component-app"; 65 "disable-quickoffice-component-app";
66 66
67 // Disables volume adjust sound. 67 // Disables volume adjust sound.
68 const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound"; 68 const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound";
69 69
70 // Disables notifications about captive portals in session.
71 const char kDisableNetworkPortalNotification[] =
72 "disable-network-portal-notification";
73
70 // Disables fetching online CrOS EULA page, only static version is shown. 74 // Disables fetching online CrOS EULA page, only static version is shown.
71 const char kDisableOnlineEULA[] = "disable-cros-online-eula"; 75 const char kDisableOnlineEULA[] = "disable-cros-online-eula";
72 76
73 // Avoid doing animations upon oobe. 77 // Avoid doing animations upon oobe.
74 const char kDisableOobeAnimation[] = "disable-oobe-animation"; 78 const char kDisableOobeAnimation[] = "disable-oobe-animation";
75 79
76 // Disables portal detection and network error handling before auto 80 // Disables portal detection and network error handling before auto
77 // update. 81 // update.
78 const char kDisableOOBEBlockingUpdate[] = 82 const char kDisableOOBEBlockingUpdate[] =
79 "disable-oobe-blocking-update"; 83 "disable-oobe-blocking-update";
80 84
81 // Enables overriding the path for the default echo component extension. 85 // Enables overriding the path for the default echo component extension.
82 // Useful for testing. 86 // Useful for testing.
83 const char kEchoExtensionPath[] = "echo-ext-path"; 87 const char kEchoExtensionPath[] = "echo-ext-path";
84 88
85 // Enables component extension that initializes background pages of 89 // Enables component extension that initializes background pages of
86 // certain hosted applications. 90 // certain hosted applications.
87 const char kEnableBackgroundLoader[] = "enable-background-loader"; 91 const char kEnableBackgroundLoader[] = "enable-background-loader";
88 92
89 // Enables switching between different cellular carriers from the UI. 93 // Enables switching between different cellular carriers from the UI.
90 const char kEnableCarrierSwitching[] = "enable-carrier-switching"; 94 const char kEnableCarrierSwitching[] = "enable-carrier-switching";
91 95
96 // Enables notifications about captive portals in session.
97 const char kEnableNetworkPortalNotification[] =
98 "enable-network-portal-notification";
oshima 2014/02/19 18:59:41 why you need both enable/disable now?
ygorshenin1 2014/02/20 16:31:39 For easy switch of default behavior. Currently by
99
92 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler) 100 // Enable "interactive" mode for stub implemenations (e.g. NetworkStateHandler)
93 const char kEnableStubInteractive[] = "enable-stub-interactive"; 101 const char kEnableStubInteractive[] = "enable-stub-interactive";
94 102
95 // Enable stub portalled wifi network for testing. 103 // Enable stub portalled wifi network for testing.
96 const char kEnableStubPortalledWifi[] = "enable-stub-portalled-wifi"; 104 const char kEnableStubPortalledWifi[] = "enable-stub-portalled-wifi";
97 105
98 // Enables touchpad three-finger-click as middle button. 106 // Enables touchpad three-finger-click as middle button.
99 const char kEnableTouchpadThreeFingerClick[] 107 const char kEnableTouchpadThreeFingerClick[]
100 = "enable-touchpad-three-finger-click"; 108 = "enable-touchpad-three-finger-click";
101 109
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 const char kForceFirstRunUI[] = "force-first-run-ui"; 229 const char kForceFirstRunUI[] = "force-first-run-ui";
222 230
223 // Enables testing for auto update UI. 231 // Enables testing for auto update UI.
224 const char kTestAutoUpdateUI[] = "test-auto-update-ui"; 232 const char kTestAutoUpdateUI[] = "test-auto-update-ui";
225 233
226 // Enables features required for supervised user sync, 234 // Enables features required for supervised user sync,
227 const char kEnableSupervisedPasswordSync[] = "enable-supervised-password-sync"; 235 const char kEnableSupervisedPasswordSync[] = "enable-supervised-password-sync";
228 236
229 } // namespace switches 237 } // namespace switches
230 } // namespace chromeos 238 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698