Home
last modified time | relevance | path

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

12

/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 …]
Dproxy_server.h41 ProxyServer(Scheme scheme, const HostPortPair& host_port_pair);
62 const HostPortPair& host_port_pair() const;
Dproxy_server_unittest.cc170 EXPECT_EQ(tests[i].expected_host, uri.host_port_pair().host()); in TEST()
171 EXPECT_EQ(tests[i].expected_port, uri.host_port_pair().port()); in TEST()
/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/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()
Dextension_gallery_install_apitest.cc27 test_server()->host_port_pair().port()); in RunInstallTest()
/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.h41 explicit RequestInfo(const HostPortPair& host_port_pair);
43 const HostPortPair& host_port_pair() const { return host_port_pair_; } in host_port_pair() function
44 void set_host_port_pair(const HostPortPair& host_port_pair) { in set_host_port_pair() argument
45 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()
Dmapped_host_resolver.cc28 HostPortPair host_port(info.host_port_pair()); in Resolve()
/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 …]
Dtcp_client_socket_pool.cc24 TCPSocketParams::TCPSocketParams(const HostPortPair& host_port_pair, in TCPSocketParams() argument
27 : destination_(host_port_pair) in TCPSocketParams()
278 casted_params->get()->destination().host_port_pair().ToString()))); in RequestSocket()
299 casted_params->get()->destination().host_port_pair().ToString()))); in RequestSockets()
Dtransport_client_socket_pool.cc61 const HostPortPair& host_port_pair, in TransportSocketParams() argument
66 : destination_(host_port_pair), ignore_limits_(ignore_limits) in TransportSocketParams()
456 casted_params->get()->destination().host_port_pair().ToString()))); in RequestSocket()
477 casted_params->get()->destination().host_port_pair().ToString()))); in RequestSockets()
Dsocks_client_socket_pool.cc23 const HostPortPair& host_port_pair, in SOCKSSocketParams() argument
27 destination_(host_port_pair), in SOCKSSocketParams()
/external/chromium/chrome/browser/ssl/
Dssl_browser_tests.cc118 const net::HostPortPair& host_port_pair, in GetFilePathWithHostAndPortReplacement() argument
122 make_pair("REPLACE_WITH_HOST_AND_PORT", host_port_pair.ToString())); in GetFilePathWithHostAndPortReplacement()
220 https_server_expired_.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
438 test_server()->host_port_pair(), in IN_PROC_BROWSER_TEST_F()
473 https_server_expired_.host_port_pair(), in IN_PROC_BROWSER_TEST_F()
515 test_server()->host_port_pair(), in IN_PROC_BROWSER_TEST_F()
552 test_server()->host_port_pair(), in IN_PROC_BROWSER_TEST_F()
589 test_server()->host_port_pair(), in IN_PROC_BROWSER_TEST_F()
619 test_server()->host_port_pair(), in IN_PROC_BROWSER_TEST_F()
645 test_server()->host_port_pair(), in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium/net/socket_stream/
Dsocket_stream.cc523 HostPortPair host_port_pair; in DoResolveHost() local
525 host_port_pair = proxy_info_.proxy_server().host_port_pair(); in DoResolveHost()
527 host_port_pair = HostPortPair::FromURL(url_); in DoResolveHost()
530 HostResolver::RequestInfo resolve_info(host_port_pair); in DoResolveHost()
756 ASCIIToWide(proxy_info_.proxy_server().host_port_pair().ToString()); in DoReadTunnelHeadersComplete()
937 proxy_info_.proxy_server().host_port_pair().ToString()); in ProxyAuthOrigin()
/external/chromium/chrome/browser/resources/net_internals/
Dspdyview.js115 tablePrinter.addCell(session.host_port_pair);
152 tablePrinter.addCell(entry.host_port_pair);
/external/chromium/net/http/
Dhttp_proxy_client_socket_pool.cc213 HostPortProxyPair pair(params_->destination().host_port_pair(), in DoSSLConnect()
277 const HostPortPair& proxy_server = tcp_destination.host_port_pair(); in DoHttpProxyConnect()
319 HostPortProxyPair pair(params_->destination().host_port_pair(), in DoSpdyProxyCreateStream()
365 params_->destination().host_port_pair(), in DoSpdyProxyCreateStreamComplete()
Dhttp_stream_factory_impl_unittest.cc293 HostPortPair host_port_pair("www.google.com", 443); in TEST() local
294 HostPortProxyPair pair(host_port_pair, ProxyServer::Direct()); in TEST()
/external/chromium/chrome/browser/history/
Dmultipart_uitest.cc51 test_server.host_port_pair().HostForURL() + ":%/multipart'"); in TEST_F()
/external/chromium/net/url_request/
Durl_request_unittest.cc257 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
282 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
314 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
343 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
371 new TestURLRequestContext(test_server_.host_port_pair().ToString())); in TEST_F()
398 EXPECT_EQ(test_server_.host_port_pair().host(), in TEST_F()
400 EXPECT_EQ(test_server_.host_port_pair().port(), in TEST_F()
422 EXPECT_EQ(test_server_.host_port_pair().host(), in TEST_F()
424 EXPECT_EQ(test_server_.host_port_pair().port(), in TEST_F()
497 EXPECT_EQ(test_server.host_port_pair().host(), in TEST_F()
[all …]
/external/chromium/net/tools/testserver/
Drun_testserver.cc73 test_server.host_port_pair().ToString().c_str()); in main()

12