/external/chromium/chrome/browser/prefs/ |
D | proxy_config_dictionary.cc | 28 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 …]
|
D | proxy_config_dictionary_unittest.cc | 20 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()
|
D | proxy_config_dictionary.h | 26 class ProxyConfigDictionary { 29 explicit ProxyConfigDictionary(const DictionaryValue* dict); 30 ~ProxyConfigDictionary(); 53 DISALLOW_COPY_AND_ASSIGN(ProxyConfigDictionary);
|
D | pref_service_unittest.cc | 172 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 …]
|
D | command_line_pref_store.cc | 82 ProxyConfigDictionary::CreateDirect()); in ApplyProxyMode() 87 ProxyConfigDictionary::CreatePacScript(pac_script_url)); in ApplyProxyMode() 90 ProxyConfigDictionary::CreateAutoDetect()); in ApplyProxyMode() 97 ProxyConfigDictionary::CreateFixedServers(proxy_server, in ApplyProxyMode()
|
D | command_line_pref_store_unittest.cc | 32 ProxyConfigDictionary dict(static_cast<const DictionaryValue*>(value)); in VerifyProxyMode() 99 ProxyConfigDictionary dict(static_cast<const DictionaryValue*>(value)); in TEST()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_proxy_api_helpers_unittest.cc | 190 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 …]
|
D | extension_proxy_api_helpers.h | 18 class ProxyConfigDictionary; variable 96 const ProxyConfigDictionary& proxy_config); 106 DictionaryValue* CreatePacScriptDict(const ProxyConfigDictionary& proxy_config);
|
D | extension_proxy_api_helpers.cc | 283 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()
|
D | extension_proxy_api.cc | 98 ProxyConfigDictionary config( in BrowserToExtensionPref()
|
D | extension_proxy_apitest.cc | 34 ProxyConfigDictionary dict(pref_service->GetDictionary(prefs::kProxy)); in ValidateSettings()
|
/external/chromium/chrome/browser/net/ |
D | pref_proxy_config_service_unittest.cc | 128 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()
|
D | pref_proxy_config_service.cc | 97 ProxyConfigDictionary proxy_dict(dict); in ReadPrefConfig() 108 const ProxyConfigDictionary& proxy_dict, in PrefConfigToNetConfig() 268 DictionaryValue* default_settings = ProxyConfigDictionary::CreateSystem(); in RegisterPrefs()
|
D | pref_proxy_config_service.h | 84 static bool PrefConfigToNetConfig(const ProxyConfigDictionary& proxy_dict,
|
/external/chromium/chrome/browser/policy/ |
D | configuration_policy_pref_store.cc | 677 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()
|
D | configuration_policy_pref_store_unittest.cc | 272 ProxyConfigDictionary dict(static_cast<const DictionaryValue*>(value)); in VerifyProxyPrefs()
|