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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // Enables starting the ARC instance upon session start. | 130 // Enables starting the ARC instance upon session start. |
131 const char kEnableArc[] = "enable-arc"; | 131 const char kEnableArc[] = "enable-arc"; |
132 | 132 |
133 // Enables consumer management, which allows user to enroll, remotely lock and | 133 // Enables consumer management, which allows user to enroll, remotely lock and |
134 // locate the device. | 134 // locate the device. |
135 const char kEnableConsumerManagement[] = "enable-consumer-management"; | 135 const char kEnableConsumerManagement[] = "enable-consumer-management"; |
136 | 136 |
137 // Enables details panel in Files app. | 137 // Enables details panel in Files app. |
138 const char kEnableFilesDetailsPanel[] = "enable-files-details-panel"; | 138 const char kEnableFilesDetailsPanel[] = "enable-files-details-panel"; |
139 | 139 |
140 // Enables notification when device is in end of life status. | 140 // Disables notification when device is in end of life status. |
141 const char kEnableEolNotification[] = "enable-eol-notification"; | 141 const char kDisableEolNotification[] = "disable-eol-notification"; |
142 | 142 |
143 // If this switch is set, the device cannot be remotely disabled by its owner. | 143 // If this switch is set, the device cannot be remotely disabled by its owner. |
144 const char kDisableDeviceDisabling[] = "disable-device-disabling"; | 144 const char kDisableDeviceDisabling[] = "disable-device-disabling"; |
145 | 145 |
146 // If this switch is set, the new Korean IME will not be available in | 146 // If this switch is set, the new Korean IME will not be available in |
147 // chrome://settings/languages. | 147 // chrome://settings/languages. |
148 const char kDisableNewKoreanIme[] = "disable-new-korean-ime"; | 148 const char kDisableNewKoreanIme[] = "disable-new-korean-ime"; |
149 | 149 |
150 // Disables mtp write support. | 150 // Disables mtp write support. |
151 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support"; | 151 const char kDisableMtpWriteSupport[] = "disable-mtp-write-support"; |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); | 433 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); |
434 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) | 434 if (!command_line->HasSwitch(kTestCrosGaiaIdMigration)) |
435 return false; | 435 return false; |
436 | 436 |
437 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == | 437 return command_line->GetSwitchValueASCII(kTestCrosGaiaIdMigration) == |
438 kTestCrosGaiaIdMigrationStarted; | 438 kTestCrosGaiaIdMigrationStarted; |
439 } | 439 } |
440 | 440 |
441 } // namespace switches | 441 } // namespace switches |
442 } // namespace chromeos | 442 } // namespace chromeos |
OLD | NEW |