Searched refs:ProxyConfigDictionary (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium/chrome/browser/prefs/
H A Dproxy_config_dictionary.cc28 ProxyConfigDictionary::ProxyConfigDictionary(const DictionaryValue* dict) function in class:ProxyConfigDictionary
32 ProxyConfigDictionary::~ProxyConfigDictionary() {}
34 bool ProxyConfigDictionary::GetMode(ProxyPrefs::ProxyMode* out) const {
40 bool ProxyConfigDictionary::GetPacUrl(std::string* out) const {
44 bool ProxyConfigDictionary::GetProxyServer(std::string* out) const {
48 bool ProxyConfigDictionary::GetBypassList(std::string* out) const {
52 bool ProxyConfigDictionary::HasBypassList() const {
57 DictionaryValue* ProxyConfigDictionary
[all...]
H A Dproxy_config_dictionary.h26 class ProxyConfigDictionary { class
29 explicit ProxyConfigDictionary(const DictionaryValue* dict);
30 ~ProxyConfigDictionary();
53 DISALLOW_COPY_AND_ASSIGN(ProxyConfigDictionary);
H A Dproxy_config_dictionary_unittest.cc20 scoped_ptr<DictionaryValue> dict_value(ProxyConfigDictionary::CreateDirect());
21 ProxyConfigDictionary dict(dict_value.get());
33 ProxyConfigDictionary::CreateAutoDetect());
34 ProxyConfigDictionary dict(dict_value.get());
46 ProxyConfigDictionary::CreatePacScript("pac"));
47 ProxyConfigDictionary dict(dict_value.get());
60 ProxyConfigDictionary::CreateFixedServers("http://1.2.3.4",
62 ProxyConfigDictionary dict(dict_value.get());
75 scoped_ptr<DictionaryValue> dict_value(ProxyConfigDictionary::CreateSystem());
76 ProxyConfigDictionary dic
[all...]
H A Dcommand_line_pref_store.cc82 ProxyConfigDictionary::CreateDirect());
87 ProxyConfigDictionary::CreatePacScript(pac_script_url));
90 ProxyConfigDictionary::CreateAutoDetect());
97 ProxyConfigDictionary::CreateFixedServers(proxy_server,
H A Dpref_service_unittest.cc172 void assertProxyMode(const ProxyConfigDictionary& dict,
179 void assertProxyServer(const ProxyConfigDictionary& dict,
190 void assertPacUrl(const ProxyConfigDictionary& dict,
201 void assertBypassList(const ProxyConfigDictionary& dict,
212 void assertProxyModeWithoutParams(const ProxyConfigDictionary& dict,
240 ProxyConfigDictionary dict(prefs->GetDictionary(prefs::kProxy));
253 ProxyConfigDictionary dict2(prefs2->GetDictionary(prefs::kProxy));
276 ProxyConfigDictionary dict(prefs->GetDictionary(prefs::kProxy));
290 ProxyConfigDictionary dict2(prefs2->GetDictionary(prefs::kProxy));
309 ProxyConfigDictionary dic
[all...]
/external/chromium_org/chrome/browser/prefs/
H A Dproxy_config_dictionary.cc32 ProxyConfigDictionary::ProxyConfigDictionary(const DictionaryValue* dict) function in class:ProxyConfigDictionary
36 ProxyConfigDictionary::~ProxyConfigDictionary() {}
38 bool ProxyConfigDictionary::GetMode(ProxyPrefs::ProxyMode* out) const {
44 bool ProxyConfigDictionary::GetPacUrl(std::string* out) const {
48 bool ProxyConfigDictionary::GetPacMandatory(bool* out) const {
56 bool ProxyConfigDictionary::GetProxyServer(std::string* out) const {
60 bool ProxyConfigDictionary::GetBypassList(std::string* out) const {
64 bool ProxyConfigDictionary
[all...]
H A Dproxy_config_dictionary_unittest.cc20 scoped_ptr<DictionaryValue> dict_value(ProxyConfigDictionary::CreateDirect());
21 ProxyConfigDictionary dict(dict_value.get());
33 ProxyConfigDictionary::CreateAutoDetect());
34 ProxyConfigDictionary dict(dict_value.get());
46 ProxyConfigDictionary::CreatePacScript("pac", false));
47 ProxyConfigDictionary dict(dict_value.get());
60 ProxyConfigDictionary::CreateFixedServers("http://1.2.3.4",
62 ProxyConfigDictionary dict(dict_value.get());
75 scoped_ptr<DictionaryValue> dict_value(ProxyConfigDictionary::CreateSystem());
76 ProxyConfigDictionary dic
[all...]
H A Dproxy_config_dictionary.h27 class ProxyConfigDictionary { class
30 explicit ProxyConfigDictionary(const base::DictionaryValue* dict);
31 ~ProxyConfigDictionary();
60 DISALLOW_COPY_AND_ASSIGN(ProxyConfigDictionary);
H A Dproxy_policy_unittest.cc32 void assertProxyMode(const ProxyConfigDictionary& dict,
39 void assertProxyServer(const ProxyConfigDictionary& dict,
50 void assertPacUrl(const ProxyConfigDictionary& dict,
61 void assertBypassList(const ProxyConfigDictionary& dict,
72 void assertProxyModeWithoutParams(const ProxyConfigDictionary& dict,
137 ProxyConfigDictionary dict(prefs->GetDictionary(prefs::kProxy));
147 ProxyConfigDictionary dict2(prefs->GetDictionary(prefs::kProxy));
167 ProxyConfigDictionary dict(prefs->GetDictionary(prefs::kProxy));
178 ProxyConfigDictionary dict2(prefs->GetDictionary(prefs::kProxy));
194 ProxyConfigDictionary dic
[all...]
H A Dcommand_line_pref_store.cc148 ProxyConfigDictionary::CreateDirect());
153 ProxyConfigDictionary::CreatePacScript(pac_script_url, false));
156 ProxyConfigDictionary::CreateAutoDetect());
163 ProxyConfigDictionary::CreateFixedServers(proxy_server,
/external/chromium_org/chrome/browser/chromeos/net/
H A Dproxy_config_handler.h13 class ProxyConfigDictionary;
29 scoped_ptr<ProxyConfigDictionary> GetProxyConfigForFavoriteNetwork(
35 void SetProxyConfigForFavoriteNetwork(const ProxyConfigDictionary& proxy_config,
H A Dproxy_config_handler.cc41 scoped_ptr<ProxyConfigDictionary> GetProxyConfigForFavoriteNetwork(
57 return scoped_ptr<ProxyConfigDictionary>();
62 return make_scoped_ptr(new ProxyConfigDictionary(proxy_dict.get()));
66 return scoped_ptr<ProxyConfigDictionary>();
72 return scoped_ptr<ProxyConfigDictionary>();
81 return scoped_ptr<ProxyConfigDictionary>();
90 return scoped_ptr<ProxyConfigDictionary>();
91 return make_scoped_ptr(new ProxyConfigDictionary(&value));
94 void SetProxyConfigForFavoriteNetwork(const ProxyConfigDictionary& proxy_config,
/external/chromium/chrome/browser/extensions/
H A Dextension_proxy_api_helpers.h18 class ProxyConfigDictionary;
38 // ProxyConfigDictionary.
93 // with the values of a ProxyConfigDictionary configured for fixed proxy
96 const ProxyConfigDictionary& proxy_config);
106 DictionaryValue* CreatePacScriptDict(const ProxyConfigDictionary& proxy_config);
H A Dextension_proxy_api_helpers_unittest.cc190 scoped_ptr<DictionaryValue> exp_direct(ProxyConfigDictionary::CreateDirect());
196 ProxyConfigDictionary::CreateAutoDetect());
203 ProxyConfigDictionary::CreatePacScript(kSamplePacScriptUrl));
210 ProxyConfigDictionary::CreatePacScript(kSamplePacScriptAsDataUrl));
217 ProxyConfigDictionary::CreateFixedServers("foo:80", "localhost"));
223 scoped_ptr<DictionaryValue> exp_system(ProxyConfigDictionary::CreateSystem());
268 ProxyConfigDictionary::CreateFixedServers(
271 ProxyConfigDictionary config(browser_pref.get());
294 ProxyConfigDictionary::CreatePacScript(kSamplePacScriptUrl));
295 ProxyConfigDictionary confi
[all...]
H A Dextension_proxy_api_helpers.cc283 result_proxy_config = ProxyConfigDictionary::CreateDirect();
286 result_proxy_config = ProxyConfigDictionary::CreateAutoDetect();
302 result_proxy_config = ProxyConfigDictionary::CreatePacScript(url);
310 result_proxy_config = ProxyConfigDictionary::CreateFixedServers(
315 result_proxy_config = ProxyConfigDictionary::CreateSystem();
324 const ProxyConfigDictionary& proxy_config) {
412 const ProxyConfigDictionary& proxy_config) {
/external/chromium_org/chrome/browser/chromeos/
H A Dui_proxy_config.cc106 return ProxyConfigDictionary::CreateDirect();
109 return ProxyConfigDictionary::CreateAutoDetect();
112 return ProxyConfigDictionary::CreatePacScript(
119 return ProxyConfigDictionary::CreateFixedServers(
128 return ProxyConfigDictionary::CreateFixedServers(
H A Dui_proxy_config_service.cc46 scoped_ptr<ProxyConfigDictionary> proxy_dict =
123 ProxyConfigDictionary proxy_config_dict(proxy_config_value.get());
H A Dproxy_config_service_impl_unittest.cc275 new_config = ProxyConfigDictionary::CreateDirect();
278 new_config = ProxyConfigDictionary::CreateAutoDetect();
282 ProxyConfigDictionary::CreatePacScript(input.pac_url, false);
287 ProxyConfigDictionary::CreateFixedServers(input.server,
/external/chromium_org/chrome/browser/extensions/api/proxy/
H A Dproxy_api_helpers.h15 class ProxyConfigDictionary;
41 // ProxyConfigDictionary.
113 // with the values of a ProxyConfigDictionary configured for fixed proxy
116 const ProxyConfigDictionary& proxy_config);
127 const ProxyConfigDictionary& proxy_config);
H A Dproxy_api_helpers_unittest.cc224 ProxyConfigDictionary::CreateDirect());
236 ProxyConfigDictionary::CreateAutoDetect());
248 ProxyConfigDictionary::CreatePacScript(kSamplePacScriptUrl, false));
260 ProxyConfigDictionary::CreatePacScript(kSamplePacScriptAsDataUrl, false));
272 ProxyConfigDictionary::CreateFixedServers("foo:80", "localhost"));
284 ProxyConfigDictionary::CreateSystem());
340 ProxyConfigDictionary::CreateFixedServers(
343 ProxyConfigDictionary config(browser_pref.get());
367 ProxyConfigDictionary::CreateFixedServers(
371 ProxyConfigDictionary confi
[all...]
H A Dproxy_api_helpers.cc320 result_proxy_config = ProxyConfigDictionary::CreateDirect();
323 result_proxy_config = ProxyConfigDictionary::CreateAutoDetect();
340 ProxyConfigDictionary::CreatePacScript(url, pac_mandatory);
348 result_proxy_config = ProxyConfigDictionary::CreateFixedServers(
353 result_proxy_config = ProxyConfigDictionary::CreateSystem();
362 const ProxyConfigDictionary& proxy_config) {
456 const ProxyConfigDictionary& proxy_config) {
/external/chromium_org/chrome/browser/net/
H A Dpref_proxy_config_tracker_impl_unittest.cc138 ProxyConfigDictionary::CreateFixedServers(
153 ProxyConfigDictionary::CreateAutoDetect());
191 ProxyConfigDictionary::CreatePacScript(kFixedPacUrl, false));
243 ProxyConfigDictionary::CreateAutoDetect());
256 ProxyConfigDictionary::CreatePacScript(kFixedPacUrl, false));
280 ProxyConfigDictionary::CreateAutoDetect());
283 ProxyConfigDictionary::CreateSystem());
H A Dproxy_policy_handler.cc175 prefs->SetValue(prefs::kProxy, ProxyConfigDictionary::CreateDirect());
178 prefs->SetValue(prefs::kProxy, ProxyConfigDictionary::CreateAutoDetect());
185 ProxyConfigDictionary::CreatePacScript(pac_url_string, false));
198 ProxyConfigDictionary::CreateFixedServers(
204 prefs->SetValue(prefs::kProxy, ProxyConfigDictionary::CreateSystem());
H A Dpref_proxy_config_tracker_impl.cc205 DictionaryValue* default_settings = ProxyConfigDictionary::CreateSystem();
212 DictionaryValue* default_settings = ProxyConfigDictionary::CreateSystem();
235 ProxyConfigDictionary proxy_dict(dict);
279 const ProxyConfigDictionary& proxy_dict,
/external/chromium/chrome/browser/net/
H A Dpref_proxy_config_service.h82 // Converts a ProxyConfigDictionary to net::ProxyConfig representation.
84 static bool PrefConfigToNetConfig(const ProxyConfigDictionary& proxy_dict,

Completed in 264 milliseconds

12