| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 const char kDisableOfficeEditingComponentApp[] = | 189 const char kDisableOfficeEditingComponentApp[] = |
| 190 "disable-office-editing-component-extension"; | 190 "disable-office-editing-component-extension"; |
| 191 | 191 |
| 192 // Disables suggestions while typing on a physical keyboard. | 192 // Disables suggestions while typing on a physical keyboard. |
| 193 const char kDisablePhysicalKeyboardAutocorrect[] = | 193 const char kDisablePhysicalKeyboardAutocorrect[] = |
| 194 "disable-physical-keyboard-autocorrect"; | 194 "disable-physical-keyboard-autocorrect"; |
| 195 | 195 |
| 196 // Disables rollback option on reset screen. | 196 // Disables rollback option on reset screen. |
| 197 const char kDisableRollbackOption[] = "disable-rollback-option"; | 197 const char kDisableRollbackOption[] = "disable-rollback-option"; |
| 198 | 198 |
| 199 // Disables experimental storage manager to manage local storage. | |
| 200 const char kDisableStorageManager[] = "disable-storage-manager"; | |
| 201 | |
| 202 // Disables SystemTimezoneAutomaticDetection policy. | 199 // Disables SystemTimezoneAutomaticDetection policy. |
| 203 const char kDisableSystemTimezoneAutomaticDetectionPolicy[] = | 200 const char kDisableSystemTimezoneAutomaticDetectionPolicy[] = |
| 204 "disable-system-timezone-automatic-detection"; | 201 "disable-system-timezone-automatic-detection"; |
| 205 | 202 |
| 206 // Disables automatic timezone update. | 203 // Disables automatic timezone update. |
| 207 const char kDisableTimeZoneTrackingOption[] = | 204 const char kDisableTimeZoneTrackingOption[] = |
| 208 "disable-timezone-tracking-option"; | 205 "disable-timezone-tracking-option"; |
| 209 | 206 |
| 210 // Disables volume adjust sound. | 207 // Disables volume adjust sound. |
| 211 const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound"; | 208 const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound"; |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 const char kEnablePhysicalKeyboardAutocorrect[] = | 257 const char kEnablePhysicalKeyboardAutocorrect[] = |
| 261 "enable-physical-keyboard-autocorrect"; | 258 "enable-physical-keyboard-autocorrect"; |
| 262 | 259 |
| 263 // Enables request of tablet site (via user agent override). | 260 // Enables request of tablet site (via user agent override). |
| 264 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; | 261 const char kEnableRequestTabletSite[] = "enable-request-tablet-site"; |
| 265 | 262 |
| 266 // Enables using screenshots in tests and seets mode. | 263 // Enables using screenshots in tests and seets mode. |
| 267 const char kEnableScreenshotTestingWithMode[] = | 264 const char kEnableScreenshotTestingWithMode[] = |
| 268 "enable-screenshot-testing-with-mode"; | 265 "enable-screenshot-testing-with-mode"; |
| 269 | 266 |
| 270 // Enables experimental storage manager to manage local storage. | |
| 271 const char kEnableStorageManager[] = "enable-storage-manager"; | |
| 272 | |
| 273 // Enables touchpad three-finger-click as middle button. | 267 // Enables touchpad three-finger-click as middle button. |
| 274 const char kEnableTouchpadThreeFingerClick[] = | 268 const char kEnableTouchpadThreeFingerClick[] = |
| 275 "enable-touchpad-three-finger-click"; | 269 "enable-touchpad-three-finger-click"; |
| 276 | 270 |
| 277 // Enables the chromecast support for video player app. | 271 // Enables the chromecast support for video player app. |
| 278 const char kEnableVideoPlayerChromecastSupport[] = | 272 const char kEnableVideoPlayerChromecastSupport[] = |
| 279 "enable-video-player-chromecast-support"; | 273 "enable-video-player-chromecast-support"; |
| 280 | 274 |
| 281 // Disables ARC for managed accounts. | 275 // Disables ARC for managed accounts. |
| 282 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; | 276 const char kEnterpriseDisableArc[] = "enterprise-disable-arc"; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 470 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 477 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 471 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 478 return false; | 472 return false; |
| 479 | 473 |
| 480 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 474 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 481 kTestCrosGaiaIdMigrationStarted; | 475 kTestCrosGaiaIdMigrationStarted; |
| 482 } | 476 } |
| 483 | 477 |
| 484 } // namespace switches | 478 } // namespace switches |
| 485 } // namespace chromeos | 479 } // namespace chromeos |
| OLD | NEW |