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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 1887953002: Revert of [Merge to M50] Enable bootstrapping feature by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 8 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') | components/pairing/bluetooth_host_pairing_controller.h » ('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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 // TODO(rsorokin): alphabetize all of these switches so they 10 // TODO(rsorokin): alphabetize all of these switches so they
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // Disable GAIA services such as enrollment and OAuth session restore. Used by 247 // Disable GAIA services such as enrollment and OAuth session restore. Used by
248 // 'fake' telemetry login. 248 // 'fake' telemetry login.
249 const char kDisableGaiaServices[] = "disable-gaia-services"; 249 const char kDisableGaiaServices[] = "disable-gaia-services";
250 250
251 // Interval at which we check for total time on OOBE. 251 // Interval at which we check for total time on OOBE.
252 const char kOobeTimerInterval[] = "oobe-timer-interval"; 252 const char kOobeTimerInterval[] = "oobe-timer-interval";
253 253
254 // Indicates that a guest session has been started before OOBE completion. 254 // Indicates that a guest session has been started before OOBE completion.
255 const char kOobeGuestSession[] = "oobe-guest-session"; 255 const char kOobeGuestSession[] = "oobe-guest-session";
256 256
257 // Indicates that if we should start bootstrapping Master OOBE. 257 // Indicates that if we should start bootstrapping Master/Slave OOBE.
258 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master"; 258 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master";
259 const char kOobeBootstrappingSlave[] = "oobe-bootstrapping-slave";
259 260
260 // Specifies power stub behavior: 261 // Specifies power stub behavior:
261 // 'cycle=2' - Cycles power states every 2 seconds. 262 // 'cycle=2' - Cycles power states every 2 seconds.
262 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. 263 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details.
263 const char kPowerStub[] = "power-stub"; 264 const char kPowerStub[] = "power-stub";
264 265
265 // Overrides network stub behavior. By default, ethernet, wifi and vpn are 266 // Overrides network stub behavior. By default, ethernet, wifi and vpn are
266 // enabled, and transitions occur instantaneously. Multiple options can be 267 // enabled, and transitions occur instantaneously. Multiple options can be
267 // comma separated (no spaces). Note: all options are in the format 'foo=x'. 268 // comma separated (no spaces). Note: all options are in the format 'foo=x'.
268 // Values are case sensitive and based on Shill names in service_constants.h. 269 // Values are case sensitive and based on Shill names in service_constants.h.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 402 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
402 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 403 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
403 return false; 404 return false;
404 405
405 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 406 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
406 kTestCrosGaiaIdMigrationStarted; 407 kTestCrosGaiaIdMigrationStarted;
407 } 408 }
408 409
409 } // namespace switches 410 } // namespace switches
410 } // namespace chromeos 411 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | components/pairing/bluetooth_host_pairing_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698