Home
last modified time | relevance | path

Searched refs:ProxyRules (Results 1 – 12 of 12) sorted by relevance

/external/chromium/net/proxy/
Dproxy_config.cc27 ProxyConfig::ProxyRules::ProxyRules() in ProxyRules() function in net::ProxyConfig::ProxyRules
32 ProxyConfig::ProxyRules::~ProxyRules() { in ~ProxyRules()
35 void ProxyConfig::ProxyRules::Apply(const GURL& url, ProxyInfo* result) { in Apply()
50 case ProxyRules::TYPE_SINGLE_PROXY: { in Apply()
54 case ProxyRules::TYPE_PROXY_PER_SCHEME: { in Apply()
73 void ProxyConfig::ProxyRules::ParseFromString(const std::string& proxy_rules) { in ParseFromString()
127 const ProxyServer* ProxyConfig::ProxyRules::MapUrlSchemeToProxy( in MapUrlSchemeToProxy()
130 const_cast<ProxyRules*>(this)->MapUrlSchemeToProxyNoFallback(url_scheme); in MapUrlSchemeToProxy()
138 bool ProxyConfig::ProxyRules::Equals(const ProxyRules& other) const { in Equals()
149 ProxyServer* ProxyConfig::ProxyRules::MapUrlSchemeToProxyNoFallback( in MapUrlSchemeToProxyNoFallback()
[all …]
Dproxy_config_unittest.cc53 config2.proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in TEST()
60 config1.proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in TEST()
102 ProxyConfig::ProxyRules::Type type; in TEST()
113 ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST()
125 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST()
137 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST()
151 ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST()
165 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST()
177 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST()
189 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST()
[all …]
Dproxy_config.h36 struct ProxyRules { struct
45 ProxyRules(); argument
46 ~ProxyRules();
79 bool Equals(const ProxyRules& other) const;
135 ProxyRules& proxy_rules() { in proxy_rules()
139 const ProxyRules& proxy_rules() const { in proxy_rules()
189 ProxyRules proxy_rules_;
Dproxy_config_service_common_unittest.cc53 ProxyConfig::ProxyRules::Type type, in ProxyRulesExpectation()
73 const ProxyConfig::ProxyRules& rules) const { in Matches()
111 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_NO_RULES, in Empty()
118 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_NO_RULES, in EmptyWithBypass()
127 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in Single()
138 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in PerScheme()
150 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in PerSchemeWithSocks()
161 return ProxyRulesExpectation(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in PerSchemeWithBypassReversed()
Dproxy_config_service_common_unittest.h20 ProxyRulesExpectation(ProxyConfig::ProxyRules::Type type,
32 const ProxyConfig::ProxyRules& rules) const;
69 ProxyConfig::ProxyRules::Type type;
Dproxy_config_service_mac.cc82 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig()
96 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig()
110 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig()
124 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetCurrentProxyConfig()
Dproxy_config_service_linux.cc133 config->proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in GetConfigFromEnv()
153 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetConfigFromEnv()
166 config->proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in GetConfigFromEnv()
1000 config->proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in GetConfigFromGConf()
1009 config->proxy_rules().type = ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in GetConfigFromGConf()
1026 ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in GetConfigFromGConf()
Dproxy_service_unittest.cc822 EXPECT_EQ(ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME, in TEST()
/external/chromium/chrome/browser/chromeos/
Dproxy_config_service_impl.cc128 net::ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY; in ToNetProxyConfig()
135 net::ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in ToNetProxyConfig()
249 net::ProxyConfig::ProxyRules rules; in Deserialize()
252 case net::ProxyConfig::ProxyRules::TYPE_NO_RULES: in Deserialize()
254 case net::ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY: in Deserialize()
260 case net::ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME: in Deserialize()
/external/chromium/chrome/browser/extensions/
Dextension_proxy_api_helpers.cc336 net::ProxyConfig::ProxyRules rules; in CreateProxyRulesDict()
340 case net::ProxyConfig::ProxyRules::TYPE_NO_RULES: in CreateProxyRulesDict()
342 case net::ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY: in CreateProxyRulesDict()
348 case net::ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME: in CreateProxyRulesDict()
/external/chromium/chrome/browser/importer/
Dfirefox_proxy_settings.cc126 net::ProxyConfig::ProxyRules::TYPE_PROXY_PER_SCHEME; in ToProxyConfig()
/external/chromium/chrome/browser/net/
Dpref_proxy_config_service_unittest.cc135 EXPECT_EQ(net::ProxyConfig::ProxyRules::TYPE_SINGLE_PROXY, in TEST_F()