Searched refs:host_resolver (Results 1 - 25 of 183) sorted by relevance

12345678

/external/chromium_org/net/ftp/
H A Dftp_network_session.cc9 FtpNetworkSession::FtpNetworkSession(HostResolver* host_resolver) argument
10 : host_resolver_(host_resolver) {}
H A Dftp_network_layer.cc13 FtpNetworkLayer::FtpNetworkLayer(HostResolver* host_resolver) argument
14 : session_(new FtpNetworkSession(host_resolver)),
23 HostResolver* host_resolver) {
24 return new FtpNetworkLayer(host_resolver);
22 CreateFactory( HostResolver* host_resolver) argument
H A Dftp_network_session.h19 explicit FtpNetworkSession(HostResolver* host_resolver);
21 HostResolver* host_resolver() { return host_resolver_; } function in class:net::FtpNetworkSession
H A Dftp_network_layer.h21 explicit FtpNetworkLayer(HostResolver* host_resolver);
24 static FtpTransactionFactory* CreateFactory(HostResolver* host_resolver);
/external/chromium_org/chrome/browser/extensions/
H A Dextension_javascript_url_apitest.cc10 host_resolver()->AddRule("a.com", "127.0.0.1");
11 host_resolver()->AddRule("b.com", "127.0.0.1");
H A Dexecute_script_apitest.cc12 host_resolver()->AddRuleWithLatency("a.com", "127.0.0.1", 500);
13 host_resolver()->AddRule("b.com", "127.0.0.1");
14 host_resolver()->AddRule("c.com", "127.0.0.1");
48 host_resolver()->AddRule("b.com", "127.0.0.1");
68 host_resolver()->AddRule("a.com", "127.0.0.1");
69 host_resolver()->AddRule("b.com", "127.0.0.1");
76 host_resolver()->AddRule("a.com", "127.0.0.1");
77 host_resolver()->AddRule("b.com", "127.0.0.1");
H A Dcross_origin_xhr_apitest.cc12 host_resolver()->AddRule("*.com", "127.0.0.1");
19 host_resolver()->AddRule("*.com", "127.0.0.1");
25 host_resolver()->AddRule("*.com", "127.0.0.1");
/external/chromium_org/chrome/browser/chromeos/extensions/
H A Dwallpaper_apitest.cc9 host_resolver()->AddRule("a.com", "127.0.0.1");
H A Dwallpaper_private_apitest.cc10 host_resolver()->AddRule("a.com", "127.0.0.1");
/external/chromium_org/ppapi/c/
H A Dppb_host_resolver.h110 * @param[in] host_resolver A <code>PP_Resource</code> corresponding to a host
125 int32_t (*Resolve)(PP_Resource host_resolver,
133 * @param[in] host_resolver A <code>PP_Resource</code> corresponding to a host
142 struct PP_Var (*GetCanonicalName)(PP_Resource host_resolver);
146 * @param[in] host_resolver A <code>PP_Resource</code> corresponding to a host
153 uint32_t (*GetNetAddressCount)(PP_Resource host_resolver);
157 * @param[in] host_resolver A <code>PP_Resource</code> corresponding to a host
165 PP_Resource (*GetNetAddress)(PP_Resource host_resolver, uint32_t index);
/external/chromium_org/ppapi/c/private/
H A Dppb_host_resolver_private.h88 int32_t (*Resolve)(PP_Resource host_resolver,
96 struct PP_Var (*GetCanonicalName)(PP_Resource host_resolver);
100 uint32_t (*GetSize)(PP_Resource host_resolver);
107 PP_Bool (*GetNetAddress)(PP_Resource host_resolver,
/external/chromium_org/ppapi/api/
H A Dppb_host_resolver.idl81 * @param[in] host_resolver A <code>PP_Resource</code> corresponding to a host
96 int32_t Resolve([in] PP_Resource host_resolver,
105 * @param[in] host_resolver A <code>PP_Resource</code> corresponding to a host
114 PP_Var GetCanonicalName([in] PP_Resource host_resolver);
119 * @param[in] host_resolver A <code>PP_Resource</code> corresponding to a host
126 uint32_t GetNetAddressCount([in] PP_Resource host_resolver);
131 * @param[in] host_resolver A <code>PP_Resource</code> corresponding to a host
139 PP_Resource GetNetAddress([in] PP_Resource host_resolver,
/external/chromium_org/ppapi/api/private/
H A Dppb_host_resolver_private.idl54 int32_t Resolve([in] PP_Resource host_resolver,
63 PP_Var GetCanonicalName([in] PP_Resource host_resolver);
68 uint32_t GetSize([in] PP_Resource host_resolver);
76 PP_Bool GetNetAddress([in] PP_Resource host_resolver,
/external/chromium_org/ppapi/thunk/
H A Dppb_host_resolver_private_thunk.cc32 int32_t Resolve(PP_Resource host_resolver, argument
37 EnterHostResolver enter(host_resolver, callback, true);
44 PP_Var GetCanonicalName(PP_Resource host_resolver) { argument
45 EnterHostResolver enter(host_resolver, true);
51 uint32_t GetSize(PP_Resource host_resolver) { argument
52 EnterHostResolver enter(host_resolver, true);
58 PP_Bool GetNetAddress(PP_Resource host_resolver, argument
61 EnterHostResolver enter(host_resolver, true);
H A Dppb_host_resolver_thunk.cc34 int32_t Resolve(PP_Resource host_resolver, argument
40 EnterResource<PPB_HostResolver_API> enter(host_resolver, callback, true);
49 struct PP_Var GetCanonicalName(PP_Resource host_resolver) { argument
51 EnterResource<PPB_HostResolver_API> enter(host_resolver, true);
57 uint32_t GetNetAddressCount(PP_Resource host_resolver) { argument
59 EnterResource<PPB_HostResolver_API> enter(host_resolver, true);
65 PP_Resource GetNetAddress(PP_Resource host_resolver, uint32_t index) { argument
67 EnterResource<PPB_HostResolver_API> enter(host_resolver, true);
/external/chromium_org/net/proxy/
H A Dproxy_service_v8.cc20 HostResolver* host_resolver,
26 DCHECK(host_resolver);
32 new ProxyResolverV8Tracing(host_resolver, error_observer, net_log);
16 CreateProxyServiceUsingV8ProxyResolver( ProxyConfigService* proxy_config_service, ProxyScriptFetcher* proxy_script_fetcher, DhcpProxyScriptFetcher* dhcp_proxy_script_fetcher, HostResolver* host_resolver, NetLog* net_log, NetworkDelegate* network_delegate) argument
H A Dproxy_resolver_v8_tracing_unittest.cc102 MockCachingHostResolver host_resolver; local
104 ProxyResolverV8Tracing resolver(&host_resolver, error_observer, &log);
120 EXPECT_EQ(0u, host_resolver.num_resolve());
133 MockCachingHostResolver host_resolver; local
135 ProxyResolverV8Tracing resolver(&host_resolver, error_observer, &log);
149 EXPECT_EQ(0u, host_resolver.num_resolve());
179 MockCachingHostResolver host_resolver; local
181 ProxyResolverV8Tracing resolver(&host_resolver, error_observer, &log);
203 EXPECT_EQ(1u, host_resolver.num_resolve());
230 MockCachingHostResolver host_resolver; local
279 MockCachingHostResolver host_resolver; local
356 MockCachingHostResolver host_resolver; local
413 MockCachingHostResolver host_resolver; local
465 MockCachingHostResolver host_resolver; local
505 MockCachingHostResolver host_resolver; local
548 MockCachingHostResolver host_resolver; local
581 MockCachingHostResolver host_resolver; local
651 MockCachingHostResolver host_resolver; local
679 MockCachingHostResolver host_resolver; local
711 MockCachingHostResolver host_resolver; local
829 BlockableHostResolver host_resolver; local
880 BlockableHostResolver host_resolver; local
909 MockCachingHostResolver host_resolver; local
934 BlockableHostResolver host_resolver; local
955 MockCachingHostResolver host_resolver; local
[all...]
H A Dproxy_service_v8.h31 // |host_resolver| points to the host resolving dependency the PAC script
44 HostResolver* host_resolver,
/external/chromium_org/ppapi/tests/
H A Dtest_host_resolver.cc7 #include "ppapi/cpp/host_resolver.h"
101 pp::HostResolver* host_resolver,
107 host_resolver->Resolve(host.c_str(), port, hint, callback.GetCallback()));
115 pp::HostResolver host_resolver(instance_);
117 ASSERT_SUBTEST_SUCCESS(SyncResolve(&host_resolver, host_, port_, hint));
119 size_t size = host_resolver.GetNetAddressCount();
124 address = host_resolver.GetNetAddress(i);
135 address = host_resolver.GetNetAddress(size);
137 pp::Var canonical_name = host_resolver.GetCanonicalName();
140 ASSERT_SUBTEST_SUCCESS(SyncResolve(&host_resolver, canonical_nam
100 SyncResolve( pp::HostResolver* host_resolver, const std::string& host, uint16_t port, const PP_HostResolver_Hint& hint) argument
[all...]
H A Dtest_host_resolver_private_disallowed.cc40 pp::HostResolverPrivate host_resolver(instance_);
46 host_resolver.Resolve(host_, port_, hint, callback.GetCallback()));
H A Dtest_host_resolver_private.cc116 pp::HostResolverPrivate* host_resolver,
122 host_resolver->Resolve(host, port, hint, callback.GetCallback()));
128 pp::HostResolverPrivate host_resolver(instance_);
129 ASSERT_EQ(0, host_resolver.GetSize());
131 ASSERT_FALSE(host_resolver.GetNetAddress(0, &address));
138 pp::HostResolverPrivate host_resolver(instance_);
140 ASSERT_SUBTEST_SUCCESS(SyncResolve(&host_resolver, host_, port_, hint));
142 const size_t size = host_resolver.GetSize();
147 ASSERT_TRUE(host_resolver.GetNetAddress(i, &address));
157 ASSERT_FALSE(host_resolver
115 SyncResolve( pp::HostResolverPrivate* host_resolver, const std::string& host, uint16_t port, const PP_HostResolver_Private_Hint& hint) argument
[all...]
/external/chromium_org/chrome/browser/extensions/api/history/
H A Dhistory_apitest.cc20 host_resolver()->AddRule("www.a.com", "127.0.0.1");
21 host_resolver()->AddRule("www.b.com", "127.0.0.1");
/external/chromium_org/chrome/browser/extensions/api/permissions/
H A Dpermissions_apitest.cc86 host_resolver()->AddRule("*.com", "127.0.0.1");
97 host_resolver()->AddRule("*.com", "127.0.0.1");
106 host_resolver()->AddRule("*.com", "127.0.0.1");
115 host_resolver()->AddRule("*.com", "127.0.0.1");
125 host_resolver()->AddRule("*.com", "127.0.0.1");
/external/chromium_org/extensions/browser/api/dns/
H A Ddns_api.cc51 net::HostResolver* host_resolver = local
53 DCHECK(host_resolver);
62 int resolve_result = host_resolver->Resolve(
/external/chromium_org/content/shell/browser/
H A Dshell_url_request_context_getter.cc23 #include "net/dns/host_resolver.h"
116 scoped_ptr<net::HostResolver> host_resolver(
134 net::HttpAuthHandlerFactory::CreateDefault(host_resolver.get()));
189 new net::MappedHostResolver(host_resolver.Pass()));
192 host_resolver = mapped_host_resolver.Pass();
196 storage_->set_host_resolver(host_resolver.Pass());
197 network_session_params.host_resolver =
198 url_request_context_->host_resolver();
244 net::HostResolver* ShellURLRequestContextGetter::host_resolver() { function in class:content::ShellURLRequestContextGetter
245 return url_request_context_->host_resolver();
[all...]

Completed in 362 milliseconds

12345678