OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 | 329 |
330 // Disables syncing of extensions. | 330 // Disables syncing of extensions. |
331 const char kDisableSyncExtensions[] = "disable-sync-extensions"; | 331 const char kDisableSyncExtensions[] = "disable-sync-extensions"; |
332 | 332 |
333 // Disables syncing browser passwords. | 333 // Disables syncing browser passwords. |
334 const char kDisableSyncPasswords[] = "disable-sync-passwords"; | 334 const char kDisableSyncPasswords[] = "disable-sync-passwords"; |
335 | 335 |
336 // Disables syncing of preferences. | 336 // Disables syncing of preferences. |
337 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 337 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
338 | 338 |
| 339 // Disable syncing custom search engines. |
| 340 const char kDisableSyncSearchEngines[] = "disable-sync-search-engines"; |
| 341 |
339 // Disables syncing of themes. | 342 // Disables syncing of themes. |
340 const char kDisableSyncThemes[] = "disable-sync-themes"; | 343 const char kDisableSyncThemes[] = "disable-sync-themes"; |
341 | 344 |
342 // Disables syncing browser typed urls. | 345 // Disables syncing browser typed urls. |
343 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 346 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
344 | 347 |
345 // TabCloseableStateWatcher disallows closing of tabs and browsers under | 348 // TabCloseableStateWatcher disallows closing of tabs and browsers under |
346 // certain situations on ChromeOS. Some tests expect tabs or browsers to close, | 349 // certain situations on ChromeOS. Some tests expect tabs or browsers to close, |
347 // so we need a switch to disable the watcher. | 350 // so we need a switch to disable the watcher. |
348 const char kDisableTabCloseableStateWatcher[] = | 351 const char kDisableTabCloseableStateWatcher[] = |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 | 535 |
533 // On platforms that support it, enables smooth scroll animation. | 536 // On platforms that support it, enables smooth scroll animation. |
534 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; | 537 const char kEnableSmoothScrolling[] = "enable-smooth-scrolling"; |
535 | 538 |
536 // Enables syncing extension settings. | 539 // Enables syncing extension settings. |
537 const char kEnableSyncExtensionSettings[] = "enable-sync-extension-settings"; | 540 const char kEnableSyncExtensionSettings[] = "enable-sync-extension-settings"; |
538 | 541 |
539 // Enables OAuth sign-in for sync. | 542 // Enables OAuth sign-in for sync. |
540 const char kEnableSyncOAuth[] = "enable-sync-oauth"; | 543 const char kEnableSyncOAuth[] = "enable-sync-oauth"; |
541 | 544 |
542 // Enables syncing custom search engines. | |
543 const char kEnableSyncSearchEngines[] = "enable-sync-search-engines"; | |
544 | |
545 // Enables syncing browser sessions. | 545 // Enables syncing browser sessions. |
546 const char kEnableSyncTabs[] = "enable-sync-tabs"; | 546 const char kEnableSyncTabs[] = "enable-sync-tabs"; |
547 | 547 |
548 // Enables syncing browser sessions for other synced clients. | 548 // Enables syncing browser sessions for other synced clients. |
549 const char kEnableSyncTabsForOtherClients[] = | 549 const char kEnableSyncTabsForOtherClients[] = |
550 "enable-sync-tabs-for-other-clients"; | 550 "enable-sync-tabs-for-other-clients"; |
551 | 551 |
552 // Enable syncing app notifications. | 552 // Enable syncing app notifications. |
553 const char kEnableSyncAppNotifications[] = "enable-sync-app-notifications"; | 553 const char kEnableSyncAppNotifications[] = "enable-sync-app-notifications"; |
554 | 554 |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1297 | 1297 |
1298 // ----------------------------------------------------------------------------- | 1298 // ----------------------------------------------------------------------------- |
1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1299 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1300 // | 1300 // |
1301 // You were going to just dump your switches here, weren't you? Instead, please | 1301 // You were going to just dump your switches here, weren't you? Instead, please |
1302 // put them in alphabetical order above, or in order inside the appropriate | 1302 // put them in alphabetical order above, or in order inside the appropriate |
1303 // ifdef at the bottom. The order should match the header. | 1303 // ifdef at the bottom. The order should match the header. |
1304 // ----------------------------------------------------------------------------- | 1304 // ----------------------------------------------------------------------------- |
1305 | 1305 |
1306 } // namespace switches | 1306 } // namespace switches |
OLD | NEW |