| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 // Disable Office Editing for Docs, Sheets & Slides component app so handlers | 104 // Disable Office Editing for Docs, Sheets & Slides component app so handlers |
| 105 // won't be registered, making it possible to install another version for | 105 // won't be registered, making it possible to install another version for |
| 106 // testing. | 106 // testing. |
| 107 const char kDisableOfficeEditingComponentApp[] = | 107 const char kDisableOfficeEditingComponentApp[] = |
| 108 "disable-office-editing-component-extension"; | 108 "disable-office-editing-component-extension"; |
| 109 | 109 |
| 110 // Disables rollback option on reset screen. | 110 // Disables rollback option on reset screen. |
| 111 const char kDisableRollbackOption[] = "disable-rollback-option"; | 111 const char kDisableRollbackOption[] = "disable-rollback-option"; |
| 112 | 112 |
| 113 // Disables experimental storage manager to manage local storage. |
| 114 const char kDisableStorageManager[] = "disable-storage-manager"; |
| 115 |
| 113 // Disables volume adjust sound. | 116 // Disables volume adjust sound. |
| 114 const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound"; | 117 const char kDisableVolumeAdjustSound[] = "disable-volume-adjust-sound"; |
| 115 | 118 |
| 116 // Disables wake on wifi features. | 119 // Disables wake on wifi features. |
| 117 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; | 120 const char kDisableWakeOnWifi[] = "disable-wake-on-wifi"; |
| 118 | 121 |
| 119 // Disables notifications about captive portals in session. | 122 // Disables notifications about captive portals in session. |
| 120 const char kDisableNetworkPortalNotification[] = | 123 const char kDisableNetworkPortalNotification[] = |
| 121 "disable-network-portal-notification"; | 124 "disable-network-portal-notification"; |
| 122 | 125 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 430 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 428 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 431 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 429 return false; | 432 return false; |
| 430 | 433 |
| 431 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 434 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 432 kTestCrosGaiaIdMigrationStarted; | 435 kTestCrosGaiaIdMigrationStarted; |
| 433 } | 436 } |
| 434 | 437 |
| 435 } // namespace switches | 438 } // namespace switches |
| 436 } // namespace chromeos | 439 } // namespace chromeos |
| OLD | NEW |