Home
last modified time | relevance | path

Searched refs:ProxyConfigDictionary (Results 1 – 16 of 16) sorted by relevance

/external/chromium/chrome/browser/prefs/
Dproxy_config_dictionary.cc28 ProxyConfigDictionary::ProxyConfigDictionary(const DictionaryValue* dict) in ProxyConfigDictionary() function in ProxyConfigDictionary
32 ProxyConfigDictionary::~ProxyConfigDictionary() {} in ~ProxyConfigDictionary()
34 bool ProxyConfigDictionary::GetMode(ProxyPrefs::ProxyMode* out) const { in GetMode()
40 bool ProxyConfigDictionary::GetPacUrl(std::string* out) const { in GetPacUrl()
44 bool ProxyConfigDictionary::GetProxyServer(std::string* out) const { in GetProxyServer()
48 bool ProxyConfigDictionary::GetBypassList(std::string* out) const { in GetBypassList()
52 bool ProxyConfigDictionary::HasBypassList() const { in HasBypassList()
57 DictionaryValue* ProxyConfigDictionary::CreateDirect() { in CreateDirect()
62 DictionaryValue* ProxyConfigDictionary::CreateAutoDetect() { in CreateAutoDetect()
67 DictionaryValue* ProxyConfigDictionary::CreatePacScript( in CreatePacScript()
[all …]
Dproxy_config_dictionary_unittest.cc20 scoped_ptr<DictionaryValue> dict_value(ProxyConfigDictionary::CreateDirect()); in TEST()
21 ProxyConfigDictionary dict(dict_value.get()); in TEST()
33 ProxyConfigDictionary::CreateAutoDetect()); in TEST()
34 ProxyConfigDictionary dict(dict_value.get()); in TEST()
46 ProxyConfigDictionary::CreatePacScript("pac")); in TEST()
47 ProxyConfigDictionary dict(dict_value.get()); in TEST()
60 ProxyConfigDictionary::CreateFixedServers("http://1.2.3.4", in TEST()
62 ProxyConfigDictionary dict(dict_value.get()); in TEST()
75 scoped_ptr<DictionaryValue> dict_value(ProxyConfigDictionary::CreateSystem()); in TEST()
76 ProxyConfigDictionary dict(dict_value.get()); in TEST()
Dproxy_config_dictionary.h26 class ProxyConfigDictionary {
29 explicit ProxyConfigDictionary(const DictionaryValue* dict);
30 ~ProxyConfigDictionary();
53 DISALLOW_COPY_AND_ASSIGN(ProxyConfigDictionary);
Dpref_service_unittest.cc172 void assertProxyMode(const ProxyConfigDictionary& dict, in assertProxyMode()
179 void assertProxyServer(const ProxyConfigDictionary& dict, in assertProxyServer()
190 void assertPacUrl(const ProxyConfigDictionary& dict, in assertPacUrl()
201 void assertBypassList(const ProxyConfigDictionary& dict, in assertBypassList()
212 void assertProxyModeWithoutParams(const ProxyConfigDictionary& dict, in assertProxyModeWithoutParams()
240 ProxyConfigDictionary dict(prefs->GetDictionary(prefs::kProxy)); in TEST()
253 ProxyConfigDictionary dict2(prefs2->GetDictionary(prefs::kProxy)); in TEST()
276 ProxyConfigDictionary dict(prefs->GetDictionary(prefs::kProxy)); in TEST()
290 ProxyConfigDictionary dict2(prefs2->GetDictionary(prefs::kProxy)); in TEST()
309 ProxyConfigDictionary dict(prefs->GetDictionary(prefs::kProxy)); in TEST()
[all …]
Dcommand_line_pref_store.cc82 ProxyConfigDictionary::CreateDirect()); in ApplyProxyMode()
87 ProxyConfigDictionary::CreatePacScript(pac_script_url)); in ApplyProxyMode()
90 ProxyConfigDictionary::CreateAutoDetect()); in ApplyProxyMode()
97 ProxyConfigDictionary::CreateFixedServers(proxy_server, in ApplyProxyMode()
Dcommand_line_pref_store_unittest.cc32 ProxyConfigDictionary dict(static_cast<const DictionaryValue*>(value)); in VerifyProxyMode()
99 ProxyConfigDictionary dict(static_cast<const DictionaryValue*>(value)); in TEST()
/external/chromium/chrome/browser/extensions/
Dextension_proxy_api_helpers_unittest.cc190 scoped_ptr<DictionaryValue> exp_direct(ProxyConfigDictionary::CreateDirect()); in TEST()
196 ProxyConfigDictionary::CreateAutoDetect()); in TEST()
203 ProxyConfigDictionary::CreatePacScript(kSamplePacScriptUrl)); in TEST()
210 ProxyConfigDictionary::CreatePacScript(kSamplePacScriptAsDataUrl)); in TEST()
217 ProxyConfigDictionary::CreateFixedServers("foo:80", "localhost")); in TEST()
223 scoped_ptr<DictionaryValue> exp_system(ProxyConfigDictionary::CreateSystem()); in TEST()
268 ProxyConfigDictionary::CreateFixedServers( in TEST()
271 ProxyConfigDictionary config(browser_pref.get()); in TEST()
294 ProxyConfigDictionary::CreatePacScript(kSamplePacScriptUrl)); in TEST()
295 ProxyConfigDictionary config(browser_pref.get()); in TEST()
[all …]
Dextension_proxy_api_helpers.h18 class ProxyConfigDictionary; variable
96 const ProxyConfigDictionary& proxy_config);
106 DictionaryValue* CreatePacScriptDict(const ProxyConfigDictionary& proxy_config);
Dextension_proxy_api_helpers.cc283 result_proxy_config = ProxyConfigDictionary::CreateDirect(); in CreateProxyConfigDict()
286 result_proxy_config = ProxyConfigDictionary::CreateAutoDetect(); in CreateProxyConfigDict()
302 result_proxy_config = ProxyConfigDictionary::CreatePacScript(url); in CreateProxyConfigDict()
310 result_proxy_config = ProxyConfigDictionary::CreateFixedServers( in CreateProxyConfigDict()
315 result_proxy_config = ProxyConfigDictionary::CreateSystem(); in CreateProxyConfigDict()
324 const ProxyConfigDictionary& proxy_config) { in CreateProxyRulesDict()
412 const ProxyConfigDictionary& proxy_config) { in CreatePacScriptDict()
Dextension_proxy_api.cc98 ProxyConfigDictionary config( in BrowserToExtensionPref()
Dextension_proxy_apitest.cc34 ProxyConfigDictionary dict(pref_service->GetDictionary(prefs::kProxy)); in ValidateSettings()
/external/chromium/chrome/browser/net/
Dpref_proxy_config_service_unittest.cc128 ProxyConfigDictionary::CreateFixedServers("http://example.com:3128", "")); in TEST_F()
142 ProxyConfigDictionary::CreateAutoDetect()); in TEST_F()
180 ProxyConfigDictionary::CreatePacScript(kFixedPacUrl)); in TEST_F()
232 ProxyConfigDictionary::CreateAutoDetect()); in TEST_F()
245 ProxyConfigDictionary::CreatePacScript(kFixedPacUrl)); in TEST_F()
Dpref_proxy_config_service.cc97 ProxyConfigDictionary proxy_dict(dict); in ReadPrefConfig()
108 const ProxyConfigDictionary& proxy_dict, in PrefConfigToNetConfig()
268 DictionaryValue* default_settings = ProxyConfigDictionary::CreateSystem(); in RegisterPrefs()
Dpref_proxy_config_service.h84 static bool PrefConfigToNetConfig(const ProxyConfigDictionary& proxy_dict,
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_pref_store.cc677 prefs_.SetValue(prefs::kProxy, ProxyConfigDictionary::CreateDirect()); in ApplyProxySettings()
680 prefs_.SetValue(prefs::kProxy, ProxyConfigDictionary::CreateAutoDetect()); in ApplyProxySettings()
691 ProxyConfigDictionary::CreatePacScript(pac_url)); in ApplyProxySettings()
706 ProxyConfigDictionary::CreateFixedServers(proxy_server, in ApplyProxySettings()
712 ProxyConfigDictionary::CreateSystem()); in ApplyProxySettings()
Dconfiguration_policy_pref_store_unittest.cc272 ProxyConfigDictionary dict(static_cast<const DictionaryValue*>(value)); in VerifyProxyPrefs()