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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 | 389 |
390 // Disables syncing of dictionary. | 390 // Disables syncing of dictionary. |
391 const char kDisableSyncDictionary[] = "disable-sync-dictionary"; | 391 const char kDisableSyncDictionary[] = "disable-sync-dictionary"; |
392 | 392 |
393 // Disables syncing extension settings. | 393 // Disables syncing extension settings. |
394 const char kDisableSyncExtensionSettings[] = "disable-sync-extension-settings"; | 394 const char kDisableSyncExtensionSettings[] = "disable-sync-extension-settings"; |
395 | 395 |
396 // Disables syncing of extensions. | 396 // Disables syncing of extensions. |
397 const char kDisableSyncExtensions[] = "disable-sync-extensions"; | 397 const char kDisableSyncExtensions[] = "disable-sync-extensions"; |
398 | 398 |
399 // Disables syncing of history delete directives. | |
400 const char kDisableSyncHistoryDeleteDirectives[] = | |
401 "disable-sync-history-delete-directives"; | |
402 | |
403 // Disables syncing browser passwords. | 399 // Disables syncing browser passwords. |
404 const char kDisableSyncPasswords[] = "disable-sync-passwords"; | 400 const char kDisableSyncPasswords[] = "disable-sync-passwords"; |
405 | 401 |
406 // Disables syncing of preferences. | 402 // Disables syncing of preferences. |
407 const char kDisableSyncPreferences[] = "disable-sync-preferences"; | 403 const char kDisableSyncPreferences[] = "disable-sync-preferences"; |
408 | 404 |
409 // Disables syncing of priority preferences. | 405 // Disables syncing of priority preferences. |
410 const char kDisableSyncPriorityPreferences[] = | 406 const char kDisableSyncPriorityPreferences[] = |
411 "disable-sync-priority-preferences"; | 407 "disable-sync-priority-preferences"; |
412 | 408 |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 | 746 |
751 // Makes Windows happy by allowing it to show "Enable access to this program" | 747 // Makes Windows happy by allowing it to show "Enable access to this program" |
752 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only | 748 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only |
753 // shows an error box because the only way to hide Chrome is by uninstalling | 749 // shows an error box because the only way to hide Chrome is by uninstalling |
754 // it. | 750 // it. |
755 const char kHideIcons[] = "hide-icons"; | 751 const char kHideIcons[] = "hide-icons"; |
756 | 752 |
757 // Disables full history sync. | 753 // Disables full history sync. |
758 const char kHistoryDisableFullHistorySync[] = "disable-full-history-sync"; | 754 const char kHistoryDisableFullHistorySync[] = "disable-full-history-sync"; |
759 | 755 |
760 // Enables full history sync (not just typed URLs) for signed-in users. | |
761 const char kHistoryEnableFullHistorySync[] = "enable-full-history-sync"; | |
762 | |
763 // Enables grouping websites by domain and filtering them by period. | 756 // Enables grouping websites by domain and filtering them by period. |
764 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; | 757 const char kHistoryEnableGroupByDomain[] = "enable-grouped-history"; |
765 | 758 |
766 // Specifies which page will be displayed in newly-opened tabs. We need this | 759 // Specifies which page will be displayed in newly-opened tabs. We need this |
767 // for testing purposes so that the UI tests don't depend on what comes up for | 760 // for testing purposes so that the UI tests don't depend on what comes up for |
768 // http://google.com. | 761 // http://google.com. |
769 const char kHomePage[] = "homepage"; | 762 const char kHomePage[] = "homepage"; |
770 | 763 |
771 // Comma-separated list of rules that control how hostnames are mapped. | 764 // Comma-separated list of rules that control how hostnames are mapped. |
772 // | 765 // |
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1688 | 1681 |
1689 // ----------------------------------------------------------------------------- | 1682 // ----------------------------------------------------------------------------- |
1690 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1683 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1691 // | 1684 // |
1692 // You were going to just dump your switches here, weren't you? Instead, please | 1685 // You were going to just dump your switches here, weren't you? Instead, please |
1693 // put them in alphabetical order above, or in order inside the appropriate | 1686 // put them in alphabetical order above, or in order inside the appropriate |
1694 // ifdef at the bottom. The order should match the header. | 1687 // ifdef at the bottom. The order should match the header. |
1695 // ----------------------------------------------------------------------------- | 1688 // ----------------------------------------------------------------------------- |
1696 | 1689 |
1697 } // namespace switches | 1690 } // namespace switches |
OLD | NEW |