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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 1829453002: Enable bootstrapping feature by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CL format 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 // Disable GAIA services such as enrollment and OAuth session restore. Used by 262 // Disable GAIA services such as enrollment and OAuth session restore. Used by
263 // 'fake' telemetry login. 263 // 'fake' telemetry login.
264 const char kDisableGaiaServices[] = "disable-gaia-services"; 264 const char kDisableGaiaServices[] = "disable-gaia-services";
265 265
266 // Interval at which we check for total time on OOBE. 266 // Interval at which we check for total time on OOBE.
267 const char kOobeTimerInterval[] = "oobe-timer-interval"; 267 const char kOobeTimerInterval[] = "oobe-timer-interval";
268 268
269 // Indicates that a guest session has been started before OOBE completion. 269 // Indicates that a guest session has been started before OOBE completion.
270 const char kOobeGuestSession[] = "oobe-guest-session"; 270 const char kOobeGuestSession[] = "oobe-guest-session";
271 271
272 // Indicates that if we should start bootstrapping Master/Slave OOBE. 272 // Indicates that if we should start bootstrapping Master OOBE.
273 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master"; 273 const char kOobeBootstrappingMaster[] = "oobe-bootstrapping-master";
274 const char kOobeBootstrappingSlave[] = "oobe-bootstrapping-slave";
275 274
276 // Specifies power stub behavior: 275 // Specifies power stub behavior:
277 // 'cycle=2' - Cycles power states every 2 seconds. 276 // 'cycle=2' - Cycles power states every 2 seconds.
278 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. 277 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details.
279 const char kPowerStub[] = "power-stub"; 278 const char kPowerStub[] = "power-stub";
280 279
281 // Overrides network stub behavior. By default, ethernet, wifi and vpn are 280 // Overrides network stub behavior. By default, ethernet, wifi and vpn are
282 // enabled, and transitions occur instantaneously. Multiple options can be 281 // enabled, and transitions occur instantaneously. Multiple options can be
283 // comma separated (no spaces). Note: all options are in the format 'foo=x'. 282 // comma separated (no spaces). Note: all options are in the format 'foo=x'.
284 // Values are case sensitive and based on Shill names in service_constants.h. 283 // Values are case sensitive and based on Shill names in service_constants.h.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); 409 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
411 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) 410 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration))
412 return false; 411 return false;
413 412
414 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 413 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
415 kTestCrosGaiaIdMigrationStarted; 414 kTestCrosGaiaIdMigrationStarted;
416 } 415 }
417 416
418 } // namespace switches 417 } // namespace switches
419 } // namespace chromeos 418 } // 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