Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dhost_resolver_proc.h25 class HostResolverProc : public base::RefCountedThreadSafe<HostResolverProc> {
27 explicit HostResolverProc(HostResolverProc* previous);
40 friend class base::RefCountedThreadSafe<HostResolverProc>;
42 virtual ~HostResolverProc();
58 void SetPreviousProc(HostResolverProc* proc);
62 void SetLastProc(HostResolverProc* proc);
66 static HostResolverProc* GetLastProc(HostResolverProc* proc);
72 static HostResolverProc* SetDefault(HostResolverProc* proc);
73 static HostResolverProc* GetDefault();
75 scoped_refptr<HostResolverProc> previous_proc_;
[all …]
Dhost_resolver_proc.cc57 HostResolverProc* HostResolverProc::default_proc_ = NULL;
59 HostResolverProc::HostResolverProc(HostResolverProc* previous) { in HostResolverProc() function in net::HostResolverProc
67 HostResolverProc::~HostResolverProc() { in ~HostResolverProc()
70 int HostResolverProc::ResolveUsingPrevious( in ResolveUsingPrevious()
86 void HostResolverProc::SetPreviousProc(HostResolverProc* proc) { in SetPreviousProc()
87 HostResolverProc* current_previous = previous_proc_; in SetPreviousProc()
94 void HostResolverProc::SetLastProc(HostResolverProc* proc) { in SetLastProc()
99 HostResolverProc* HostResolverProc::GetLastProc(HostResolverProc* proc) { in GetLastProc()
102 HostResolverProc* last_proc = proc; in GetLastProc()
109 HostResolverProc* HostResolverProc::SetDefault(HostResolverProc* proc) { in SetDefault()
[all …]
Dmock_host_resolver.h52 void Reset(HostResolverProc* interceptor);
104 class RuleBasedHostResolverProc : public HostResolverProc {
106 explicit RuleBasedHostResolverProc(HostResolverProc* previous);
155 class WaitingHostResolverProc : public HostResolverProc {
157 explicit WaitingHostResolverProc(HostResolverProc* previous);
186 explicit ScopedDefaultHostResolverProc(HostResolverProc* proc);
190 void Init(HostResolverProc* proc);
193 scoped_refptr<HostResolverProc> current_proc_;
194 scoped_refptr<HostResolverProc> previous_proc_;
Dmock_host_resolver.cc60 void MockHostResolverBase::Reset(HostResolverProc* interceptor) { in Reset()
71 HostResolverProc* proc = rules_; in Reset()
153 RuleBasedHostResolverProc::RuleBasedHostResolverProc(HostResolverProc* previous) in RuleBasedHostResolverProc()
154 : HostResolverProc(previous) { in RuleBasedHostResolverProc()
276 WaitingHostResolverProc::WaitingHostResolverProc(HostResolverProc* previous) in WaitingHostResolverProc()
277 : HostResolverProc(previous), event_(false, false) {} in WaitingHostResolverProc()
300 HostResolverProc* proc) { in ScopedDefaultHostResolverProc()
305 HostResolverProc* old_proc = HostResolverProc::SetDefault(previous_proc_); in ~ScopedDefaultHostResolverProc()
310 void ScopedDefaultHostResolverProc::Init(HostResolverProc* proc) { in Init()
312 previous_proc_ = HostResolverProc::SetDefault(current_proc_); in Init()
Dhost_resolver_impl.h80 HostResolverImpl(HostResolverProc* resolver_proc,
142 HostResolverProc* effective_resolver_proc() const { in effective_resolver_proc()
144 resolver_proc_.get() : HostResolverProc::GetDefault(); in effective_resolver_proc()
259 scoped_refptr<HostResolverProc> resolver_proc_;
Dhost_resolver.h24 class HostResolverProc; variable
245 HostResolverProc* resolver_proc,
Dhost_resolver_impl_unittest.cc41 HostResolverImpl* CreateHostResolverImpl(HostResolverProc* resolver_proc) { in CreateHostResolverImpl()
69 class CapturingHostResolverProc : public HostResolverProc {
80 explicit CapturingHostResolverProc(HostResolverProc* previous) in CapturingHostResolverProc()
81 : HostResolverProc(previous), event_(true, false) { in CapturingHostResolverProc()
131 class EchoingHostResolverProc : public HostResolverProc {
133 EchoingHostResolverProc() : HostResolverProc(NULL) {} in EchoingHostResolverProc()
Dhost_resolver_impl.cc75 HostResolverProc* resolver_proc, in CreateSystemHostResolver()
93 static int ResolveAddrInfo(HostResolverProc* resolver_proc, in ResolveAddrInfo()
618 scoped_refptr<HostResolverProc> resolver_proc_;
904 HostResolverProc* resolver_proc, in HostResolverImpl()
/external/chromium_org/net/dns/
Dhost_resolver_proc.h25 class NET_EXPORT HostResolverProc
26 : public base::RefCountedThreadSafe<HostResolverProc> {
28 explicit HostResolverProc(HostResolverProc* previous);
41 friend class base::RefCountedThreadSafe<HostResolverProc>;
43 virtual ~HostResolverProc();
59 void SetPreviousProc(HostResolverProc* proc);
63 void SetLastProc(HostResolverProc* proc);
67 static HostResolverProc* GetLastProc(HostResolverProc* proc);
73 static HostResolverProc* SetDefault(HostResolverProc* proc);
74 static HostResolverProc* GetDefault();
[all …]
Dhost_resolver_proc.cc59 HostResolverProc* HostResolverProc::default_proc_ = NULL;
61 HostResolverProc::HostResolverProc(HostResolverProc* previous) { in HostResolverProc() function in net::HostResolverProc
69 HostResolverProc::~HostResolverProc() { in ~HostResolverProc()
72 int HostResolverProc::ResolveUsingPrevious( in ResolveUsingPrevious()
88 void HostResolverProc::SetPreviousProc(HostResolverProc* proc) { in SetPreviousProc()
89 HostResolverProc* current_previous = previous_proc_.get(); in SetPreviousProc()
96 void HostResolverProc::SetLastProc(HostResolverProc* proc) { in SetLastProc()
101 HostResolverProc* HostResolverProc::GetLastProc(HostResolverProc* proc) { in GetLastProc()
104 HostResolverProc* last_proc = proc; in GetLastProc()
111 HostResolverProc* HostResolverProc::SetDefault(HostResolverProc* proc) { in SetDefault()
[all …]
Dmock_host_resolver.h165 class RuleBasedHostResolverProc : public HostResolverProc {
167 explicit RuleBasedHostResolverProc(HostResolverProc* previous);
250 explicit ScopedDefaultHostResolverProc(HostResolverProc* proc);
254 void Init(HostResolverProc* proc);
257 scoped_refptr<HostResolverProc> current_proc_;
258 scoped_refptr<HostResolverProc> previous_proc_;
Dmock_host_resolver.cc246 RuleBasedHostResolverProc::RuleBasedHostResolverProc(HostResolverProc* previous) in RuleBasedHostResolverProc()
247 : HostResolverProc(previous) { in RuleBasedHostResolverProc()
428 HostResolverProc* proc) { in ScopedDefaultHostResolverProc()
433 HostResolverProc* old_proc = in ~ScopedDefaultHostResolverProc()
434 HostResolverProc::SetDefault(previous_proc_.get()); in ~ScopedDefaultHostResolverProc()
439 void ScopedDefaultHostResolverProc::Init(HostResolverProc* proc) { in Init()
441 previous_proc_ = HostResolverProc::SetDefault(current_proc_.get()); in Init()
Dhost_resolver_impl.h81 ProcTaskParams(HostResolverProc* resolver_proc, size_t max_retry_attempts);
87 scoped_refptr<HostResolverProc> resolver_proc;
Dhost_resolver.h27 class HostResolverProc; variable
Dhost_resolver_impl_unittest.cc44 HostResolverProc* resolver_proc) { in DefaultParams()
52 class MockHostResolverProc : public HostResolverProc {
68 : HostResolverProc(NULL), in MockHostResolverProc()
316 class LookupAttemptHostResolverProc : public HostResolverProc {
318 LookupAttemptHostResolverProc(HostResolverProc* previous, in LookupAttemptHostResolverProc()
321 : HostResolverProc(previous), in LookupAttemptHostResolverProc()
1663 scoped_refptr<HostResolverProc> proc(new SystemHostResolverProc()); in TEST_F()
Dhost_resolver_impl.cc582 params_.resolver_proc = HostResolverProc::GetDefault(); in ProcTask()
1780 HostResolverProc* resolver_proc, in ProcTaskParams()
2313 HostResolverProc::GetDefault() != NULL); in HaveDnsConfig()
/external/chromium/chrome/common/net/
Draw_host_resolver_proc.cc13 net::HostResolverProc* previous) in RawHostResolverProc()
14 : HostResolverProc(previous), dns_server_(dns_server) {} in RawHostResolverProc()
Draw_host_resolver_proc.h22 class RawHostResolverProc : public net::HostResolverProc {
25 net::HostResolverProc* previous);
/external/chromium/chrome/browser/
Dintranet_redirect_detector.h92 class IntranetRedirectHostResolverProc : public net::HostResolverProc {
94 explicit IntranetRedirectHostResolverProc(net::HostResolverProc* previous);
Dintranet_redirect_detector.cc163 net::HostResolverProc* previous) in IntranetRedirectHostResolverProc()
164 : net::HostResolverProc(previous) { in IntranetRedirectHostResolverProc()
Dio_thread.cc127 scoped_refptr<net::HostResolverProc> resolver_proc; in CreateGlobalHostResolver()
/external/chromium_org/chrome/browser/
Dintranet_redirect_detector.h87 class IntranetRedirectHostResolverProc : public net::HostResolverProc {
89 explicit IntranetRedirectHostResolverProc(net::HostResolverProc* previous);
Dintranet_redirect_detector.cc169 net::HostResolverProc* previous) in IntranetRedirectHostResolverProc()
170 : net::HostResolverProc(previous) { in IntranetRedirectHostResolverProc()
/external/chromium_org/content/public/test/
Dbrowser_test_base.cc76 class LocalHostResolverProc : public net::HostResolverProc {
78 LocalHostResolverProc() : HostResolverProc(NULL) {} in LocalHostResolverProc()
212 scoped_refptr<net::HostResolverProc> local_resolver = in SetUp()
/external/chromium_org/chrome/browser/net/
Dpredictor_browsertest.cc25 class HostResolutionRequestRecorder : public net::HostResolverProc {
28 : HostResolverProc(NULL), in HostResolutionRequestRecorder()