| Index: chrome/common/pref_names.cc
|
| diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
|
| index 07609e6aa3c5d08e22680957580f0cebe4ccac1d..77c8680cd178b13a4653b06349e1c7cc36b58201 100644
|
| --- a/chrome/common/pref_names.cc
|
| +++ b/chrome/common/pref_names.cc
|
| @@ -2114,8 +2114,39 @@ const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
|
| #endif
|
|
|
| // Whether DNS Quick Check is disabled in proxy resolution.
|
| +//
|
| +// This is a performance optimization for WPAD (Web Proxy
|
| +// Auto-Discovery) which places a 1 second timeout on resolving the
|
| +// DNS for PAC script URLs.
|
| +//
|
| +// It is on by default, but can be disabled via the Policy option
|
| +// "WPADQuickCheckEnbled". There is no other UI for changing this
|
| +// preference.
|
| +//
|
| +// For instance, if the DNS resolution for 'wpad' takes longer than 1
|
| +// second, auto-detection will give up and fallback to the next proxy
|
| +// configuration (which could be manually configured proxy server
|
| +// rules, or an implicit fallback to DIRECT connections).
|
| const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
|
|
|
| +// Whether PAC scripts are given a stripped https:// URL (enabled), or
|
| +// the full URL for https:// (disabled).
|
| +//
|
| +// This is a security feature which is on by default, and prevents PAC
|
| +// scripts (which may have been sourced in an untrusted manner) from
|
| +// having access to data that is ordinarily protected by a TLS channel
|
| +// (i.e. the path and query components of an https:// URL).
|
| +//
|
| +// This preference is not exposed in the UI, but is overridable using
|
| +// a Policy (PacHttpsUrlStrippingEnabled), or using a commandline
|
| +// flag --unsafe-pac-url.
|
| +//
|
| +// The ability to turn off this security feature is not intended to be
|
| +// a long-lived feature, but rather an escape-hatch for enterprises
|
| +// while rolling out the change to PAC.
|
| +const char kPacHttpsUrlStrippingEnabled[] =
|
| + "proxy.pac_https_url_stripping_enabled";
|
| +
|
| // Whether Guest Mode is enabled within the browser.
|
| const char kBrowserGuestModeEnabled[] = "profile.browser_guest_enabled";
|
|
|
|
|