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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2900903002: Create a FakeTetherService, which stubs out TetherService for development. (Closed)
Patch Set: Fix TetherService tests. 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 // Enables action handler apps (e.g. creating new notes) on lock screen. 271 // Enables action handler apps (e.g. creating new notes) on lock screen.
272 const char kEnableLockScreenApps[] = "enable-lock-screen-apps"; 272 const char kEnableLockScreenApps[] = "enable-lock-screen-apps";
273 273
274 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode 274 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode
275 // rather than the kiosk app mode. 275 // rather than the kiosk app mode.
276 const char kEnableKioskMode[] = "enable-kiosk-mode"; 276 const char kEnableKioskMode[] = "enable-kiosk-mode";
277 277
278 // Enables tethering to nearby LTE devices. 278 // Enables tethering to nearby LTE devices.
279 const char kEnableTether[] = "enable-tether"; 279 const char kEnableTether[] = "enable-tether";
280 280
281 // Overrides Tether with stub service. Provide integer arguments for the number
282 // of fake networks desired, e.g. 'tether-stub=2'.
283 const char kTetherStub[] = "tether-stub";
284
281 // Disables material design OOBE UI. 285 // Disables material design OOBE UI.
282 const char kDisableMdOobe[] = "disable-md-oobe"; 286 const char kDisableMdOobe[] = "disable-md-oobe";
283 287
284 // Enables notifications about captive portals in session. 288 // Enables notifications about captive portals in session.
285 const char kEnableNetworkPortalNotification[] = 289 const char kEnableNetworkPortalNotification[] =
286 "enable-network-portal-notification"; 290 "enable-network-portal-notification";
287 291
288 // Enables suggestions while typing on a physical keyboard. 292 // Enables suggestions while typing on a physical keyboard.
289 const char kEnablePhysicalKeyboardAutocorrect[] = 293 const char kEnablePhysicalKeyboardAutocorrect[] =
290 "enable-physical-keyboard-autocorrect"; 294 "enable-physical-keyboard-autocorrect";
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 } 547 }
544 548
545 bool IsVoiceInteractionEnabled() { 549 bool IsVoiceInteractionEnabled() {
546 return base::CommandLine::ForCurrentProcess()->HasSwitch( 550 return base::CommandLine::ForCurrentProcess()->HasSwitch(
547 kEnableVoiceInteraction) || 551 kEnableVoiceInteraction) ||
548 base::FeatureList::IsEnabled(kVoiceInteractionFeature); 552 base::FeatureList::IsEnabled(kVoiceInteractionFeature);
549 } 553 }
550 554
551 } // namespace switches 555 } // namespace switches
552 } // namespace chromeos 556 } // 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