| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 236 |
| 237 // Disable syncing of extensions. | 237 // Disable syncing of extensions. |
| 238 const char kDisableSyncExtensions[] = "disable-sync-extensions"; | 238 const char kDisableSyncExtensions[] = "disable-sync-extensions"; |
| 239 | 239 |
| 240 // Disable syncing of passwords. | 240 // Disable syncing of passwords. |
| 241 const char kDisableSyncPasswords[] = "disable-sync-passwords"; | 241 const char kDisableSyncPasswords[] = "disable-sync-passwords"; |
| 242 | 242 |
| 243 // Disable syncing of preferences. | 243 // Disable syncing of preferences. |
| 244 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 244 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
| 245 | 245 |
| 246 // Disable syncing of sessions. |
| 247 const char kDisableSyncSessions[] = "disable-sync-sessions"; |
| 248 |
| 246 // Disable syncing of themes. | 249 // Disable syncing of themes. |
| 247 const char kDisableSyncThemes[] = "disable-sync-themes"; | 250 const char kDisableSyncThemes[] = "disable-sync-themes"; |
| 248 | 251 |
| 249 // Disable syncing of typed urls. | 252 // Disable syncing of typed urls. |
| 250 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 253 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
| 251 | 254 |
| 252 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain | 255 // TabCloseableStateWatcher disallows closing of tabs and browsers under certain |
| 253 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we | 256 // situations on ChromeOS. Some tests expect tabs or browsers to close, so we |
| 254 // need a switch to disable the watcher. | 257 // need a switch to disable the watcher. |
| 255 const char kDisableTabCloseableStateWatcher[] = | 258 const char kDisableTabCloseableStateWatcher[] = |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 | 432 |
| 430 // Enable syncing browser extensions. | 433 // Enable syncing browser extensions. |
| 431 const char kEnableSyncExtensions[] = "enable-sync-extensions"; | 434 const char kEnableSyncExtensions[] = "enable-sync-extensions"; |
| 432 | 435 |
| 433 // Enable syncing browser passwords. | 436 // Enable syncing browser passwords. |
| 434 const char kEnableSyncPasswords[] = "enable-sync-passwords"; | 437 const char kEnableSyncPasswords[] = "enable-sync-passwords"; |
| 435 | 438 |
| 436 // Enable syncing browser preferences. | 439 // Enable syncing browser preferences. |
| 437 const char kEnableSyncPreferences[] = "enable-sync-preferences"; | 440 const char kEnableSyncPreferences[] = "enable-sync-preferences"; |
| 438 | 441 |
| 442 // Enable syncing browser sessions. |
| 443 const char kEnableSyncSessions[] = "enable-sync-sessions"; |
| 444 |
| 439 // Enable syncing browser themes. | 445 // Enable syncing browser themes. |
| 440 const char kEnableSyncThemes[] = "enable-sync-themes"; | 446 const char kEnableSyncThemes[] = "enable-sync-themes"; |
| 441 | 447 |
| 442 // Enable syncing browser typed urls. | 448 // Enable syncing browser typed urls. |
| 443 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; | 449 const char kEnableSyncTypedUrls[] = "enable-sync-typed-urls"; |
| 444 | 450 |
| 445 // Enable tabbed options, ie: dom-ui version of options window. | 451 // Enable tabbed options, ie: dom-ui version of options window. |
| 446 const char kEnableTabbedOptions[] = "enable-tabbed-options"; | 452 const char kEnableTabbedOptions[] = "enable-tabbed-options"; |
| 447 | 453 |
| 448 // Whether or not the touch events API is exposed. | 454 // Whether or not the touch events API is exposed. |
| (...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1166 | 1172 |
| 1167 // ----------------------------------------------------------------------------- | 1173 // ----------------------------------------------------------------------------- |
| 1168 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1174 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1169 // | 1175 // |
| 1170 // You were going to just dump your switches here, weren't you? Instead, | 1176 // You were going to just dump your switches here, weren't you? Instead, |
| 1171 // please put them in alphabetical order above, or in order inside the | 1177 // please put them in alphabetical order above, or in order inside the |
| 1172 // appropriate ifdef at the bottom. The order should match the header. | 1178 // appropriate ifdef at the bottom. The order should match the header. |
| 1173 // ----------------------------------------------------------------------------- | 1179 // ----------------------------------------------------------------------------- |
| 1174 | 1180 |
| 1175 } // namespace switches | 1181 } // namespace switches |
| OLD | NEW |