summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs/proxy_config_dictionary.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/prefs/proxy_config_dictionary.h')
-rw-r--r--chrome/browser/prefs/proxy_config_dictionary.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/prefs/proxy_config_dictionary.h b/chrome/browser/prefs/proxy_config_dictionary.h
index c05f182..3eeac12 100644
--- a/chrome/browser/prefs/proxy_config_dictionary.h
+++ b/chrome/browser/prefs/proxy_config_dictionary.h
@@ -31,13 +31,15 @@ class ProxyConfigDictionary {
bool GetMode(ProxyPrefs::ProxyMode* out) const;
bool GetPacUrl(std::string* out) const;
+ bool GetPacMandatory(bool* out) const;
bool GetProxyServer(std::string* out) const;
bool GetBypassList(std::string* out) const;
bool HasBypassList() const;
static DictionaryValue* CreateDirect();
static DictionaryValue* CreateAutoDetect();
- static DictionaryValue* CreatePacScript(const std::string& pac_url);
+ static DictionaryValue* CreatePacScript(const std::string& pac_url,
+ bool pac_mandatory);
static DictionaryValue* CreateFixedServers(
const std::string& proxy_server,
const std::string& bypass_list);
@@ -45,6 +47,7 @@ class ProxyConfigDictionary {
private:
static DictionaryValue* CreateDictionary(ProxyPrefs::ProxyMode mode,
const std::string& pac_url,
+ bool pac_mandatory,
const std::string& proxy_server,
const std::string& bypass_list);