| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
| 6 | 6 |
| 7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 295 |
| 296 // Disable syncing browser passwords. | 296 // Disable syncing browser passwords. |
| 297 const char kDisableSyncPasswords[] = "disable-sync-passwords"; | 297 const char kDisableSyncPasswords[] = "disable-sync-passwords"; |
| 298 | 298 |
| 299 // Disable syncing of preferences. | 299 // Disable syncing of preferences. |
| 300 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 300 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
| 301 | 301 |
| 302 // Disable syncing of themes. | 302 // Disable syncing of themes. |
| 303 const char kDisableSyncThemes[] = "disable-sync-themes"; | 303 const char kDisableSyncThemes[] = "disable-sync-themes"; |
| 304 | 304 |
| 305 // Enable the new autofill type. |
| 306 const char kEnableNewAutofillDataType[] = "enable-new-autofill-data-type"; |
| 307 |
| 305 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain | 308 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain |
| 306 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we | 309 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we |
| 307 // need a switch to disable the watcher. | 310 // need a switch to disable the watcher. |
| 308 const char kDisableTabCloseableStateWatcher[] = | 311 const char kDisableTabCloseableStateWatcher[] = |
| 309 "disable-tab-closeable-state-watcher"; | 312 "disable-tab-closeable-state-watcher"; |
| 310 | 313 |
| 311 // Allow disabling of translate from the command line to assist with | 314 // Allow disabling of translate from the command line to assist with |
| 312 // automated browser testing (e.g. Selenium/WebDriver). Normal | 315 // automated browser testing (e.g. Selenium/WebDriver). Normal |
| 313 // browser users should disable translate with the preference. | 316 // browser users should disable translate with the preference. |
| 314 const char kDisableTranslate[] = "disable-translate"; | 317 const char kDisableTranslate[] = "disable-translate"; |
| (...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1249 | 1252 |
| 1250 // ----------------------------------------------------------------------------- | 1253 // ----------------------------------------------------------------------------- |
| 1251 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1254 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1252 // | 1255 // |
| 1253 // You were going to just dump your switches here, weren't you? Instead, | 1256 // You were going to just dump your switches here, weren't you? Instead, |
| 1254 // please put them in alphabetical order above, or in order inside the | 1257 // please put them in alphabetical order above, or in order inside the |
| 1255 // appropriate ifdef at the bottom. The order should match the header. | 1258 // appropriate ifdef at the bottom. The order should match the header. |
| 1256 // ----------------------------------------------------------------------------- | 1259 // ----------------------------------------------------------------------------- |
| 1257 | 1260 |
| 1258 } // namespace switches | 1261 } // namespace switches |
| OLD | NEW |