Home
last modified time | relevance | path

Searched refs:pac_url (Results 1 – 21 of 21) sorted by relevance

/external/chromium/chrome/browser/prefs/
Dproxy_config_dictionary.cc68 const std::string& pac_url) { in CreatePacScript() argument
69 return CreateDictionary(ProxyPrefs::MODE_PAC_SCRIPT, pac_url, "", ""); in CreatePacScript()
92 const std::string& pac_url, in CreateDictionary() argument
97 if (!pac_url.empty()) in CreateDictionary()
98 dict->SetString(kProxyPacUrl, pac_url); in CreateDictionary()
Dproxy_config_dictionary.h40 static DictionaryValue* CreatePacScript(const std::string& pac_url);
47 const std::string& pac_url,
Dproxy_config_dictionary_unittest.cc14 std::string pac_url; member
/external/chromium/chrome/browser/chromeos/
Dproxy_config_service_impl_unittest.cc28 const char* pac_url; member
57 GURL pac_url; member
259 const char* pac_url, in SetAutomaticProxy() argument
264 if (pac_url) in SetAutomaticProxy()
265 automatic_proxy->pac_url = GURL(pac_url); in SetAutomaticProxy()
289 SetAutomaticProxy(input.mode, source, input.pac_url, init_config, in InitConfigWithTestInput()
437 EXPECT_EQ(tests[i].pac_url, config.pac_url()); in TEST_F()
464 config_service()->UISetProxyConfigToPACScript(GURL(input.pac_url)); in TEST_F()
502 EXPECT_EQ(tests[i].pac_url, io_config.pac_url()); in TEST_F()
510 if (input.pac_url) in TEST_F()
[all …]
Dproxy_config_service_impl.cc59 << "\n PAC: " << config.automatic_proxy.pac_url << "\n"; in operator <<()
123 automatic_proxy.pac_url); in ToNetProxyConfig()
203 if (!automatic_proxy.pac_url.is_empty()) in Serialize()
204 proxy_proto.set_proxy_pac_url(automatic_proxy.pac_url.spec()); in Serialize()
247 automatic_proxy.pac_url = GURL(proxy_proto.proxy_pac_url()); in Deserialize()
376 bool ProxyConfigServiceImpl::UISetProxyConfigToPACScript(const GURL& pac_url) { in UISetProxyConfigToPACScript() argument
380 reference_config_.automatic_proxy.pac_url = pac_url; in UISetProxyConfigToPACScript()
Dproxy_config_service_impl.h98 GURL pac_url; // Set if proxy is using pac script. member
189 bool UISetProxyConfigToPACScript(const GURL& pac_url);
Dproxy_cros_settings_provider.cc98 if (config.automatic_proxy.pac_url.is_valid()) in DoSet()
100 config.automatic_proxy.pac_url); in DoSet()
206 if (config.automatic_proxy.pac_url.is_valid()) { in Get()
207 data = Value::CreateStringValue(config.automatic_proxy.pac_url.spec()); in Get()
/external/chromium/net/proxy/
Dinit_proxy_resolver.cc93 pac_urls.push_back(PacURL(false, config.pac_url())); in BuildPacUrlsFallbackList()
177 const PacURL& pac_url = current_pac_url(); in DoFetchPacScript() local
180 pac_url.auto_detect ? GURL(kWpadUrl) : pac_url.url; in DoFetchPacScript()
212 const PacURL& pac_url = current_pac_url(); in DoSetPacScript() local
221 script_data = pac_url.auto_detect ? in DoSetPacScript()
223 ProxyResolverScriptData::FromURL(pac_url.url); in DoSetPacScript()
Dproxy_config_service_win_unittest.cc21 GURL pac_url; in TEST() member
197 EXPECT_EQ(tests[i].pac_url, config.pac_url()); in TEST()
Dproxy_config_service_linux_unittest.cc403 GURL pac_url; in TEST_F() member
639 EXPECT_EQ(tests[i].pac_url, config.pac_url()); in TEST_F()
657 GURL pac_url; in TEST_F() member
947 EXPECT_EQ(tests[i].pac_url, config.pac_url()); in TEST_F()
997 GURL pac_url; in TEST_F() member
1390 EXPECT_EQ(tests[i].pac_url, config.pac_url()); in TEST_F()
1422 EXPECT_EQ(GURL(), config.pac_url()); in TEST_F()
1442 EXPECT_EQ(slaverc4_pac_url, config.pac_url()); in TEST_F()
1456 EXPECT_EQ(GURL(), config.pac_url()); in TEST_F()
1471 EXPECT_EQ(GURL(), config.pac_url()); in TEST_F()
[all …]
Dproxy_config.h148 const GURL& pac_url() const { in pac_url() function
176 static ProxyConfig CreateFromCustomPacURL(const GURL& pac_url) { in CreateFromCustomPacURL() argument
178 config.set_pac_url(pac_url); in CreateFromCustomPacURL()
Dproxy_resolver_perftest.cc107 GURL pac_url = in RunTest() local
110 net::ProxyResolverScriptData::FromURL(pac_url), NULL); in RunTest()
Dproxy_config_service_linux.cc961 GURL pac_url(pac_url_str); in GetConfigFromGConf() local
962 if (!pac_url.is_valid()) in GetConfigFromGConf()
964 config->set_pac_url(pac_url); in GetConfigFromGConf()
Dproxy_service_unittest.cc36 explicit MockProxyConfigService(const std::string& pac_url) in MockProxyConfigService() argument
38 config_(ProxyConfig::CreateFromCustomPacURL(GURL(pac_url))) { in MockProxyConfigService()
/external/chromium/chrome/browser/net/
Dpref_proxy_config_service_unittest.cc122 EXPECT_EQ(GURL(kFixedPacUrl), actual_config.pac_url()); in TEST_F()
275 pac_url = other.pac_url; in operator =()
292 GURL pac_url; member
332 EXPECT_EQ(GURL(kFixedPacUrl), config.pac_url()); in TEST_P()
334 EXPECT_NE(GURL(kFixedPacUrl), config.pac_url()); in TEST_P()
336 EXPECT_EQ(GetParam().pac_url, config.pac_url()); in TEST_P()
/external/chromium/chrome/browser/extensions/
Dextension_proxy_api_helpers.cc275 const std::string& pac_url, in CreateProxyConfigDict() argument
290 if (!pac_url.empty()) { in CreateProxyConfigDict()
291 url = pac_url; in CreateProxyConfigDict()
417 std::string pac_url; in CreatePacScriptDict() local
418 if (!proxy_config.GetPacUrl(&pac_url)) { in CreatePacScriptDict()
423 if (pac_url.find("data") == 0) { in CreatePacScriptDict()
425 if (!CreatePACScriptFromDataURL(pac_url, &pac_data)) { in CreatePacScriptDict()
431 pac_script_dict->SetString(keys::kProxyConfigPacScriptUrl, pac_url); in CreatePacScriptDict()
Dextension_proxy_api.cc76 std::string pac_url; in ExtensionToBrowserPref() local
81 !helpers::GetPacUrlFromExtensionPref(config, &pac_url, error) || in ExtensionToBrowserPref()
90 mode_enum, pac_url, pac_data, proxy_rules_string, bypass_list, error); in ExtensionToBrowserPref()
Dextension_proxy_api_helpers.h66 const std::string& pac_url,
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_pref_store.cc531 bool pac_url = HasProxyPolicy(kPolicyProxyPacUrl); in CheckProxySettings() local
534 if ((server || pac_url || bypass_list) && !(mode || server_mode)) { in CheckProxySettings()
566 if (server && pac_url) { in CheckProxySettings()
572 if (!server && !pac_url) { in CheckProxySettings()
578 if (pac_url) in CheckProxySettings()
598 if (server || pac_url || bypass_list) { in CheckProxySettings()
605 if (server || bypass_list || pac_url) { in CheckProxySettings()
620 if (pac_url) { in CheckProxySettings()
627 if (server || pac_url || bypass_list) { in CheckProxySettings()
688 std::string pac_url; in ApplyProxySettings() local
[all …]
/external/chromium/chrome/browser/resources/net_internals/
Dlogviewpainter.js378 if (config.pac_url)
379 modes.push(['PAC script: ' + config.pac_url]);
/external/chromium/chrome/browser/automation/
Dautomation_provider.cc550 std::string pac_url; in PopulateProxyConfig() local
551 if (dict.GetString(automation::kJSONProxyPacUrl, &pac_url)) { in PopulateProxyConfig()
552 pc->set_pac_url(GURL(pac_url)); in PopulateProxyConfig()