| 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 "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 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 | 393 |
| 394 // Disables syncing browser passwords. | 394 // Disables syncing browser passwords. |
| 395 const char kDisableSyncPasswords[] = "disable-sync-passwords"; | 395 const char kDisableSyncPasswords[] = "disable-sync-passwords"; |
| 396 | 396 |
| 397 // Disables syncing of preferences. | 397 // Disables syncing of preferences. |
| 398 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 398 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
| 399 | 399 |
| 400 // Disable syncing custom search engines. | 400 // Disable syncing custom search engines. |
| 401 const char kDisableSyncSearchEngines[] = "disable-sync-search-engines"; | 401 const char kDisableSyncSearchEngines[] = "disable-sync-search-engines"; |
| 402 | 402 |
| 403 // Disables synced notifications. | |
| 404 const char kDisableSyncSyncedNotifications[] = | |
| 405 "disable-sync-synced-notifications"; | |
| 406 | |
| 407 // Disables syncing browser sessions. Will override kEnableSyncTabs. | 403 // Disables syncing browser sessions. Will override kEnableSyncTabs. |
| 408 const char kDisableSyncTabs[] = "disable-sync-tabs"; | 404 const char kDisableSyncTabs[] = "disable-sync-tabs"; |
| 409 | 405 |
| 410 // Disables syncing of themes. | 406 // Disables syncing of themes. |
| 411 const char kDisableSyncThemes[] = "disable-sync-themes"; | 407 const char kDisableSyncThemes[] = "disable-sync-themes"; |
| 412 | 408 |
| 413 // Disables syncing browser typed urls. | 409 // Disables syncing browser typed urls. |
| 414 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; | 410 const char kDisableSyncTypedUrls[] = "disable-sync-typed-urls"; |
| 415 | 411 |
| 416 // Allows disabling of translate from the command line to assist with automated | 412 // Allows disabling of translate from the command line to assist with automated |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 | 624 |
| 629 // Enables auto correction for misspelled words. | 625 // Enables auto correction for misspelled words. |
| 630 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; | 626 const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; |
| 631 | 627 |
| 632 // Enables the stacked tabstrip. | 628 // Enables the stacked tabstrip. |
| 633 const char kEnableStackedTabStrip[] = "enable-stacked-tab-strip"; | 629 const char kEnableStackedTabStrip[] = "enable-stacked-tab-strip"; |
| 634 | 630 |
| 635 // Enables experimental suggestions pane in New Tab page. | 631 // Enables experimental suggestions pane in New Tab page. |
| 636 const char kEnableSuggestionsTabPage[] = "enable-suggestions-ntp"; | 632 const char kEnableSuggestionsTabPage[] = "enable-suggestions-ntp"; |
| 637 | 633 |
| 634 // Enables synced notifications. |
| 635 const char kEnableSyncSyncedNotifications[] = |
| 636 "enable-sync-synced-notifications"; |
| 637 |
| 638 // Enables synced favicons | 638 // Enables synced favicons |
| 639 const char kEnableSyncFavicons[] = "enable-sync-favicons"; | 639 const char kEnableSyncFavicons[] = "enable-sync-favicons"; |
| 640 | 640 |
| 641 // Enables context menu for selecting groups of tabs. | 641 // Enables context menu for selecting groups of tabs. |
| 642 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; | 642 const char kEnableTabGroupsContextMenu[] = "enable-tab-groups-context-menu"; |
| 643 | 643 |
| 644 // Enables Alternate-Protocol when the port is user controlled (> 1024). | 644 // Enables Alternate-Protocol when the port is user controlled (> 1024). |
| 645 const char kEnableUserAlternateProtocolPorts[] = | 645 const char kEnableUserAlternateProtocolPorts[] = |
| 646 "enable-user-controlled-alternate-protocol-ports"; | 646 "enable-user-controlled-alternate-protocol-ports"; |
| 647 | 647 |
| (...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1690 | 1690 |
| 1691 // ----------------------------------------------------------------------------- | 1691 // ----------------------------------------------------------------------------- |
| 1692 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1692 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1693 // | 1693 // |
| 1694 // You were going to just dump your switches here, weren't you? Instead, please | 1694 // You were going to just dump your switches here, weren't you? Instead, please |
| 1695 // put them in alphabetical order above, or in order inside the appropriate | 1695 // put them in alphabetical order above, or in order inside the appropriate |
| 1696 // ifdef at the bottom. The order should match the header. | 1696 // ifdef at the bottom. The order should match the header. |
| 1697 // ----------------------------------------------------------------------------- | 1697 // ----------------------------------------------------------------------------- |
| 1698 | 1698 |
| 1699 } // namespace switches | 1699 } // namespace switches |
| OLD | NEW |