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 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
997 | 997 |
998 // Version of the pattern format used to define content settings. | 998 // Version of the pattern format used to define content settings. |
999 const char kContentSettingsVersion[] = "profile.content_settings.pref_version"; | 999 const char kContentSettingsVersion[] = "profile.content_settings.pref_version"; |
1000 | 1000 |
1001 // Patterns for mapping origins to origin related settings. Default settings | 1001 // Patterns for mapping origins to origin related settings. Default settings |
1002 // will be applied to origins that don't match any of the patterns. The pattern | 1002 // will be applied to origins that don't match any of the patterns. The pattern |
1003 // format used is defined by kContentSettingsVersion. | 1003 // format used is defined by kContentSettingsVersion. |
1004 const char kContentSettingsPatternPairs[] = | 1004 const char kContentSettingsPatternPairs[] = |
1005 "profile.content_settings.pattern_pairs"; | 1005 "profile.content_settings.pattern_pairs"; |
1006 | 1006 |
1007 // Version of the content settings whitelist. | |
1008 const char kContentSettingsDefaultWhitelistVersion[] = | |
1009 "profile.content_settings.whitelist_version"; | |
1010 | |
1011 #if !defined(OS_ANDROID) | 1007 #if !defined(OS_ANDROID) |
1012 // Which plugins have been whitelisted manually by the user. | 1008 // Which plugins have been whitelisted manually by the user. |
1013 const char kContentSettingsPluginWhitelist[] = | 1009 const char kContentSettingsPluginWhitelist[] = |
1014 "profile.content_settings.plugin_whitelist"; | 1010 "profile.content_settings.plugin_whitelist"; |
1015 #endif | 1011 #endif |
1016 | 1012 |
1017 // Boolean that is true if we should unconditionally block third-party cookies, | 1013 // Boolean that is true if we should unconditionally block third-party cookies, |
1018 // regardless of other content settings. | 1014 // regardless of other content settings. |
1019 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; | 1015 const char kBlockThirdPartyCookies[] = "profile.block_third_party_cookies"; |
1020 | 1016 |
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2318 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2314 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2319 #endif | 2315 #endif |
2320 | 2316 |
2321 // Whether DNS Quick Check is disabled in proxy resolution. | 2317 // Whether DNS Quick Check is disabled in proxy resolution. |
2322 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2318 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2323 | 2319 |
2324 // Whether Guest Mode is enabled within the browser. | 2320 // Whether Guest Mode is enabled within the browser. |
2325 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; | 2321 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; |
2326 | 2322 |
2327 } // namespace prefs | 2323 } // namespace prefs |
OLD | NEW |