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