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 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 // other. | 716 // other. |
717 const char kHelp[] = "help"; | 717 const char kHelp[] = "help"; |
718 const char kHelpShort[] = "h"; | 718 const char kHelpShort[] = "h"; |
719 | 719 |
720 // Makes Windows happy by allowing it to show "Enable access to this program" | 720 // Makes Windows happy by allowing it to show "Enable access to this program" |
721 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only | 721 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This only |
722 // shows an error box because the only way to hide Chrome is by uninstalling | 722 // shows an error box because the only way to hide Chrome is by uninstalling |
723 // it. | 723 // it. |
724 const char kHideIcons[] = "hide-icons"; | 724 const char kHideIcons[] = "hide-icons"; |
725 | 725 |
| 726 // Disables full history sync. |
| 727 const char kHistoryDisableFullHistorySync[] = "disable-full-history-sync"; |
| 728 |
726 // Enables full history sync (not just typed URLs) for signed-in users. | 729 // Enables full history sync (not just typed URLs) for signed-in users. |
727 const char kHistoryEnableFullHistorySync[] = "enable-full-history-sync"; | 730 const char kHistoryEnableFullHistorySync[] = "enable-full-history-sync"; |
728 | 731 |
729 // Disables full history sync. | 732 // Enables grouping websites by domain and filtering them by period. |
730 const char kHistoryDisableFullHistorySync[] = "disable-full-history-sync"; | 733 const char kHistoryEnableGrouped[] = "enable-grouped-history"; |
731 | 734 |
732 // Specifies which page will be displayed in newly-opened tabs. We need this | 735 // Specifies which page will be displayed in newly-opened tabs. We need this |
733 // for testing purposes so that the UI tests don't depend on what comes up for | 736 // for testing purposes so that the UI tests don't depend on what comes up for |
734 // http://google.com. | 737 // http://google.com. |
735 const char kHomePage[] = "homepage"; | 738 const char kHomePage[] = "homepage"; |
736 | 739 |
737 // Comma-separated list of rules that control how hostnames are mapped. | 740 // Comma-separated list of rules that control how hostnames are mapped. |
738 // | 741 // |
739 // For example: | 742 // For example: |
740 // "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1 | 743 // "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1 |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1620 | 1623 |
1621 // ----------------------------------------------------------------------------- | 1624 // ----------------------------------------------------------------------------- |
1622 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1625 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1623 // | 1626 // |
1624 // You were going to just dump your switches here, weren't you? Instead, please | 1627 // You were going to just dump your switches here, weren't you? Instead, please |
1625 // put them in alphabetical order above, or in order inside the appropriate | 1628 // put them in alphabetical order above, or in order inside the appropriate |
1626 // ifdef at the bottom. The order should match the header. | 1629 // ifdef at the bottom. The order should match the header. |
1627 // ----------------------------------------------------------------------------- | 1630 // ----------------------------------------------------------------------------- |
1628 | 1631 |
1629 } // namespace switches | 1632 } // namespace switches |
OLD | NEW |