Home
last modified time | relevance | path

Searched refs:proxy_rules (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/net/proxy/
Dproxy_config_unittest.cc53 config2.proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in TEST()
54 config2.proxy_rules().single_proxies.SetSingleProxyServer( in TEST()
60 config1.proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in TEST()
61 config1.proxy_rules().single_proxies.SetSingleProxyServer( in TEST()
67 config1.proxy_rules().single_proxies.SetSingleProxyServer( in TEST()
75 config2.proxy_rules().bypass_rules.AddRuleFromString("*.google.com"); in TEST()
80 config1.proxy_rules().bypass_rules.AddRuleFromString("*.google.com"); in TEST()
87 config2.proxy_rules().reverse_bypass = true; in TEST()
92 config1.proxy_rules().reverse_bypass = true; in TEST()
100 const char* proxy_rules; in TEST() member
[all …]
Dproxy_config_service_mac.cc79 config->proxy_rules().type = in GetCurrentProxyConfig()
81 config->proxy_rules().proxies_for_ftp.SetSingleProxyServer(proxy_server); in GetCurrentProxyConfig()
93 config->proxy_rules().type = in GetCurrentProxyConfig()
95 config->proxy_rules().proxies_for_http.SetSingleProxyServer(proxy_server); in GetCurrentProxyConfig()
107 config->proxy_rules().type = in GetCurrentProxyConfig()
109 config->proxy_rules().proxies_for_https. in GetCurrentProxyConfig()
122 config->proxy_rules().type = in GetCurrentProxyConfig()
124 config->proxy_rules().fallback_proxies.SetSingleProxyServer(proxy_server); in GetCurrentProxyConfig()
143 config->proxy_rules().bypass_rules.AddRuleFromString( in GetCurrentProxyConfig()
154 config->proxy_rules().bypass_rules.AddRuleToBypassLocal(); in GetCurrentProxyConfig()
Dproxy_config_service_linux.cc141 config->proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in GetConfigFromEnv()
142 config->proxy_rules().single_proxies.SetSingleProxyServer(proxy_server); in GetConfigFromEnv()
146 config->proxy_rules().proxies_for_http.SetSingleProxyServer(proxy_server); in GetConfigFromEnv()
154 config->proxy_rules().proxies_for_https. in GetConfigFromEnv()
158 config->proxy_rules().proxies_for_ftp.SetSingleProxyServer(proxy_server); in GetConfigFromEnv()
161 config->proxy_rules().type = in GetConfigFromEnv()
165 if (config->proxy_rules().empty()) { in GetConfigFromEnv()
175 config->proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in GetConfigFromEnv()
176 config->proxy_rules().single_proxies.SetSingleProxyServer(proxy_server); in GetConfigFromEnv()
182 if (config->proxy_rules().empty()) { in GetConfigFromEnv()
[all …]
Dproxy_config_service_ios.cc79 config->proxy_rules().type = in GetCurrentProxyConfig()
81 config->proxy_rules().proxies_for_http.SetSingleProxyServer(proxy_server); in GetCurrentProxyConfig()
84 config->proxy_rules().proxies_for_https.SetSingleProxyServer( in GetCurrentProxyConfig()
Dproxy_config_service_win_unittest.cc29 ProxyRulesExpectation proxy_rules; in TEST() member
210 EXPECT_TRUE(tests[i].proxy_rules.Matches(config.proxy_rules())); in TEST()
Dproxy_config.h108 void ParseFromString(const std::string& proxy_rules);
181 ProxyRules& proxy_rules() { in proxy_rules() function
185 const ProxyRules& proxy_rules() const { in proxy_rules() function
Dproxy_config_service_android_unittest.cc100 proxy_config.proxy_rules().Apply(GURL(url), &proxy_info); in TestMapping()
136 EXPECT_FALSE(observer_.config().proxy_rules().empty()); in TEST_F()
142 EXPECT_TRUE(observer_.config().proxy_rules().empty()); in TEST_F()
Dproxy_config_service_linux_unittest.cc413 ProxyRulesExpectation proxy_rules; in TEST_F() member
701 EXPECT_TRUE(tests[i].proxy_rules.Matches(config.proxy_rules())); in TEST_F()
719 ProxyRulesExpectation proxy_rules; in TEST_F() member
1009 EXPECT_TRUE(tests[i].proxy_rules.Matches(config.proxy_rules())); in TEST_F()
1059 ProxyRulesExpectation proxy_rules; in TEST_F() member
1518 EXPECT_TRUE(tests[i].proxy_rules.Matches(config.proxy_rules())); in TEST_F()
Dproxy_config_service_win.cc179 config->proxy_rules().ParseFromString( in SetFromIEConfig()
188 config->proxy_rules().bypass_rules.AddRuleFromString(bypass_url_domain); in SetFromIEConfig()
Dproxy_config.cc84 void ProxyConfig::ProxyRules::ParseFromString(const std::string& proxy_rules) { in ParseFromString() argument
93 base::StringTokenizer proxy_server_list(proxy_rules, ";"); in ParseFromString()
222 proxy_rules_.Equals(other.proxy_rules()); in Equals()
Dproxy_config_service_android.cc154 if (!GetProxyRules(get_property, &config->proxy_rules())) in GetLatestProxyConfigInternal()
179 config->proxy_rules().ParseFromString(rules); in CreateStaticProxyConfig()
180 config->proxy_rules().bypass_rules.Clear(); in CreateStaticProxyConfig()
188 config->proxy_rules().bypass_rules.AddRuleForHostname("", pattern, -1); in CreateStaticProxyConfig()
Dproxy_service_unittest.cc276 config.proxy_rules().ParseFromString("foopy1:8080"); in TEST_F()
278 config.proxy_rules().bypass_rules.ParseFromString("*.org"); in TEST_F()
336 config.proxy_rules().ParseFromString("foopy1:8080"); in TEST_F()
338 config.proxy_rules().bypass_rules.ParseFromString("*.org"); in TEST_F()
1433 config.proxy_rules().ParseFromString("foopy1:8080;foopy2:9090"); in TEST_F()
1435 config.proxy_rules().bypass_rules.ParseFromString("*.org"); in TEST_F()
1462 config.proxy_rules().ParseFromString("http=foopy1:8080;https=foopy2:8080"); in TEST_F()
1504 config.proxy_rules().ParseFromString("foopy1:8080"); in TEST_F()
1526 config.proxy_rules().ParseFromString("https=foopy2:8080"); in TEST_F()
1542 config.proxy_rules().ParseFromString("https=foopy2:8080"); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/chromeos/
Dproxy_config_service_impl_unittest.cc59 net::ProxyRulesExpectation proxy_rules; member
350 EXPECT_TRUE(tests[i].proxy_rules.Matches(config.proxy_rules())); in TEST_F()
407 EXPECT_TRUE(managed_params.proxy_rules.Matches( in TEST_F()
408 actual_config.proxy_rules())); in TEST_F()
416 EXPECT_TRUE(recommended_params.proxy_rules.Matches( in TEST_F()
417 actual_config.proxy_rules())); in TEST_F()
424 EXPECT_TRUE(network_params.proxy_rules.Matches( in TEST_F()
425 actual_config.proxy_rules())); in TEST_F()
432 EXPECT_TRUE(managed_params.proxy_rules.Matches( in TEST_F()
433 actual_config.proxy_rules())); in TEST_F()
[all …]
Dproxy_config_service_impl.cc92 << ", mode=" << config.proxy_rules().type; in OnProxyConfigChanged()
219 if (effective_config.proxy_rules().type != in DetermineEffectiveConfigFromDefaultNetwork()
221 effective_config.proxy_rules().bypass_rules.AddRuleToBypassLocal(); in DetermineEffectiveConfigFromDefaultNetwork()
Dui_proxy_config.cc56 const net::ProxyConfig::ProxyRules& rules = net_config.proxy_rules(); in FromNetProxyConfig()
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_config_service_unittest.cc39 config_.proxy_rules().ParseFromString(kSystemProxyRules); in TestProxyConfigService()
94 config_service_->config_.proxy_rules().ParseFromString( in EnableDataReductionProxy()
124 ASSERT_TRUE(latest_config.proxy_rules().Equals(expected_rules)); in TEST_F()
136 ASSERT_TRUE(latest_config.proxy_rules().Equals(expected_rules)); in TEST_F()
167 system_config.proxy_rules().ParseFromString(kSystemProxyRules); in TEST_F()
171 data_reduction_proxy_config.proxy_rules().ParseFromString( in TEST_F()
207 expected_config.proxy_rules().ParseFromString(kDataReductionProxyRules); in TEST_F()
234 expected_config.proxy_rules().ParseFromString( in TEST_F()
262 expected_config.proxy_rules().ParseFromString(kSystemProxyRules); in TEST_F()
Ddata_reduction_proxy_config_service.cc161 config.proxy_rules().ParseFromString(server); in Enable()
162 config.proxy_rules().bypass_rules.ParseFromString( in Enable()
Ddata_reduction_proxy_protocol.cc139 data_reduction_proxy_config.proxy_rules().Apply( in OnResolveProxyHandler()
/external/chromium_org/chrome/browser/net/
Dpref_proxy_config_tracker_impl_unittest.cc146 actual_config.proxy_rules().type); in TEST_F()
147 EXPECT_EQ(actual_config.proxy_rules().single_proxies.Get(), in TEST_F()
196 config3.proxy_rules().ParseFromString("http=config3:80"); in TEST_F()
212 config4.proxy_rules().ParseFromString("socks:config4"); in TEST_F()
302 proxy_rules = other.proxy_rules; in operator =()
319 net::ProxyRulesExpectation proxy_rules; member
365 EXPECT_TRUE(GetParam().proxy_rules.Matches(config.proxy_rules())); in TEST_P()
Dfirefox_proxy_settings.cc206 config->proxy_rules().type = in ToProxyConfig()
210 config->proxy_rules().proxies_for_http.SetSingleProxyServer( in ToProxyConfig()
217 config->proxy_rules().proxies_for_ftp.SetSingleProxyServer( in ToProxyConfig()
224 config->proxy_rules().proxies_for_https.SetSingleProxyServer( in ToProxyConfig()
234 config->proxy_rules().fallback_proxies.SetSingleProxyServer( in ToProxyConfig()
240 config->proxy_rules().bypass_rules.ParseFromStringUsingSuffixMatching( in ToProxyConfig()
Dfirefox_proxy_settings_unittest.cc59 expected_config.proxy_rules().ParseFromString("http=http_proxy:1111; " in TEST_F()
63 expected_config.proxy_rules().bypass_rules.ParseFromString( in TEST_F()
Dpref_proxy_config_tracker_impl.cc326 config->proxy_rules().ParseFromString(proxy_server); in PrefConfigToNetConfig()
330 config->proxy_rules().bypass_rules.ParseFromString(proxy_bypass); in PrefConfigToNetConfig()
/external/chromium_org/chrome/browser/extensions/api/proxy/
Dproxy_api_helpers.cc195 const base::DictionaryValue* proxy_rules = NULL; in GetProxyRulesStringFromExtensionPref() local
196 proxy_config->GetDictionary(keys::kProxyConfigRules, &proxy_rules); in GetProxyRulesStringFromExtensionPref()
197 if (!proxy_rules) in GetProxyRulesStringFromExtensionPref()
211 has_proxy[i] = proxy_rules->GetDictionary(keys::field_name[i], in GetProxyRulesStringFromExtensionPref()
290 const base::DictionaryValue* proxy_rules = NULL; in GetBypassListFromExtensionPref() local
291 proxy_config->GetDictionary(keys::kProxyConfigRules, &proxy_rules); in GetBypassListFromExtensionPref()
292 if (!proxy_rules) in GetBypassListFromExtensionPref()
295 if (!proxy_rules->HasKey(keys::kProxyConfigBypassList)) { in GetBypassListFromExtensionPref()
300 if (!proxy_rules->GetList(keys::kProxyConfigBypassList, &bypass_list)) { in GetBypassListFromExtensionPref()
Dproxy_api_helpers_unittest.cc174 base::DictionaryValue* proxy_rules = new base::DictionaryValue; in TEST() local
175 proxy_rules->Set(keys::field_name[1], CreateTestProxyServerDict("proxy1")); in TEST()
176 proxy_rules->Set(keys::field_name[2], CreateTestProxyServerDict("proxy2")); in TEST()
177 proxy_config.Set(keys::kProxyConfigRules, proxy_rules); in TEST()
209 base::DictionaryValue* proxy_rules = new base::DictionaryValue; in TEST() local
210 proxy_rules->Set(keys::kProxyConfigBypassList, bypass_list); in TEST()
211 proxy_config.Set(keys::kProxyConfigRules, proxy_rules); in TEST()
/external/chromium_org/chrome/browser/net/spdyproxy/
Ddata_reduction_proxy_chrome_configurator.cc72 config.proxy_rules().ParseFromString(server); in Enable()
73 config.proxy_rules().bypass_rules.ParseFromString( in Enable()

12