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/pref_names.h" | 5 #include "chrome/common/pref_names.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 | 796 |
797 // Patterns for mapping hostnames to content related settings. Default settings | 797 // Patterns for mapping hostnames to content related settings. Default settings |
798 // will be applied to hosts that don't match any of the patterns. Replaces | 798 // will be applied to hosts that don't match any of the patterns. Replaces |
799 // kPerHostContentSettings. The pattern format used is defined by | 799 // kPerHostContentSettings. The pattern format used is defined by |
800 // kContentSettingsVersion. | 800 // kContentSettingsVersion. |
801 const char kContentSettingsPatterns[] = "profile.content_settings.patterns"; | 801 const char kContentSettingsPatterns[] = "profile.content_settings.patterns"; |
802 | 802 |
803 const char kContentSettingsPatternPairs[] = | 803 const char kContentSettingsPatternPairs[] = |
804 "profile.content_settings.pattern_pairs"; | 804 "profile.content_settings.pattern_pairs"; |
805 | 805 |
| 806 // Version of the content settings whitelist. |
| 807 const char kContentSettingsDefaultWhitelistVersion[] = |
| 808 "profile.content_settings.whitelist_version"; |
| 809 |
| 810 // Which plugins have been whitelisted manually by the user. |
| 811 const char kContentSettingsPluginWhitelist[] = |
| 812 "profile.content_settings.plugin_whitelist"; |
| 813 |
806 // Boolean that is true if we should unconditionally block third-party cookies, | 814 // Boolean that is true if we should unconditionally block third-party cookies, |
807 // regardless of other content settings. | 815 // regardless of other content settings. |
808 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; | 816 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; |
809 | 817 |
810 // Boolean that is true when all locally stored site data (e.g. cookies, local | 818 // Boolean that is true when all locally stored site data (e.g. cookies, local |
811 // storage, etc..) should be deleted on exit. | 819 // storage, etc..) should be deleted on exit. |
812 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; | 820 const char kClearSiteDataOnExit[] = "profile.clear_site_data_on_exit"; |
813 | 821 |
814 // Double that indicates the default zoom level. | 822 // Double that indicates the default zoom level. |
815 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; | 823 const char kDefaultZoomLevel[] = "profile.default_zoom_level"; |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1739 | 1747 |
1740 // String that represents the recovery component last downloaded version. This | 1748 // String that represents the recovery component last downloaded version. This |
1741 // takes the usual 'a.b.c.d' notation. | 1749 // takes the usual 'a.b.c.d' notation. |
1742 const char kRecoveryComponentVersion[] = "recovery_component.version"; | 1750 const char kRecoveryComponentVersion[] = "recovery_component.version"; |
1743 | 1751 |
1744 // String that stores the component updater last known state. This is used for | 1752 // String that stores the component updater last known state. This is used for |
1745 // troubleshooting. | 1753 // troubleshooting. |
1746 const char kComponentUpdaterState[] = "component_updater.state"; | 1754 const char kComponentUpdaterState[] = "component_updater.state"; |
1747 | 1755 |
1748 } // namespace prefs | 1756 } // namespace prefs |
OLD | NEW |