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

Side by Side Diff: chromeos/chromeos_switches.cc

Issue 2849953004: SV Test
Patch Set: Created 3 years, 7 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') | tools/metrics/histograms/histograms.xml » ('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 <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin"; 417 const char kOobeSkipPostLogin[] = "oobe-skip-postlogin";
418 418
419 // Interval at which we check for total time on OOBE. 419 // Interval at which we check for total time on OOBE.
420 const char kOobeTimerInterval[] = "oobe-timer-interval"; 420 const char kOobeTimerInterval[] = "oobe-timer-interval";
421 421
422 // Specifies power stub behavior: 422 // Specifies power stub behavior:
423 // 'cycle=2' - Cycles power states every 2 seconds. 423 // 'cycle=2' - Cycles power states every 2 seconds.
424 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details. 424 // See FakeDBusThreadManager::ParsePowerCommandLineSwitch for full details.
425 const char kPowerStub[] = "power-stub"; 425 const char kPowerStub[] = "power-stub";
426 426
427 // Enables scalable views and debugging features associated with it.
428 const char kEnableScalableViews[] = "enable-scalable-views";
429
427 // Overrides network stub behavior. By default, ethernet, wifi and vpn are 430 // Overrides network stub behavior. By default, ethernet, wifi and vpn are
428 // enabled, and transitions occur instantaneously. Multiple options can be 431 // enabled, and transitions occur instantaneously. Multiple options can be
429 // comma separated (no spaces). Note: all options are in the format 'foo=x'. 432 // comma separated (no spaces). Note: all options are in the format 'foo=x'.
430 // Values are case sensitive and based on Shill names in service_constants.h. 433 // Values are case sensitive and based on Shill names in service_constants.h.
431 // See FakeShillManagerClient::SetInitialNetworkState for implementation. 434 // See FakeShillManagerClient::SetInitialNetworkState for implementation.
432 // Examples: 435 // Examples:
433 // 'clear=1' - Clears all default configurations 436 // 'clear=1' - Clears all default configurations
434 // 'wifi=on' - A wifi network is initially connected ('1' also works) 437 // 'wifi=on' - A wifi network is initially connected ('1' also works)
435 // 'wifi=off' - Wifi networks are all initially disconnected ('0' also works) 438 // 'wifi=off' - Wifi networks are all initially disconnected ('0' also works)
436 // 'wifi=disabled' - Wifi is initially disabled 439 // 'wifi=disabled' - Wifi is initially disabled
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == 528 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) ==
526 kTestCrosGaiaIdMigrationStarted; 529 kTestCrosGaiaIdMigrationStarted;
527 } 530 }
528 531
529 bool IsCellularFirstDevice() { 532 bool IsCellularFirstDevice() {
530 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); 533 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst);
531 } 534 }
532 535
533 } // namespace switches 536 } // namespace switches
534 } // namespace chromeos 537 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/chromeos_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698