Searched refs:ProxyServer (Results 1 - 25 of 107) sorted by relevance

12345

/external/chromium/net/proxy/
H A Dproxy_server_unittest.cc9 // 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
[all...]
H A Dproxy_server.h20 // ProxyServer encodes the {type, host, port} of a proxy server.
21 // ProxyServer is immutable.
22 class ProxyServer { class in namespace:net
38 // Constructs an invalid ProxyServer.
39 ProxyServer() : scheme_(SCHEME_INVALID) {} function in class:net::ProxyServer
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 i
[all...]
H A Dproxy_server.cc18 // 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
74 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair) function in class:net::ProxyServer
[all...]
H A Dproxy_list.h16 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_;
H A Dproxy_server_mac.cc18 ProxyServer ProxyServer::FromDictionary(Scheme scheme,
24 return ProxyServer(scheme, HostPortPair());
34 return ProxyServer(); // Invalid.
48 return ProxyServer(scheme, HostPortPair(host, port));
H A Dproxy_config.h77 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);
H A Dproxy_list.cc27 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 ur
[all...]
H A Dproxy_config.cc19 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* entr
[all...]
H A Dproxy_info.cc22 proxy_list_.SetSingleProxyServer(ProxyServer::Direct());
29 void ProxyInfo::UseProxyServer(const ProxyServer& proxy_server) {
H A Dproxy_info.h38 void UseProxyServer(const ProxyServer& proxy_server);
81 const ProxyServer& proxy_server() const { return proxy_list_.Get(); }
/external/chromium_org/net/proxy/
H A Dproxy_server_unittest.cc9 // 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
[all...]
H A Dproxy_server.h20 // ProxyServer encodes the {type, host, port} of a proxy server.
21 // ProxyServer is immutable.
22 class NET_EXPORT ProxyServer { class in namespace:net
38 // Constructs an invalid ProxyServer.
39 ProxyServer() : scheme_(SCHEME_INVALID) {} function in class:net::ProxyServer
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 i
[all...]
H A Dproxy_server.cc17 // 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
73 ProxyServer::ProxyServer(Scheme scheme, const HostPortPair& host_port_pair) function in class:net::ProxyServer
[all...]
H A Dproxy_list.h21 class ProxyServer;
36 void SetSingleProxyServer(const ProxyServer& proxy_server);
39 void AddProxyServer(const ProxyServer& proxy_server);
50 // |scheme_bit_field| is a bunch of ProxyServer::Scheme bitwise ORed together.
67 const ProxyServer& Get() const;
98 std::vector<ProxyServer> proxies_;
H A Dproxy_server_mac.cc18 ProxyServer ProxyServer::FromDictionary(Scheme scheme,
24 return ProxyServer(scheme, HostPortPair());
33 return ProxyServer(); // Invalid.
46 return ProxyServer(scheme, HostPortPair(host, port));
H A Dproxy_list.cc30 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>
[all...]
H A Dproxy_resolver_mac.cc26 // 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
[all...]
/external/chromium_org/third_party/WebKit/Source/core/platform/network/
H A DProxyServer.h38 class ProxyServer { class in namespace:WebCore
47 ProxyServer() function in class:WebCore::ProxyServer
53 ProxyServer(Type type, const String& hostName, int port) function in class:WebCore::ProxyServer
71 Vector<ProxyServer> proxyServersForURL(const KURL&, const NetworkingContext*);
75 String toString(const Vector<ProxyServer>&);
H A DProxyServer.cpp27 #include "core/platform/network/ProxyServer.h"
33 static void appendProxyServerString(StringBuilder& builder, const ProxyServer& proxyServer)
36 case ProxyServer::Direct:
39 case ProxyServer::HTTP:
40 case ProxyServer::HTTPS:
43 case ProxyServer::SOCKS:
58 String toString(const Vector<ProxyServer>& proxyServers)
/external/chromium/chrome/browser/chromeos/
H A Dproxy_cros_settings_provider.h29 net::ProxyServer CreateProxyServerFromHost(
32 net::ProxyServer::Scheme scheme) const;
34 net::ProxyServer CreateProxyServerFromPort(
37 net::ProxyServer::Scheme scheme) const;
H A Dproxy_cros_settings_provider.cc58 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
[all...]
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dproxyserver.h41 // 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<> { class in namespace:talk_base
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/
H A Dspdy_session_key.h18 const ProxyServer& proxy_server,
41 const ProxyServer& proxy_server() const {
/external/chromium_org/chrome/browser/chromeos/
H A Dui_proxy_config.h55 net::ProxyServer server;
62 void SetSingleProxy(const net::ProxyServer& server);
66 const net::ProxyServer& server);
84 const net::ProxyServer& server,
H A Dproxy_cros_settings_parser.cc70 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
[all...]

Completed in 247 milliseconds

12345