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

Unified Diff: chrome/browser/io_thread.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index d6fff0794518dc406b3cebaecd4c2b381b067e16..dd780b8cd9e932313429d846226841f1c13c7d57 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -238,6 +238,17 @@ class IOThread : public content::BrowserThreadDelegate {
// Un-registers the |observer|.
void UnregisterSTHObserver(net::ct::STHObserver* observer);
+ // Returns true if the indicated proxy resolution features are
+ // enabled. These features are controlled through
+ // preferences/policy/commandline.
+ //
+ // For a description of what these features are, and how they are
+ // configured, see the comments in pref_names.cc for
+ // |kQuickCheckEnabled| and |kPacHttpsUrlStrippingEnabled
+ // respectively.
+ bool WpadQuickCheckEnabled() const;
+ bool PacHttpsUrlStrippingEnabled() const;
+
private:
// Provide SystemURLRequestContextGetter with access to
// InitSystemRequestContext().
@@ -328,6 +339,8 @@ class IOThread : public content::BrowserThreadDelegate {
BooleanPrefMember quick_check_enabled_;
+ BooleanPrefMember pac_https_url_stripping_enabled_;
+
// Store HTTP Auth-related policies in this thread.
// TODO(aberent) Make the list of auth schemes a PrefMember, so that the
// policy can change after startup (https://crbug/549273).
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698