/external/chromium_org/net/quic/ |
D | quic_server_id_test.cc | 16 HostPortPair google_host_port_pair("google.com", 10); in TEST() 40 QuicServerId a_10_http(HostPortPair("a.com", 10), false, in TEST() 42 QuicServerId a_10_https(HostPortPair("a.com", 10), true, in TEST() 44 QuicServerId a_11_http(HostPortPair("a.com", 11), false, in TEST() 46 QuicServerId a_11_https(HostPortPair("a.com", 11), true, in TEST() 48 QuicServerId b_10_http(HostPortPair("b.com", 10), false, in TEST() 50 QuicServerId b_10_https(HostPortPair("b.com", 10), true, in TEST() 52 QuicServerId b_11_http(HostPortPair("b.com", 11), false, in TEST() 54 QuicServerId b_11_https(HostPortPair("b.com", 11), true, in TEST() 57 QuicServerId a_10_http_private(HostPortPair("a.com", 10), false, in TEST() [all …]
|
D | port_suggester_unittest.cc | 32 new PortSuggester(HostPortPair("www.example.com", 443), entropy_); in TEST_F() 45 new PortSuggester(HostPortPair("www.example.com", 443), entropy_); in TEST_F() 63 new PortSuggester(HostPortPair("www.example.com", 80), entropy_); in TEST_F() 78 new PortSuggester(HostPortPair("www.example.com", 443), entropy_); in TEST_F() 80 new PortSuggester(HostPortPair("www.example.com", 443), entropy_); in TEST_F() 92 new PortSuggester(HostPortPair("www.example.com", 80), entropy_), in TEST_F() 93 new PortSuggester(HostPortPair("www.example.ORG", 80), entropy_), in TEST_F() 94 new PortSuggester(HostPortPair("www.example.com", 443), entropy_), in TEST_F() 95 new PortSuggester(HostPortPair("www.example.com", 80), entropy_ + 123456), in TEST_F()
|
/external/chromium_org/net/base/ |
D | host_port_pair_unittest.cc | 32 HostPortPair foo("foo.com", 10); in TEST() 35 HostPortPair bar = HostPortPair::FromString(foo_str); in TEST() 40 HostPortPair foo = HostPortPair::FromString("foo.com:2:3"); in TEST() 44 HostPortPair bar = HostPortPair::FromString("bar.com:two"); in TEST() 50 HostPortPair foo; in TEST() 52 foo = HostPortPair::FromString("foo.com:8080"); in TEST() 58 HostPortPair foo(tests[index].host, tests[index].port); in TEST() 63 HostPortPair foo(string(), 10); in TEST() 68 HostPortPair foo(tests[index].host, tests[index].port); in TEST() 74 HostPortPair bar(bar_hostname, 80); in TEST() [all …]
|
D | host_port_pair.cc | 17 HostPortPair::HostPortPair() : port_(0) {} in HostPortPair() function in net::HostPortPair 18 HostPortPair::HostPortPair(const std::string& in_host, uint16 in_port) in HostPortPair() function in net::HostPortPair 22 HostPortPair HostPortPair::FromURL(const GURL& url) { in FromURL() 23 return HostPortPair(url.HostNoBrackets(), url.EffectiveIntPort()); in FromURL() 27 HostPortPair HostPortPair::FromIPEndPoint(const IPEndPoint& ipe) { in FromIPEndPoint() 28 return HostPortPair(ipe.ToStringWithoutPort(), ipe.port()); in FromIPEndPoint() 31 HostPortPair HostPortPair::FromString(const std::string& str) { in FromString() 35 return HostPortPair(); in FromString() 38 return HostPortPair(); in FromString() 40 HostPortPair host_port_pair; in FromString() [all …]
|
D | host_port_pair.h | 18 class NET_EXPORT HostPortPair { 20 HostPortPair(); 22 HostPortPair(const std::string& in_host, uint16 in_port); 25 static HostPortPair FromURL(const GURL& url); 28 static HostPortPair FromIPEndPoint(const IPEndPoint& ipe); 32 static HostPortPair FromString(const std::string& str); 36 bool operator<(const HostPortPair& other) const { 43 bool Equals(const HostPortPair& other) const { in Equals()
|
D | host_mapping_rules_unittest.cc | 19 HostPortPair host_port("test", 1234); in TEST() 24 host_port = HostPortPair("chrome.net", 80); in TEST() 29 host_port = HostPortPair("crack.com", 80); in TEST() 34 host_port = HostPortPair("wtf.foo.com", 666); in TEST() 46 HostPortPair host_port("test.com", 1234); in TEST() 52 host_port = HostPortPair("crack.com", 80); in TEST() 58 host_port = HostPortPair("wtf.com", 443); in TEST() 64 host_port = HostPortPair("wtf.foo.com", 443); in TEST()
|
D | proxy_delegate.h | 17 class HostPortPair; variable 56 virtual void OnBeforeTunnelRequest(const HostPortPair& proxy_server, 61 const HostPortPair& origin, 62 const HostPortPair& proxy_server,
|
/external/chromium_org/net/http/ |
D | http_server_properties_impl.h | 55 const net::HostPortPair& host_port_pair); 65 std::string GetCanonicalSuffix(const net::HostPortPair& server); 78 virtual bool SupportsSpdy(const HostPortPair& server) OVERRIDE; 81 virtual void SetSupportsSpdy(const HostPortPair& server, 85 virtual bool HasAlternateProtocol(const HostPortPair& server) OVERRIDE; 90 const HostPortPair& server) OVERRIDE; 94 const HostPortPair& server, 100 virtual void SetBrokenAlternateProtocol(const HostPortPair& server) OVERRIDE; 104 const HostPortPair& server) OVERRIDE; 107 virtual void ConfirmAlternateProtocol(const HostPortPair& server) OVERRIDE; [all …]
|
D | http_server_properties.h | 131 HostPortPair, AlternateProtocolInfo> AlternateProtocolMap; 132 typedef base::MRUCache<HostPortPair, SettingsMap> SpdySettingsMap; 133 typedef std::map<HostPortPair, SupportsQuic> SupportsQuicMap; 159 virtual bool SupportsSpdy(const HostPortPair& server) = 0; 163 virtual void SetSupportsSpdy(const HostPortPair& server, 167 virtual bool HasAlternateProtocol(const HostPortPair& server) = 0; 172 const HostPortPair& server) = 0; 175 virtual void SetAlternateProtocol(const HostPortPair& server, 181 virtual void SetBrokenAlternateProtocol(const HostPortPair& server) = 0; 185 const HostPortPair& server) = 0; [all …]
|
D | http_server_properties_manager.h | 88 virtual bool SupportsSpdy(const HostPortPair& server) OVERRIDE; 92 virtual void SetSupportsSpdy(const HostPortPair& server, 96 virtual bool HasAlternateProtocol(const HostPortPair& server) OVERRIDE; 101 const HostPortPair& server) OVERRIDE; 105 const HostPortPair& server, 111 virtual void SetBrokenAlternateProtocol(const HostPortPair& server) OVERRIDE; 115 const HostPortPair& server) OVERRIDE; 118 virtual void ConfirmAlternateProtocol(const HostPortPair& server) OVERRIDE; 121 virtual void ClearAlternateProtocol(const HostPortPair& server) OVERRIDE; 138 const HostPortPair& host_port_pair) OVERRIDE; [all …]
|
D | http_server_properties_impl_unittest.cc | 36 HostPortPair spdy_server_google("www.google.com", 443); in TEST_F() 40 HostPortPair spdy_server_docs("docs.google.com", 443); in TEST_F() 81 HostPortPair spdy_server_empty(std::string(), 443); in TEST_F() 85 HostPortPair spdy_server_google("www.google.com", 443); in TEST_F() 90 HostPortPair spdy_server_mail("mail.google.com", 443); in TEST_F() 94 HostPortPair spdy_server_docs("docs.google.com", 443); in TEST_F() 105 HostPortPair spdy_server_empty(std::string(), 443); in TEST_F() 110 HostPortPair spdy_server_google("www.google.com", 443); in TEST_F() 120 HostPortPair spdy_server_mail("mail.google.com", 443); in TEST_F() 129 HostPortPair spdy_server_google("www.google.com", 443); in TEST_F() [all …]
|
D | http_server_properties_impl.cc | 77 HostPortPair canonical_host(canonical_suffix, canonical_ports[j]); in InitializeAlternateProtocolServers() 135 const net::HostPortPair& host_port_pair) { in GetFlattenedSpdyServer() 174 const net::HostPortPair& host_port_pair) { in SupportsSpdy() 188 const net::HostPortPair& host_port_pair, in SetSupportsSpdy() 206 const HostPortPair& server) { in HasAlternateProtocol() 219 const HostPortPair& server) { in GetCanonicalSuffix() 233 const HostPortPair& server) { in GetAlternateProtocol() 252 const HostPortPair& server, in SetAlternateProtocol() 300 HostPortPair canonical_host(canonical_suffix, server.port()); in SetAlternateProtocol() 308 const HostPortPair& server) { in SetBrokenAlternateProtocol() [all …]
|
D | http_server_properties_manager.cc | 138 const net::HostPortPair& server) { in SupportsSpdy() 144 const net::HostPortPair& server, in SetSupportsSpdy() 153 const net::HostPortPair& server) { in HasAlternateProtocol() 160 const net::HostPortPair& server) { in GetAlternateProtocol() 166 const net::HostPortPair& server, in SetAlternateProtocol() 177 const net::HostPortPair& server) { in SetBrokenAlternateProtocol() 184 const net::HostPortPair& server) { in WasAlternateProtocolRecentlyBroken() 191 const net::HostPortPair& server) { in ConfirmAlternateProtocol() 198 const net::HostPortPair& server) { in ClearAlternateProtocol() 230 const HostPortPair& host_port_pair) { in GetSpdySettings() [all …]
|
D | http_server_properties_manager_unittest.cc | 212 net::HostPortPair::FromString("www.google.com:80"))); in TEST_F() 214 net::HostPortPair::FromString("mail.google.com:80"))); in TEST_F() 216 net::HostPortPair::FromString("foo.google.com:1337"))); in TEST_F() 220 net::HostPortPair::FromString("www.google.com:80"))); in TEST_F() 222 net::HostPortPair::FromString("mail.google.com:80"))); in TEST_F() 225 net::HostPortPair::FromString("www.google.com:80")); in TEST_F() 229 net::HostPortPair::FromString("mail.google.com:80")); in TEST_F() 236 net::HostPortPair::FromString("www.google.com:80")); in TEST_F() 240 net::HostPortPair::FromString("mail.google.com:80")); in TEST_F() 252 net::HostPortPair spdy_server_mail("mail.google.com", 443); in TEST_F() [all …]
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
D | data_reduction_proxy_params_unittest.cc | 533 net::HostPortPair host_port_pair; in TEST_F() 538 net::HostPortPair expected_first; in TEST_F() 539 net::HostPortPair expected_second; in TEST_F() 545 net::HostPortPair::FromURL(GURL( in TEST_F() 551 net::HostPortPair::FromURL(GURL( in TEST_F() 553 net::HostPortPair::FromURL(GURL( in TEST_F() 560 net::HostPortPair::FromURL(GURL( in TEST_F() 566 net::HostPortPair::FromURL(GURL( in TEST_F() 568 net::HostPortPair::FromURL(GURL()), in TEST_F() 574 net::HostPortPair::FromURL(GURL( in TEST_F() [all …]
|
D | data_reduction_proxy_settings_unittest.cc | 60 net::HostPortPair expected_origin = in TEST_F() 61 net::HostPortPair::FromURL(GURL(expected_params_->DefaultOrigin())); in TEST_F() 62 net::HostPortPair expected_fallback_origin = in TEST_F() 63 net::HostPortPair::FromURL( in TEST_F() 93 EXPECT_TRUE(net::HostPortPair::FromString( in TEST_F() 95 net::HostPortPair::FromString(config->origin_))); in TEST_F() 96 EXPECT_TRUE(net::HostPortPair::FromString( in TEST_F() 98 net::HostPortPair::FromString(config->fallback_origin_))); in TEST_F() 99 EXPECT_TRUE(net::HostPortPair::FromString( in TEST_F() 101 net::HostPortPair::FromString(config->ssl_origin_))); in TEST_F() [all …]
|
D | data_reduction_proxy_delegate.h | 13 class HostPortPair; variable 46 const net::HostPortPair& proxy_server, 50 const net::HostPortPair& origin, 51 const net::HostPortPair& proxy_server,
|
/external/chromium_org/net/socket/ |
D | mock_client_socket_pool_manager.h | 22 void SetSocketPoolForSOCKSProxy(const HostPortPair& socks_proxy, 24 void SetSocketPoolForHTTPProxy(const HostPortPair& http_proxy, 26 void SetSocketPoolForSSLWithProxy(const HostPortPair& proxy_server, 35 const HostPortPair& socks_proxy) OVERRIDE; 37 const HostPortPair& http_proxy) OVERRIDE; 39 const HostPortPair& proxy_server) OVERRIDE; 43 typedef internal::OwnedPoolMap<HostPortPair, TransportClientSocketPool*> 45 typedef internal::OwnedPoolMap<HostPortPair, SOCKSClientSocketPool*> 47 typedef internal::OwnedPoolMap<HostPortPair, HttpProxyClientSocketPool*> 49 typedef internal::OwnedPoolMap<HostPortPair, SSLClientSocketPool*>
|
D | mock_client_socket_pool_manager.cc | 28 const HostPortPair& socks_proxy, in SetSocketPoolForSOCKSProxy() 34 const HostPortPair& http_proxy, in SetSocketPoolForHTTPProxy() 40 const HostPortPair& proxy_server, in SetSocketPoolForSSLWithProxy() 63 const HostPortPair& socks_proxy) { in GetSocketPoolForSOCKSProxy() 72 const HostPortPair& http_proxy) { in GetSocketPoolForHTTPProxy() 81 const HostPortPair& proxy_server) { in GetSocketPoolForSSLWithProxy()
|
D | client_socket_pool_manager_impl.h | 84 const HostPortPair& socks_proxy) OVERRIDE; 87 const HostPortPair& http_proxy) OVERRIDE; 90 const HostPortPair& proxy_server) OVERRIDE; 101 typedef internal::OwnedPoolMap<HostPortPair, TransportClientSocketPool*> 103 typedef internal::OwnedPoolMap<HostPortPair, SOCKSClientSocketPool*> 105 typedef internal::OwnedPoolMap<HostPortPair, HttpProxyClientSocketPool*> 107 typedef internal::OwnedPoolMap<HostPortPair, SSLClientSocketPool*>
|
D | client_socket_pool_manager.h | 30 class HostPortPair; variable 75 const HostPortPair& socks_proxy) = 0; 77 const HostPortPair& http_proxy) = 0; 79 const HostPortPair& proxy_server) = 0; 140 const HostPortPair& host_port_pair, 155 const HostPortPair& host_port_pair,
|
/external/chromium_org/net/dns/ |
D | mapped_host_resolver_unittest.cc | 44 HostResolver::RequestInfo(HostPortPair("www.google.com", 80)), in TEST() 59 HostResolver::RequestInfo(HostPortPair("www.google.com", 80)), in TEST() 72 rv = resolver->Resolve(HostResolver::RequestInfo(HostPortPair("foo.com", 77)), in TEST() 88 HostResolver::RequestInfo(HostPortPair("chromium.org", 61)), in TEST() 123 HostResolver::RequestInfo(HostPortPair("www.google.com", 80)), in TEST() 136 HostResolver::RequestInfo(HostPortPair("chrome.com", 80)), in TEST() 167 HostResolver::RequestInfo(HostPortPair("www.google.com", 80)), in TEST() 180 HostResolver::RequestInfo(HostPortPair("chrome.net", 80)), in TEST() 224 HostResolver::RequestInfo(HostPortPair("www.google.com", 80)), in TEST() 235 HostResolver::RequestInfo(HostPortPair("www.foo.com", 80)), in TEST()
|
/external/chromium_org/net/ssl/ |
D | ssl_client_auth_cache.h | 38 bool Lookup(const HostPortPair& server, 45 void Add(const HostPortPair& server, X509Certificate* client_cert); 48 void Remove(const HostPortPair& server); 54 typedef HostPortPair AuthCacheKey;
|
D | ssl_client_auth_cache_unittest.cc | 19 HostPortPair server1("foo1", 443); in TEST() 23 HostPortPair server2("foo2", 443); in TEST() 27 HostPortPair server3("foo3", 443); in TEST() 85 HostPortPair server1("foo", 443); in TEST() 89 HostPortPair server2("foo", 8443); in TEST() 110 HostPortPair server1("foo", 443); in TEST() 146 HostPortPair server1("foo", 443); in TEST() 152 HostPortPair server2("foo2", 443); in TEST()
|
/external/chromium_org/net/proxy/ |
D | proxy_server.h | 44 ProxyServer(Scheme scheme, const HostPortPair& host_port_pair); 68 const HostPortPair& host_port_pair() const; 117 return ProxyServer(SCHEME_DIRECT, HostPortPair()); in Direct() 166 HostPortPair host_port_pair_; 169 typedef std::pair<HostPortPair, ProxyServer> HostPortProxyPair;
|