Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: chrome/common/pref_names.cc

Issue 2030193004: Add a policy for disabling the stripping of PAC URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add better documentatiob Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2100 matching lines...) Expand 10 before | Expand all | Expand 10 after
2111 #if BUILDFLAG(ANDROID_JAVA_UI) 2111 #if BUILDFLAG(ANDROID_JAVA_UI)
2112 // A list of partner bookmark rename/remove mappings. 2112 // A list of partner bookmark rename/remove mappings.
2113 // Each list item is a dictionary containing a "url", a "provider_title" and 2113 // Each list item is a dictionary containing a "url", a "provider_title" and
2114 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2114 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2115 // given by the PartnerBookmarksProvider and either the user-visible renamed 2115 // given by the PartnerBookmarksProvider and either the user-visible renamed
2116 // title or an empty string if the bookmark node was removed. 2116 // title or an empty string if the bookmark node was removed.
2117 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2117 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2118 #endif 2118 #endif
2119 2119
2120 // Whether DNS Quick Check is disabled in proxy resolution. 2120 // Whether DNS Quick Check is disabled in proxy resolution.
2121 //
2122 // This is a performance optimization for WPAD (Web Proxy
2123 // Auto-Discovery) which places a 1 second timeout on resolving the
2124 // DNS for PAC script URLs.
2125 //
2126 // It is on by default, but can be disabled via the Policy option
2127 // "WPADQuickCheckEnbled". There is no other UI for changing this
2128 // preference.
2129 //
2130 // For instance, if the DNS resolution for 'wpad' takes longer than 1
2131 // second, auto-detection will give up and fallback to the next proxy
2132 // configuration (which could be manually configured proxy server
2133 // rules, or an implicit fallback to DIRECT connections).
2121 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2134 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2122 2135
2136 // Whether PAC scripts are given a stripped https:// URL (enabled), or
2137 // the full URL for https:// (disabled).
2138 //
2139 // This is a security feature which is on by default, and prevents PAC
2140 // scripts (which may have been sourced in an untrusted manner) from
2141 // having access to data that is ordinarily protected by a TLS channel
2142 // (i.e. the path and query components of an https:// URL).
2143 //
2144 // This preference is not exposed in the UI, but is overridable using
2145 // a Policy (PacHttpsUrlStrippingEnabled), or using a commandline
2146 // flag --unsafe-pac-url.
2147 //
2148 // The ability to turn off this security feature is not intended to be
2149 // a long-lived feature, but rather an escape-hatch for enterprises
2150 // while rolling out the change to PAC.
2151 const char kPacHttpsUrlStrippingEnabled[] =
2152 "proxy.pac_https_url_stripping_enabled";
2153
2123 // Whether Guest Mode is enabled within the browser. 2154 // Whether Guest Mode is enabled within the browser.
2124 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled"; 2155 const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
2125 2156
2126 // Whether Adding a new Person is enabled within the user manager. 2157 // Whether Adding a new Person is enabled within the user manager.
2127 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled"; 2158 const char kBrowserAddPersonEnabled[] = "profile.add_person_enabled";
2128 2159
2129 // Device identifier used by Easy Unlock stored in local state. This id will be 2160 // Device identifier used by Easy Unlock stored in local state. This id will be
2130 // combined with a user id, before being registered with the CryptAuth server, 2161 // combined with a user id, before being registered with the CryptAuth server,
2131 // so it can't correlate users on the same device. 2162 // so it can't correlate users on the same device.
2132 const char kEasyUnlockDeviceId[] = "easy_unlock.device_id"; 2163 const char kEasyUnlockDeviceId[] = "easy_unlock.device_id";
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
2183 const char kMediaRouterEnableCloudServices[] = 2214 const char kMediaRouterEnableCloudServices[] =
2184 "media_router.cloudservices.enabled"; 2215 "media_router.cloudservices.enabled";
2185 #endif // defined(GOOGLE_CHROME_BUILD) 2216 #endif // defined(GOOGLE_CHROME_BUILD)
2186 // Whether or not the Media Router first run flow has been acknowledged by the 2217 // Whether or not the Media Router first run flow has been acknowledged by the
2187 // user. 2218 // user.
2188 const char kMediaRouterFirstRunFlowAcknowledged[] = 2219 const char kMediaRouterFirstRunFlowAcknowledged[] =
2189 "media_router.firstrunflow.acknowledged"; 2220 "media_router.firstrunflow.acknowledged";
2190 #endif 2221 #endif
2191 2222
2192 } // namespace prefs 2223 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698