| 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/macros.h" | 7 #include "base/macros.h" |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "chrome/common/pref_font_webkit_names.h" | 9 #include "chrome/common/pref_font_webkit_names.h" |
| 10 | 10 |
| (...skipping 2096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2107 #if BUILDFLAG(ANDROID_JAVA_UI) | 2107 #if BUILDFLAG(ANDROID_JAVA_UI) |
| 2108 // A list of partner bookmark rename/remove mappings. | 2108 // A list of partner bookmark rename/remove mappings. |
| 2109 // Each list item is a dictionary containing a "url", a "provider_title" and | 2109 // Each list item is a dictionary containing a "url", a "provider_title" and |
| 2110 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2110 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
| 2111 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2111 // given by the PartnerBookmarksProvider and either the user-visible renamed |
| 2112 // title or an empty string if the bookmark node was removed. | 2112 // title or an empty string if the bookmark node was removed. |
| 2113 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2113 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
| 2114 #endif | 2114 #endif |
| 2115 | 2115 |
| 2116 // Whether DNS Quick Check is disabled in proxy resolution. | 2116 // Whether DNS Quick Check is disabled in proxy resolution. |
| 2117 // |
| 2118 // This is a performance optimization for WPAD (Web Proxy |
| 2119 // Auto-Discovery) which places a 1 second timeout on resolving the |
| 2120 // DNS for PAC script URLs. |
| 2121 // |
| 2122 // It is on by default, but can be disabled via the Policy option |
| 2123 // "WPADQuickCheckEnbled". There is no other UI for changing this |
| 2124 // preference. |
| 2125 // |
| 2126 // For instance, if the DNS resolution for 'wpad' takes longer than 1 |
| 2127 // second, auto-detection will give up and fallback to the next proxy |
| 2128 // configuration (which could be manually configured proxy server |
| 2129 // rules, or an implicit fallback to DIRECT connections). |
| 2117 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2130 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
| 2118 | 2131 |
| 2132 // Whether PAC scripts are given a stripped https:// URL (enabled), or |
| 2133 // the full URL for https:// (disabled). |
| 2134 // |
| 2135 // This is a security feature which is on by default, and prevents PAC |
| 2136 // scripts (which may have been sourced in an untrusted manner) from |
| 2137 // having access to data that is ordinarily protected by a TLS channel |
| 2138 // (i.e. the path and query components of an https:// URL). |
| 2139 // |
| 2140 // This preference is not exposed in the UI, but is overridable using |
| 2141 // a Policy (PacHttpsUrlStrippingEnabled), or using a commandline |
| 2142 // flag --unsafe-pac-url. |
| 2143 // |
| 2144 // The ability to turn off this security feature is not intended to be |
| 2145 // a long-lived feature, but rather an escape-hatch for enterprises |
| 2146 // while rolling out the change to PAC. |
| 2147 const char kPacHttpsUrlStrippingEnabled[] = |
| 2148 "proxy.pac_https_url_stripping_enabled"; |
| 2149 |
| 2119 // Whether Guest Mode is enabled within the browser. | 2150 // Whether Guest Mode is enabled within the browser. |
| 2120 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; | 2151 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; |
| 2121 | 2152 |
| 2122 // Whether Adding a new Person is enabled within the user manager. | 2153 // Whether Adding a new Person is enabled within the user manager. |
| 2123 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; | 2154 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; |
| 2124 | 2155 |
| 2125 // Device identifier used by Easy Unlock stored in local state. This id will be | 2156 // Device identifier used by Easy Unlock stored in local state. This id will be |
| 2126 // combined with a user id, before being registered with the CryptAuth server, | 2157 // combined with a user id, before being registered with the CryptAuth server, |
| 2127 // so it can't correlate users on the same device. | 2158 // so it can't correlate users on the same device. |
| 2128 const char kEasyUnlockDeviceId[] = "easy_unlock.device_id"; | 2159 const char kEasyUnlockDeviceId[] = "easy_unlock.device_id"; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2179 const char kMediaRouterEnableCloudServices[] = | 2210 const char kMediaRouterEnableCloudServices[] = |
| 2180 "media_router.cloudservices.enabled"; | 2211 "media_router.cloudservices.enabled"; |
| 2181 #endif // defined(GOOGLE_CHROME_BUILD) | 2212 #endif // defined(GOOGLE_CHROME_BUILD) |
| 2182 // Whether or not the Media Router first run flow has been acknowledged by the | 2213 // Whether or not the Media Router first run flow has been acknowledged by the |
| 2183 // user. | 2214 // user. |
| 2184 const char kMediaRouterFirstRunFlowAcknowledged[] = | 2215 const char kMediaRouterFirstRunFlowAcknowledged[] = |
| 2185 "media_router.firstrunflow.acknowledged"; | 2216 "media_router.firstrunflow.acknowledged"; |
| 2186 #endif | 2217 #endif |
| 2187 | 2218 |
| 2188 } // namespace prefs | 2219 } // namespace prefs |
| OLD | NEW |