/external/chromium/net/proxy/ |
D | proxy_server.cc | 74 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/ |
D | proxy_server.cc | 73 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/ |
D | socket_apitest.cc | 163 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/ |
D | http_server_properties_impl.cc | 91 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 …]
|
D | http_server_properties_impl.h | 58 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;
|
D | http_server_properties.h | 117 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/ |
D | spdy_http_stream_unittest.cc | 27 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 …]
|
D | spdy_settings_storage.cc | 18 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()
|
D | spdy_settings_storage.h | 25 const spdy::SpdySettings& Get(const HostPortPair& host_port_pair) const; 28 void Set(const HostPortPair& host_port_pair,
|
D | spdy_stream_unittest.cc | 118 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/ |
D | proxy_cros_settings_parser.cc | 60 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/ |
D | sockets_tcp_apitest.cc | 93 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/ |
D | host_port_pair.cc | 39 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/ |
D | sockets_udp_apitest.cc | 95 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/ |
D | app_background_page_apitest.cc | 66 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/ |
D | host_resolver.h | 60 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/ |
D | spdy_session_key.cc | 14 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()
|
D | spdy_http_stream_unittest.cc | 143 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 …]
|
D | spdy_session_key.h | 17 SpdySessionKey(const HostPortPair& host_port_pair, 37 const HostPortPair& host_port_pair() const { in host_port_pair() function
|
/external/chromium/chrome/browser/chromeos/ |
D | proxy_cros_settings_provider.cc | 174 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/ |
D | host_resolver.h | 42 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()
|
D | host_resolver.cc | 13 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/ |
D | render_frame_host_manager_browsertest.cc | 45 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/ |
D | ssl_client_socket_unittest.cc | 84 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/ |
D | http_server_properties_manager.h | 125 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;
|