/external/chromium/net/proxy/ |
proxy_server_unittest.cc | 9 // Test the creation of ProxyServer using ProxyServer::FromURI, which parses 16 net::ProxyServer::Scheme expected_scheme; 25 net::ProxyServer::SCHEME_HTTP, 33 net::ProxyServer::SCHEME_HTTP, 41 net::ProxyServer::SCHEME_HTTP, 51 net::ProxyServer::SCHEME_HTTP, 59 net::ProxyServer::SCHEME_HTTP, 67 net::ProxyServer::SCHEME_HTTP, 75 net::ProxyServer::SCHEME_HTTP [all...] |
proxy_list.h | 16 class ProxyServer; 31 void SetSingleProxyServer(const ProxyServer& proxy_server); 38 // |scheme_bit_field| is a bunch of ProxyServer::Scheme bitwise ORed together. 46 const ProxyServer& Get() const; 67 std::vector<ProxyServer> proxies_;
|
proxy_server.h | 20 // ProxyServer encodes the {type, host, port} of a proxy server. 21 // ProxyServer is immutable. 22 class ProxyServer { 38 // Constructs an invalid ProxyServer. 39 ProxyServer() : scheme_(SCHEME_INVALID) {} 41 ProxyServer(Scheme scheme, const HostPortPair& host_port_pair); 48 // Returns true if this ProxyServer is actually just a DIRECT connection. 51 // Returns true if this ProxyServer is an HTTP proxy. 54 // Returns true if this ProxyServer is an HTTPS proxy. 57 // Returns true if this ProxyServer is a SOCKS proxy [all...] |
proxy_server.cc | 18 // Parses the proxy type from a PAC string, to a ProxyServer::Scheme. 21 ProxyServer::Scheme GetSchemeFromPacTypeInternal( 25 return ProxyServer::SCHEME_HTTP; 30 return ProxyServer::SCHEME_SOCKS4; 33 return ProxyServer::SCHEME_SOCKS4; 35 return ProxyServer::SCHEME_SOCKS5; 37 return ProxyServer::SCHEME_DIRECT; 39 return ProxyServer::SCHEME_HTTPS; 41 return ProxyServer::SCHEME_INVALID; 45 // ProxyServer::Scheme. This corresponds with the values used i [all...] |
proxy_server_mac.cc | 18 ProxyServer ProxyServer::FromDictionary(Scheme scheme, 24 return ProxyServer(scheme, HostPortPair()); 34 return ProxyServer(); // Invalid. 48 return ProxyServer(scheme, HostPortPair(host, port));
|
proxy_config.h | 77 const ProxyServer* MapUrlSchemeToProxy(const std::string& url_scheme) const; 91 ProxyServer single_proxy; 94 ProxyServer proxy_for_http; 95 ProxyServer proxy_for_https; 96 ProxyServer proxy_for_ftp; 99 ProxyServer fallback_proxy; 105 ProxyServer* MapUrlSchemeToProxyNoFallback(const std::string& scheme);
|
proxy_list.cc | 27 ProxyServer uri = ProxyServer::FromURI( 28 str_tok.token_begin(), str_tok.token_end(), ProxyServer::SCHEME_HTTP); 35 void ProxyList::SetSingleProxyServer(const ProxyServer& proxy_server) { 46 std::vector<ProxyServer> good_proxies; 47 std::vector<ProxyServer> bad_proxies; 49 std::vector<ProxyServer>::const_iterator iter = proxies_.begin(); 70 for (std::vector<ProxyServer>::iterator it = proxies_.begin(); 84 const ProxyServer& ProxyList::Get() const { 93 ProxyServer uri = ProxyServer::FromPacString [all...] |
proxy_config.cc | 19 const ProxyServer& proxy, 55 const ProxyServer* entry = MapUrlSchemeToProxy(url.scheme()); 76 single_proxy = ProxyServer(); 77 proxy_for_http = ProxyServer(); 78 proxy_for_https = ProxyServer(); 79 proxy_for_ftp = ProxyServer(); 80 fallback_proxy = ProxyServer(); 96 single_proxy = ProxyServer::FromURI(url_scheme, 97 ProxyServer::SCHEME_HTTP); 107 ProxyServer* entry = MapUrlSchemeToProxyNoFallback(url_scheme) [all...] |
proxy_info.cc | 22 proxy_list_.SetSingleProxyServer(ProxyServer::Direct()); 29 void ProxyInfo::UseProxyServer(const ProxyServer& proxy_server) {
|
proxy_info.h | 38 void UseProxyServer(const ProxyServer& proxy_server); 81 const ProxyServer& proxy_server() const { return proxy_list_.Get(); }
|
/external/chromium_org/net/proxy/ |
proxy_server_unittest.cc | 9 // Test the creation of ProxyServer using ProxyServer::FromURI, which parses 16 net::ProxyServer::Scheme expected_scheme; 25 net::ProxyServer::SCHEME_HTTP, 33 net::ProxyServer::SCHEME_HTTP, 41 net::ProxyServer::SCHEME_HTTP, 51 net::ProxyServer::SCHEME_HTTP, 59 net::ProxyServer::SCHEME_HTTP, 67 net::ProxyServer::SCHEME_HTTP, 75 net::ProxyServer::SCHEME_HTTP [all...] |
proxy_server.h | 20 // ProxyServer encodes the {type, host, port} of a proxy server. 21 // ProxyServer is immutable. 22 class NET_EXPORT ProxyServer { 38 // Constructs an invalid ProxyServer. 39 ProxyServer() : scheme_(SCHEME_INVALID) {} 41 ProxyServer(Scheme scheme, const HostPortPair& host_port_pair); 48 // Returns true if this ProxyServer is actually just a DIRECT connection. 51 // Returns true if this ProxyServer is an HTTP proxy. 54 // Returns true if this ProxyServer is an HTTPS proxy. 57 // Returns true if this ProxyServer is a SOCKS proxy [all...] |
proxy_server.cc | 17 // Parses the proxy type from a PAC string, to a ProxyServer::Scheme. 20 ProxyServer::Scheme GetSchemeFromPacTypeInternal( 24 return ProxyServer::SCHEME_HTTP; 29 return ProxyServer::SCHEME_SOCKS4; 32 return ProxyServer::SCHEME_SOCKS4; 34 return ProxyServer::SCHEME_SOCKS5; 36 return ProxyServer::SCHEME_DIRECT; 38 return ProxyServer::SCHEME_HTTPS; 40 return ProxyServer::SCHEME_INVALID; 44 // ProxyServer::Scheme. This corresponds with the values used i [all...] |
proxy_list.h | 22 class ProxyServer; 37 void SetSingleProxyServer(const ProxyServer& proxy_server); 40 void AddProxyServer(const ProxyServer& proxy_server); 51 // |scheme_bit_field| is a bunch of ProxyServer::Scheme bitwise ORed together. 68 const ProxyServer& Get() const; 100 const ProxyServer& another_proxy_to_bypass, 116 std::vector<ProxyServer> proxies_;
|
proxy_server_mac.cc | 18 ProxyServer ProxyServer::FromDictionary(Scheme scheme, 24 return ProxyServer(scheme, HostPortPair()); 33 return ProxyServer(); // Invalid. 46 return ProxyServer(scheme, HostPortPair(host, port));
|
proxy_list.cc | 30 ProxyServer uri = ProxyServer::FromURI( 31 str_tok.token_begin(), str_tok.token_end(), ProxyServer::SCHEME_HTTP); 38 void ProxyList::SetSingleProxyServer(const ProxyServer& proxy_server) { 43 void ProxyList::AddProxyServer(const ProxyServer& proxy_server) { 53 std::vector<ProxyServer> good_proxies; 54 std::vector<ProxyServer> bad_proxies; 56 std::vector<ProxyServer>::const_iterator iter = proxies_.begin(); 78 std::vector<ProxyServer>::const_iterator iter = proxies_.begin(); 97 for (std::vector<ProxyServer>::iterator it = proxies_.begin() [all...] |
proxy_resolver_mac.cc | 26 // Utility function to map a CFProxyType to a ProxyServer::Scheme. 27 // If the type is unknown, returns ProxyServer::SCHEME_INVALID. 28 net::ProxyServer::Scheme GetProxyServerScheme(CFStringRef proxy_type) { 30 return net::ProxyServer::SCHEME_DIRECT; 32 return net::ProxyServer::SCHEME_HTTP; 36 return net::ProxyServer::SCHEME_HTTP; 41 return net::ProxyServer::SCHEME_SOCKS5; 43 return net::ProxyServer::SCHEME_INVALID; 164 ProxyServer proxy_server = ProxyServer::FromDictionary [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
ProxyServer.h | 39 class PLATFORM_EXPORT ProxyServer { 48 ProxyServer() 54 ProxyServer(Type type, const String& hostName, int port) 72 PLATFORM_EXPORT Vector<ProxyServer> proxyServersForURL(const KURL&, const NetworkingContext*); 76 PLATFORM_EXPORT String toString(const Vector<ProxyServer>&);
|
ProxyServer.cpp | 27 #include "platform/network/ProxyServer.h" 33 static void appendProxyServerString(StringBuilder& builder, const ProxyServer& proxyServer) 35 switch (proxyServer.type()) { 36 case ProxyServer::Direct: 39 case ProxyServer::HTTP: 40 case ProxyServer::HTTPS: 43 case ProxyServer::SOCKS: 50 ASSERT(!proxyServer.hostName().isNull()); 51 builder.append(proxyServer.hostName()) [all...] |
/external/chromium/chrome/browser/chromeos/ |
proxy_cros_settings_provider.h | 29 net::ProxyServer CreateProxyServerFromHost( 32 net::ProxyServer::Scheme scheme) const; 34 net::ProxyServer CreateProxyServerFromPort( 37 net::ProxyServer::Scheme scheme) const;
|
proxy_cros_settings_provider.cc | 58 val, config.single_proxy, net::ProxyServer::SCHEME_HTTP)); 64 val, config.single_proxy, net::ProxyServer::SCHEME_HTTP)); 71 val, config.http_proxy, net::ProxyServer::SCHEME_HTTP)); 78 val, config.http_proxy, net::ProxyServer::SCHEME_HTTP)); 85 val, config.https_proxy, net::ProxyServer::SCHEME_HTTP)); 92 val, config.https_proxy, net::ProxyServer::SCHEME_HTTP)); 131 net::ProxyServer()); 153 val, config.ftp_proxy, net::ProxyServer::SCHEME_HTTP)); 160 val, config.ftp_proxy, net::ProxyServer::SCHEME_HTTP)); 168 net::ProxyServer::SCHEME_SOCKS5 [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
proxyserver.h | 41 // ProxyServer is a base class that allows for easy construction of proxy 45 // class; children of ProxyServer implement WrapSocket appropriately to return 77 class ProxyServer : public sigslot::has_slots<> { 79 ProxyServer(SocketFactory* int_factory, const SocketAddress& int_addr, 81 virtual ~ProxyServer(); 94 DISALLOW_EVIL_CONSTRUCTORS(ProxyServer); 97 // SocksProxyServer is a simple extension of ProxyServer to implement SOCKS. 98 class SocksProxyServer : public ProxyServer { 102 : ProxyServer(int_factory, int_addr, ext_factory, ext_ip) {
|
/external/chromium_org/net/spdy/ |
spdy_session_key.h | 18 const ProxyServer& proxy_server, 41 const ProxyServer& proxy_server() const {
|
/external/chromium_org/chrome/browser/chromeos/ |
ui_proxy_config.h | 55 net::ProxyServer server; 62 void SetSingleProxy(const net::ProxyServer& server); 66 const net::ProxyServer& server); 84 const net::ProxyServer& server,
|
proxy_cros_settings_parser.cc | 70 net::ProxyServer CreateProxyServer(std::string host, 72 net::ProxyServer::Scheme scheme) { 74 return net::ProxyServer(); 75 uint16 default_port = net::ProxyServer::GetDefaultPortForScheme(scheme); 87 return net::ProxyServer(scheme, host_port_pair); 90 net::ProxyServer CreateProxyServerFromHost( 93 net::ProxyServer::Scheme scheme) { 100 net::ProxyServer CreateProxyServerFromPort( 103 net::ProxyServer::Scheme scheme) { 143 val, config.single_proxy, net::ProxyServer::SCHEME_HTTP)) [all...] |