| OLD | NEW |
| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 | 222 |
| 223 // Disables wake on wifi features. | 223 // Disables wake on wifi features. |
| 224 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; | 224 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; |
| 225 | 225 |
| 226 // EAFE path to use for Easy bootstrapping. | 226 // EAFE path to use for Easy bootstrapping. |
| 227 const char kEafePath[] = "eafe-path"; | 227 const char kEafePath[] = "eafe-path"; |
| 228 | 228 |
| 229 // EAFE URL to use for Easy bootstrapping. | 229 // EAFE URL to use for Easy bootstrapping. |
| 230 const char kEafeUrl[] = "eafe-url"; | 230 const char kEafeUrl[] = "eafe-url"; |
| 231 | 231 |
| 232 // Enables AD functionality. | |
| 233 const char kEnableAd[] = "enable-ad"; | |
| 234 | |
| 235 // Enables the Android Wallpapers App as the default app on Chrome OS. | 232 // Enables the Android Wallpapers App as the default app on Chrome OS. |
| 236 const char kEnableAndroidWallpapersApp[] = "enable-android-wallpapers-app"; | 233 const char kEnableAndroidWallpapersApp[] = "enable-android-wallpapers-app"; |
| 237 | 234 |
| 238 // DEPRECATED. Please use --arc-availability=officially-supported. | 235 // DEPRECATED. Please use --arc-availability=officially-supported. |
| 239 // Enables starting the ARC instance upon session start. | 236 // Enables starting the ARC instance upon session start. |
| 240 const char kEnableArc[] = "enable-arc"; | 237 const char kEnableArc[] = "enable-arc"; |
| 241 | 238 |
| 242 // Enables ARC OptIn flow in OOBE. | 239 // Enables ARC OptIn flow in OOBE. |
| 243 const char kEnableArcOOBEOptIn[] = "enable-arc-oobe-optin"; | 240 const char kEnableArcOOBEOptIn[] = "enable-arc-oobe-optin"; |
| 244 | 241 |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 509 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 513 kTestCrosGaiaIdMigrationStarted; | 510 kTestCrosGaiaIdMigrationStarted; |
| 514 } | 511 } |
| 515 | 512 |
| 516 bool IsCellularFirstDevice() { | 513 bool IsCellularFirstDevice() { |
| 517 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); | 514 return base::CommandLine::ForCurrentProcess()->HasSwitch(kCellularFirst); |
| 518 } | 515 } |
| 519 | 516 |
| 520 } // namespace switches | 517 } // namespace switches |
| 521 } // namespace chromeos | 518 } // namespace chromeos |
| OLD | NEW |