| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; | 224 const char kEnableDataSaverPrompt[] = "enable-datasaver-prompt"; |
| 225 | 225 |
| 226 // Shows additional checkboxes in Settings to enable Chrome OS accessibility | 226 // Shows additional checkboxes in Settings to enable Chrome OS accessibility |
| 227 // features that haven't launched yet. | 227 // features that haven't launched yet. |
| 228 const char kEnableExperimentalAccessibilityFeatures[] = | 228 const char kEnableExperimentalAccessibilityFeatures[] = |
| 229 "enable-experimental-accessibility-features"; | 229 "enable-experimental-accessibility-features"; |
| 230 | 230 |
| 231 // Enables sharing assets for installed default apps. | 231 // Enables sharing assets for installed default apps. |
| 232 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; | 232 const char kEnableExtensionAssetsSharing[] = "enable-extension-assets-sharing"; |
| 233 | 233 |
| 234 // Enables details panel in Files app. | |
| 235 const char kEnableFilesDetailsPanel[] = "enable-files-details-panel"; | |
| 236 | |
| 237 // Enables quick view in Files app. | 234 // Enables quick view in Files app. |
| 238 const char kEnableFilesQuickView[] = "enable-files-quick-view"; | 235 const char kEnableFilesQuickView[] = "enable-files-quick-view"; |
| 239 | 236 |
| 240 // Enables animated transitions during first-run tutorial. | 237 // Enables animated transitions during first-run tutorial. |
| 241 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; | 238 const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions"; |
| 242 | 239 |
| 243 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode | 240 // Enables Kiosk mode for Chrome OS. Note this switch refers to retail mode |
| 244 // rather than the kiosk app mode. | 241 // rather than the kiosk app mode. |
| 245 const char kEnableKioskMode[] = "enable-kiosk-mode"; | 242 const char kEnableKioskMode[] = "enable-kiosk-mode"; |
| 246 | 243 |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 471 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
| 475 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 472 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
| 476 return false; | 473 return false; |
| 477 | 474 |
| 478 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 475 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
| 479 kTestCrosGaiaIdMigrationStarted; | 476 kTestCrosGaiaIdMigrationStarted; |
| 480 } | 477 } |
| 481 | 478 |
| 482 } // namespace switches | 479 } // namespace switches |
| 483 } // namespace chromeos | 480 } // namespace chromeos |
| OLD | NEW |