Home
last modified time | relevance | path

Searched refs:host_port_pair (Results 1 – 25 of 136) sorted by relevance

123456

/external/chromium/net/proxy/
Dproxy_server.cc74 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair) in ProxyServer() argument
75 : scheme_(scheme), host_port_pair_(host_port_pair) { in ProxyServer()
80 DCHECK(host_port_pair.Equals(HostPortPair())); in ProxyServer()
85 const HostPortPair& ProxyServer::host_port_pair() const { in host_port_pair() function in net::ProxyServer
128 return host_port_pair().ToString(); in ToURI()
130 return std::string("socks4://") + host_port_pair().ToString(); in ToURI()
132 return std::string("socks5://") + host_port_pair().ToString(); in ToURI()
134 return std::string("https://") + host_port_pair().ToString(); in ToURI()
177 return std::string("PROXY ") + host_port_pair().ToString(); in ToPacString()
180 return std::string("SOCKS ") + host_port_pair().ToString(); in ToPacString()
[all …]
/external/chromium_org/net/proxy/
Dproxy_server.cc73 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair) in ProxyServer() argument
74 : scheme_(scheme), host_port_pair_(host_port_pair) { in ProxyServer()
79 DCHECK(host_port_pair.Equals(HostPortPair())); in ProxyServer()
84 const HostPortPair& ProxyServer::host_port_pair() const { in host_port_pair() function in net::ProxyServer
127 return host_port_pair().ToString(); in ToURI()
129 return std::string("socks4://") + host_port_pair().ToString(); in ToURI()
131 return std::string("socks5://") + host_port_pair().ToString(); in ToURI()
133 return std::string("https://") + host_port_pair().ToString(); in ToURI()
176 return std::string("PROXY ") + host_port_pair().ToString(); in ToPacString()
179 return std::string("SOCKS ") + host_port_pair().ToString(); in ToPacString()
[all …]
/external/chromium_org/chrome/browser/extensions/api/socket/
Dsocket_apitest.cc163 net::HostPortPair host_port_pair = test_server->host_port_pair(); in IN_PROC_BROWSER_TEST_F() local
164 int port = host_port_pair.port(); in IN_PROC_BROWSER_TEST_F()
168 host_port_pair.set_host("LOCALhost"); in IN_PROC_BROWSER_TEST_F()
178 base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port)); in IN_PROC_BROWSER_TEST_F()
191 net::HostPortPair host_port_pair = test_server->host_port_pair(); in IN_PROC_BROWSER_TEST_F() local
192 int port = host_port_pair.port(); in IN_PROC_BROWSER_TEST_F()
196 host_port_pair.set_host("lOcAlHoSt"); in IN_PROC_BROWSER_TEST_F()
206 base::StringPrintf("tcp:%s:%d", host_port_pair.host().c_str(), port)); in IN_PROC_BROWSER_TEST_F()
265 net::HostPortPair host_port_pair = test_server->host_port_pair(); in IN_PROC_BROWSER_TEST_F() local
266 int port = host_port_pair.port(); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/net/http/
Dhttp_server_properties_impl.cc91 const net::HostPortPair& host_port_pair) { in GetFlattenedSpdyServer() argument
93 spdy_server.append(host_port_pair.host()); in GetFlattenedSpdyServer()
95 base::StringAppendF(&spdy_server, "%d", host_port_pair.port()); in GetFlattenedSpdyServer()
129 const net::HostPortPair& host_port_pair) const { in SupportsSpdy()
131 if (host_port_pair.host().empty()) in SupportsSpdy()
133 std::string spdy_server = GetFlattenedSpdyServer(host_port_pair); in SupportsSpdy()
143 const net::HostPortPair& host_port_pair, in SetSupportsSpdy() argument
146 if (host_port_pair.host().empty()) in SetSupportsSpdy()
148 std::string spdy_server = GetFlattenedSpdyServer(host_port_pair); in SetSupportsSpdy()
229 const HostPortPair& host_port_pair) const { in GetSpdySettings()
[all …]
Dhttp_server_properties_impl.h58 const net::HostPortPair& host_port_pair);
112 const HostPortPair& host_port_pair) const OVERRIDE;
116 virtual bool SetSpdySetting(const HostPortPair& host_port_pair,
122 virtual void ClearSpdySettings(const HostPortPair& host_port_pair) OVERRIDE;
Dhttp_server_properties.h117 const HostPortPair& host_port_pair) const = 0;
121 virtual bool SetSpdySetting(const HostPortPair& host_port_pair,
127 virtual void ClearSpdySettings(const HostPortPair& host_port_pair) = 0;
/external/chromium/net/spdy/
Dspdy_http_stream_unittest.cc27 HostPortPair& host_port_pair) { in InitSession() argument
28 HostPortProxyPair pair(host_port_pair, ProxyServer::Direct()); in InitSession()
33 transport_params_ = new TransportSocketParams(host_port_pair, in InitSession()
38 connection->Init(host_port_pair.ToString(), in InitSession()
68 HostPortPair host_port_pair("www.google.com", 80); in TEST_F() local
69 HostPortProxyPair pair(host_port_pair, ProxyServer::Direct()); in TEST_F()
71 host_port_pair)); in TEST_F()
124 HostPortPair host_port_pair("www.google.com", 80); in TEST_F() local
125 HostPortProxyPair pair(host_port_pair, ProxyServer::Direct()); in TEST_F()
127 host_port_pair)); in TEST_F()
[all …]
Dspdy_settings_storage.cc18 const HostPortPair& host_port_pair) const { in Get()
19 SettingsMap::const_iterator it = settings_map_.find(host_port_pair); in Get()
27 void SpdySettingsStorage::Set(const HostPortPair& host_port_pair, in Set() argument
46 settings_map_[host_port_pair] = persistent_settings; in Set()
Dspdy_settings_storage.h25 const spdy::SpdySettings& Get(const HostPortPair& host_port_pair) const;
28 void Set(const HostPortPair& host_port_pair,
Dspdy_stream_unittest.cc118 HostPortPair host_port_pair("www.google.com", 80); in CreateSpdySession() local
119 HostPortProxyPair pair(host_port_pair, ProxyServer::Direct()); in CreateSpdySession()
199 HostPortPair host_port_pair("www.google.com", 80); in TEST_F() local
201 new TransportSocketParams(host_port_pair, LOWEST, GURL(), false, false)); in TEST_F()
205 connection->Init(host_port_pair.ToString(), in TEST_F()
/external/chromium_org/chrome/browser/chromeos/
Dproxy_cros_settings_parser.cc60 new base::StringValue(proxy.server.host_port_pair().host()) : in CreateServerHostValue()
66 base::Value::CreateIntegerValue(proxy.server.host_port_pair().port()) : in CreateServerPortValue()
76 net::HostPortPair host_port_pair; in CreateProxyServer() local
80 host_port_pair = net::HostPortPair::FromURL(url); in CreateProxyServer()
81 if (host_port_pair.host().empty()) // See if host is <server>::<port>. in CreateProxyServer()
82 host_port_pair = net::HostPortPair::FromString(host); in CreateProxyServer()
83 if (host_port_pair.host().empty()) // Host is not URL or <server>::<port>. in CreateProxyServer()
84 host_port_pair = net::HostPortPair(host, port); in CreateProxyServer()
85 if (host_port_pair.port() == 0) // No port in host, use default. in CreateProxyServer()
86 host_port_pair.set_port(default_port); in CreateProxyServer()
[all …]
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp/
Dsockets_tcp_apitest.cc93 net::HostPortPair host_port_pair = test_server->host_port_pair(); in IN_PROC_BROWSER_TEST_F() local
94 int port = host_port_pair.port(); in IN_PROC_BROWSER_TEST_F()
98 host_port_pair.set_host("lOcAlHoSt"); in IN_PROC_BROWSER_TEST_F()
108 base::StringPrintf("tcp:%s:%d", host_port_pair.host().c_str(), port)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/net/base/
Dhost_port_pair.cc39 HostPortPair host_port_pair; in FromString() local
40 host_port_pair.set_host(key_port[0]); in FromString()
41 host_port_pair.set_port(port); in FromString()
42 return host_port_pair; in FromString()
/external/chromium_org/chrome/browser/extensions/api/sockets_udp/
Dsockets_udp_apitest.cc95 net::HostPortPair host_port_pair = test_server->host_port_pair(); in IN_PROC_BROWSER_TEST_F() local
96 int port = host_port_pair.port(); in IN_PROC_BROWSER_TEST_F()
100 host_port_pair.set_host("LOCALhost"); in IN_PROC_BROWSER_TEST_F()
110 base::StringPrintf("udp:%s:%d", host_port_pair.host().c_str(), port)); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/extensions/
Dapp_background_page_apitest.cc66 test_server()->host_port_pair().port()); in IN_PROC_BROWSER_TEST_F()
92 test_server()->host_port_pair().port()); in IN_PROC_BROWSER_TEST_F()
120 test_server()->host_port_pair().port(), in IN_PROC_BROWSER_TEST_F()
121 test_server()->host_port_pair().port()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/net/dns/
Dhost_resolver.h60 explicit RequestInfo(const HostPortPair& host_port_pair);
62 const HostPortPair& host_port_pair() const { return host_port_pair_; } in host_port_pair() function
63 void set_host_port_pair(const HostPortPair& host_port_pair) { in set_host_port_pair() argument
64 host_port_pair_ = host_port_pair; in set_host_port_pair()
/external/chromium_org/net/spdy/
Dspdy_session_key.cc14 SpdySessionKey::SpdySessionKey(const HostPortPair& host_port_pair, in SpdySessionKey() argument
17 : host_port_proxy_pair_(host_port_pair, proxy_server), in SpdySessionKey()
19 DVLOG(1) << "SpdySessionKey(host=" << host_port_pair.ToString() in SpdySessionKey()
Dspdy_http_stream_unittest.cc143 HostPortPair host_port_pair("www.google.com", 80); in TEST_P() local
144 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
166 HostPortPair host_port_pair("www.google.com", 80); in TEST_P() local
167 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
241 HostPortPair host_port_pair("www.google.com", 80); in TEST_P() local
242 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
330 HostPortPair host_port_pair("www.google.com", 80); in TEST_P() local
331 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
406 HostPortPair host_port_pair("www.google.com", 80); in TEST_P() local
407 SpdySessionKey key(host_port_pair, ProxyServer::Direct(), in TEST_P()
[all …]
Dspdy_session_key.h17 SpdySessionKey(const HostPortPair& host_port_pair,
37 const HostPortPair& host_port_pair() const { in host_port_pair() function
/external/chromium/chrome/browser/chromeos/
Dproxy_cros_settings_provider.cc174 std::string host = config.socks_proxy.server.host_port_pair().host(); in DoSet()
287 port = proxy.server.host_port_pair().port(); in CreateProxyServerFromHost()
292 net::HostPortPair host_port_pair(host, port); in CreateProxyServerFromHost() local
293 return net::ProxyServer(scheme, host_port_pair); in CreateProxyServerFromHost()
302 host = proxy.server.host_port_pair().host(); in CreateProxyServerFromPort()
305 net::HostPortPair host_port_pair(host, port); in CreateProxyServerFromPort() local
306 return net::ProxyServer(scheme, host_port_pair); in CreateProxyServerFromPort()
312 Value::CreateStringValue(proxy.server.host_port_pair().host()) : in CreateServerHostValue()
319 Value::CreateIntegerValue(proxy.server.host_port_pair().port()) : in CreateServerPortValue()
/external/chromium/net/base/
Dhost_resolver.h42 explicit RequestInfo(const HostPortPair& host_port_pair);
44 const HostPortPair& host_port_pair() const { return host_port_pair_; } in host_port_pair() function
45 void set_host_port_pair(const HostPortPair& host_port_pair) { in set_host_port_pair() argument
46 host_port_pair_ = host_port_pair; in set_host_port_pair()
Dhost_resolver.cc13 HostResolver::RequestInfo::RequestInfo(const HostPortPair& host_port_pair) in RequestInfo() argument
14 : host_port_pair_(host_port_pair), in RequestInfo()
/external/chromium_org/content/browser/frame_host/
Drender_frame_host_manager_browsertest.cc45 const net::HostPortPair& host_port_pair, in GetFilePathWithHostAndPortReplacement() argument
49 make_pair("REPLACE_WITH_HOST_AND_PORT", host_port_pair.ToString())); in GetFilePathWithHostAndPortReplacement()
70 https_server.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
138 https_server.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
192 https_server.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
246 https_server.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
294 https_server.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
341 https_server.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
425 https_server.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
524 https_server.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium/net/socket/
Dssl_client_socket_unittest.cc84 transport, test_server.host_port_pair(), kDefaultSSLConfig, in TEST_F()
125 CreateSSLClientSocket(transport, test_server.host_port_pair(), in TEST_F()
168 CreateSSLClientSocket(transport, test_server.host_port_pair(), in TEST_F()
213 CreateSSLClientSocket(transport, test_server.host_port_pair(), in TEST_F()
277 CreateSSLClientSocket(transport, test_server.host_port_pair(), in TEST_F()
323 CreateSSLClientSocket(transport, test_server.host_port_pair(), in TEST_F()
379 transport, test_server.host_port_pair(), kDefaultSSLConfig, in TEST_F()
433 CreateSSLClientSocket(transport, test_server.host_port_pair(), in TEST_F()
483 CreateSSLClientSocket(transport, test_server.host_port_pair(), in TEST_F()
553 CreateSSLClientSocket(transport, test_server.host_port_pair(), in TEST_F()
[all …]
/external/chromium_org/chrome/browser/net/
Dhttp_server_properties_manager.h125 const net::HostPortPair& host_port_pair) const OVERRIDE;
129 virtual bool SetSpdySetting(const net::HostPortPair& host_port_pair,
136 const net::HostPortPair& host_port_pair) OVERRIDE;

123456