Searched defs:host_port_pair (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/net/spdy/
H A Dspdy_session_key.h17 SpdySessionKey(const HostPortPair& host_port_pair,
37 const HostPortPair& host_port_pair() const { function in class:net::SpdySessionKey
H A Dspdy_session_key.cc14 SpdySessionKey::SpdySessionKey(const HostPortPair& host_port_pair, argument
17 : host_port_proxy_pair_(host_port_pair, proxy_server),
19 DVLOG(1) << "SpdySessionKey(host=" << host_port_pair.ToString()
/external/chromium_org/chrome/browser/extensions/api/socket/
H A Dsocket_apitest.cc66 net::HostPortPair host_port_pair = test_server->host_port_pair(); local
67 int port = host_port_pair.port();
71 host_port_pair.set_host("LOCALhost");
81 base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port));
94 net::HostPortPair host_port_pair = test_server->host_port_pair(); local
95 int port = host_port_pair.port();
99 host_port_pair.set_host("lOcAlHoSt");
109 base::StringPrintf("tcp:%s:%d", host_port_pair
[all...]
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp/
H A Dsockets_tcp_apitest.cc71 net::HostPortPair host_port_pair = test_server->host_port_pair(); local
72 int port = host_port_pair.port();
76 host_port_pair.set_host("lOcAlHoSt");
86 base::StringPrintf("tcp:%s:%d", host_port_pair.host().c_str(), port));
99 net::HostPortPair https_host_port_pair = test_https_server->host_port_pair();
/external/chromium_org/chrome/browser/extensions/api/sockets_udp/
H A Dsockets_udp_apitest.cc75 net::HostPortPair host_port_pair = test_server->host_port_pair(); local
76 int port = host_port_pair.port();
80 host_port_pair.set_host("LOCALhost");
90 base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port));
/external/chromium_org/net/quic/
H A Dquic_server_id.cc13 QuicServerId::QuicServerId(const HostPortPair& host_port_pair, argument
16 : host_port_pair_(host_port_pair),
H A Dquic_server_id.h10 #include "net/base/host_port_pair.h"
21 QuicServerId(const HostPortPair& host_port_pair,
42 const HostPortPair& host_port_pair() const { return host_port_pair_; } function in class:net::QuicServerId
H A Dquic_stream_factory_test.cc53 const HostPortPair& host_port_pair,
55 QuicServerId server_id(host_port_pair, is_https, PRIVACY_MODE_DISABLED);
61 const HostPortPair& host_port_pair,
63 QuicServerId server_id(host_port_pair, is_https, PRIVACY_MODE_DISABLED);
70 const HostPortPair& host_port_pair,
73 QuicServerId server_id(host_port_pair, is_https, PRIVACY_MODE_DISABLED);
128 const HostPortPair& host_port_pair,
131 &factory_, host_port_pair, false, net_log_);
52 HasActiveSession(QuicStreamFactory* factory, const HostPortPair& host_port_pair, bool is_https) argument
59 GetActiveSession( QuicStreamFactory* factory, const HostPortPair& host_port_pair, bool is_https) argument
68 CreateIfSessionExists( QuicStreamFactory* factory, const HostPortPair& host_port_pair, bool is_https, const BoundNetLog& net_log) argument
127 CreateIfSessionExists( const HostPortPair& host_port_pair, const BoundNetLog& net_log) argument
/external/chromium_org/net/base/
H A Dhost_port_pair.cc5 #include "net/base/host_port_pair.h"
40 HostPortPair host_port_pair; local
41 host_port_pair.set_host(key_port[0]);
42 host_port_pair.set_port(port);
43 return host_port_pair;
/external/chromium_org/net/dns/
H A Dhost_resolver.cc92 HostResolver::RequestInfo::RequestInfo(const HostPortPair& host_port_pair) argument
93 : host_port_pair_(host_port_pair),
H A Dhost_resolver.h13 #include "net/base/host_port_pair.h"
63 explicit RequestInfo(const HostPortPair& host_port_pair);
65 const HostPortPair& host_port_pair() const { return host_port_pair_; } function in class:net::HostResolver::RequestInfo
66 void set_host_port_pair(const HostPortPair& host_port_pair) { argument
67 host_port_pair_ = host_port_pair;
/external/chromium_org/net/proxy/
H A Dproxy_server.cc69 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair) argument
70 : scheme_(scheme), host_port_pair_(host_port_pair) {
72 // |host_port_pair| isn't relevant for these special schemes, so none should
75 DCHECK(host_port_pair.Equals(HostPortPair()));
80 const HostPortPair& ProxyServer::host_port_pair() const { function in class:net::ProxyServer
124 return host_port_pair().ToString();
126 return std::string("socks4://") + host_port_pair().ToString();
128 return std::string("socks5://") + host_port_pair().ToString();
130 return std::string("https://") + host_port_pair().ToString();
132 return std::string("quic://") + host_port_pair()
[all...]
/external/chromium_org/chrome/browser/net/
H A Dnetwork_stats_unittest.cc122 net::HostPortPair host_port_pair; local
124 host_port_pair,
223 net::HostPortPair host_port_pair; local
225 host_port_pair,
/external/chromium_org/chrome/browser/chromeos/
H A Dproxy_cros_settings_parser.cc60 new base::StringValue(proxy.server.host_port_pair().host()) :
66 ? new base::FundamentalValue(proxy.server.host_port_pair().port())
76 net::HostPortPair host_port_pair; local
80 host_port_pair = net::HostPortPair::FromURL(url);
81 if (host_port_pair.host().empty()) // See if host is <server>::<port>.
82 host_port_pair = net::HostPortPair::FromString(host);
83 if (host_port_pair.host().empty()) // Host is not URL or <server>::<port>.
84 host_port_pair = net::HostPortPair(host, port);
85 if (host_port_pair.port() == 0) // No port in host, use default.
86 host_port_pair
[all...]
/external/chromium_org/components/data_reduction_proxy/browser/
H A Ddata_reduction_proxy_params_unittest.cc533 net::HostPortPair host_port_pair; member in struct:data_reduction_proxy::__anon6434
715 tests[i].host_port_pair, &proxy_type_info)) << i;
H A Ddata_reduction_proxy_params.cc14 #include "net/base/host_port_pair.h"
316 const net::HostPortPair& host_port_pair,
318 if (net::HostPortPair::FromURL(origin()).Equals(host_port_pair)) {
328 net::HostPortPair::FromURL(fallback_origin()).Equals(host_port_pair)) {
336 if (net::HostPortPair::FromURL(alt_origin()).Equals(host_port_pair)) {
347 host_port_pair)) {
356 if (net::HostPortPair::FromURL(ssl_origin()).Equals(host_port_pair)) {
379 return !IsDataReductionProxy(result.proxy_server().host_port_pair(), NULL);
315 IsDataReductionProxy( const net::HostPortPair& host_port_pair, DataReductionProxyTypeInfo* proxy_info) const argument
/external/chromium_org/net/socket/
H A Dclient_socket_pool_manager.cc159 proxy_host_port.reset(new HostPortPair(proxy_server.host_port_pair()));
445 const HostPortPair& host_port_pair,
456 GURL request_url = GURL("http://" + host_port_pair.ToString());
470 const HostPortPair& host_port_pair,
481 GURL request_url = GURL("https://" + host_port_pair.ToString());
444 InitSocketHandleForRawConnect( const HostPortPair& host_port_pair, HttpNetworkSession* session, const ProxyInfo& proxy_info, const SSLConfig& ssl_config_for_origin, const SSLConfig& ssl_config_for_proxy, PrivacyMode privacy_mode, const BoundNetLog& net_log, ClientSocketHandle* socket_handle, const CompletionCallback& callback) argument
469 InitSocketHandleForTlsConnect( const HostPortPair& host_port_pair, HttpNetworkSession* session, const ProxyInfo& proxy_info, const SSLConfig& ssl_config_for_origin, const SSLConfig& ssl_config_for_proxy, PrivacyMode privacy_mode, const BoundNetLog& net_log, ClientSocketHandle* socket_handle, const CompletionCallback& callback) argument
H A Dsocks_client_socket_pool.cc24 const HostPortPair& host_port_pair)
26 destination_(host_port_pair),
21 SOCKSSocketParams( const scoped_refptr<TransportSocketParams>& proxy_server, bool socks_v5, const HostPortPair& host_port_pair) argument
H A Dtransport_client_socket_pool.cc60 const HostPortPair& host_port_pair,
65 : destination_(host_port_pair),
481 &casted_params->get()->destination().host_port_pair()));
498 &casted_params->get()->destination().host_port_pair()));
59 TransportSocketParams( const HostPortPair& host_port_pair, bool disable_resolver_cache, bool ignore_limits, const OnHostResolutionCallback& host_resolution_callback, CombineConnectAndWritePolicy combine_connect_and_write_if_supported) argument
/external/chromium_org/content/browser/frame_host/
H A Drender_frame_host_manager_browsertest.cc69 const net::HostPortPair& host_port_pair,
73 make_pair("REPLACE_WITH_HOST_AND_PORT", host_port_pair.ToString()));
83 foo_host_port_ = test_server()->host_port_pair();
67 GetFilePathWithHostAndPortReplacement( const std::string& original_file_path, const net::HostPortPair& host_port_pair, std::string* replacement_path) argument
/external/chromium_org/net/http/
H A Dhttp_server_properties_impl.cc135 const net::HostPortPair& host_port_pair) {
137 spdy_server.append(host_port_pair.host());
139 base::StringAppendF(&spdy_server, "%d", host_port_pair.port());
174 const net::HostPortPair& host_port_pair) {
176 if (host_port_pair.host().empty())
178 std::string spdy_server = GetFlattenedSpdyServer(host_port_pair);
188 const net::HostPortPair& host_port_pair,
191 if (host_port_pair.host().empty())
193 std::string spdy_server = GetFlattenedSpdyServer(host_port_pair);
373 const HostPortPair& host_port_pair) {
134 GetFlattenedSpdyServer( const net::HostPortPair& host_port_pair) argument
173 SupportsSpdy( const net::HostPortPair& host_port_pair) argument
187 SetSupportsSpdy( const net::HostPortPair& host_port_pair, bool support_spdy) argument
372 GetSpdySettings( const HostPortPair& host_port_pair) argument
382 SetSpdySetting( const HostPortPair& host_port_pair, SpdySettingsIds id, SpdySettingsFlags flags, uint32 value) argument
403 ClearSpdySettings( const HostPortPair& host_port_pair) argument
429 SetSupportsQuic( const HostPortPair& host_port_pair, bool used_quic, const std::string& address) argument
442 SetServerNetworkStats( const HostPortPair& host_port_pair, NetworkStats stats) argument
[all...]
H A Dhttp_server_properties_manager.cc230 const HostPortPair& host_port_pair) {
232 return http_server_properties_impl_->GetSpdySettings(host_port_pair);
236 const HostPortPair& host_port_pair,
242 host_port_pair, id, flags, value);
249 const HostPortPair& host_port_pair) {
251 http_server_properties_impl_->ClearSpdySettings(host_port_pair);
269 const net::HostPortPair& host_port_pair) const {
271 return http_server_properties_impl_->GetSupportsQuic(host_port_pair);
275 const net::HostPortPair& host_port_pair,
280 host_port_pair, used_qui
229 GetSpdySettings( const HostPortPair& host_port_pair) argument
235 SetSpdySetting( const HostPortPair& host_port_pair, SpdySettingsIds id, SpdySettingsFlags flags, uint32 value) argument
248 ClearSpdySettings( const HostPortPair& host_port_pair) argument
274 SetSupportsQuic( const net::HostPortPair& host_port_pair, bool used_quic, const std::string& address) argument
290 SetServerNetworkStats( const net::HostPortPair& host_port_pair, NetworkStats stats) argument
[all...]
/external/chromium_org/net/test/spawned_test_server/
H A Dbase_test_server.cc17 #include "net/base/host_port_pair.h"
189 const HostPortPair& BaseTestServer::host_port_pair() const { function in class:net::BaseTestServer
/external/chromium_org/chrome/browser/ssl/
H A Dssl_browser_tests.cc278 const net::HostPortPair& host_port_pair,
282 make_pair("REPLACE_WITH_HOST_AND_PORT", host_port_pair.ToString()));
405 https_server_expired_.host_port_pair(),
422 test_server()->host_port_pair(),
675 wss_server_expired_.host_port_pair().port());
679 wss_server_expired_.host_port_pair().port());
930 test_server()->host_port_pair(),
968 https_server_expired_.host_port_pair(),
1021 test_server()->host_port_pair(),
1060 test_server()->host_port_pair(),
276 GetFilePathWithHostAndPortReplacement( const std::string& original_file_path, const net::HostPortPair& host_port_pair, std::string* replacement_path) argument
[all...]
/external/chromium_org/content/browser/loader/
H A Dresource_scheduler.cc16 #include "net/base/host_port_pair.h"
519 net::HostPortPair host_port_pair = local
523 if (!http_server_properties.SupportsSpdy(host_port_pair) &&
536 net::HostPortPair host_port_pair = local
538 if (active_request_host.Equals(host_port_pair)) {
620 net::HostPortPair host_port_pair = local
628 if (http_server_properties.SupportsSpdy(host_port_pair)) {
647 if (ShouldKeepSearching(host_port_pair)) {

Completed in 476 milliseconds

12