Home
last modified time | relevance | path

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

/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.cc253 RuleBasedHostResolverProc::RuleBasedHostResolverProc(HostResolverProc* previous) in RuleBasedHostResolverProc()
254 : HostResolverProc(previous) { in RuleBasedHostResolverProc()
435 HostResolverProc* proc) { in ScopedDefaultHostResolverProc()
440 HostResolverProc* old_proc = in ~ScopedDefaultHostResolverProc()
441 HostResolverProc::SetDefault(previous_proc_.get()); in ~ScopedDefaultHostResolverProc()
446 void ScopedDefaultHostResolverProc::Init(HostResolverProc* proc) { in Init()
448 previous_proc_ = HostResolverProc::SetDefault(current_proc_.get()); in Init()
Dhost_resolver_impl.h79 ProcTaskParams(HostResolverProc* resolver_proc, size_t max_retry_attempts);
85 scoped_refptr<HostResolverProc> resolver_proc;
Dhost_resolver.h28 class HostResolverProc; variable
Dhost_resolver_impl_unittest.cc46 HostResolverProc* resolver_proc) { in DefaultParams()
54 class MockHostResolverProc : public HostResolverProc {
70 : HostResolverProc(NULL), in MockHostResolverProc()
318 class LookupAttemptHostResolverProc : public HostResolverProc {
320 LookupAttemptHostResolverProc(HostResolverProc* previous, in LookupAttemptHostResolverProc()
323 : HostResolverProc(previous), in LookupAttemptHostResolverProc()
1717 scoped_refptr<HostResolverProc> proc(new SystemHostResolverProc()); in TEST_F()
Dhost_resolver_impl.cc583 params_.resolver_proc = HostResolverProc::GetDefault(); in ProcTask()
1781 HostResolverProc* resolver_proc, in ProcTaskParams()
2325 HostResolverProc::GetDefault() != NULL); in HaveDnsConfig()
/external/chromium_org/content/public/test/
Dbrowser_test_base.cc84 class LocalHostResolverProc : public net::HostResolverProc {
86 LocalHostResolverProc() : HostResolverProc(NULL) {} in LocalHostResolverProc()
244 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()