Home
last modified time | relevance | path

Searched refs:MockHostResolverBase (Results 1 – 11 of 11) sorted by relevance

/external/chromium/net/base/
Dmock_host_resolver.h40 class MockHostResolverBase : public HostResolver {
42 virtual ~MockHostResolverBase();
72 MockHostResolverBase(bool use_caching);
80 DISALLOW_COPY_AND_ASSIGN(MockHostResolverBase);
83 class MockHostResolver : public MockHostResolverBase {
85 MockHostResolver() : MockHostResolverBase(false /*use_caching*/) {} in MockHostResolver()
94 class MockCachingHostResolver : public MockHostResolverBase {
96 MockCachingHostResolver() : MockHostResolverBase(true /*use_caching*/) {} in MockCachingHostResolver()
Dmock_host_resolver.cc58 MockHostResolverBase::~MockHostResolverBase() {} in ~MockHostResolverBase()
60 void MockHostResolverBase::Reset(HostResolverProc* interceptor) { in Reset()
91 int MockHostResolverBase::Resolve(const RequestInfo& info, in Resolve()
103 void MockHostResolverBase::CancelRequest(RequestHandle req) { in CancelRequest()
107 void MockHostResolverBase::AddObserver(Observer* observer) { in AddObserver()
111 void MockHostResolverBase::RemoveObserver(Observer* observer) { in RemoveObserver()
115 MockHostResolverBase::MockHostResolverBase(bool use_caching) in MockHostResolverBase() function in net::MockHostResolverBase
Dhost_resolver_proc.h53 friend class MockHostResolverBase; variable
/external/chromium_org/net/dns/
Dmock_host_resolver.h54 class MockHostResolverBase : public HostResolver,
55 public base::SupportsWeakPtr<MockHostResolverBase>,
58 virtual ~MockHostResolverBase();
115 explicit MockHostResolverBase(bool use_caching);
141 DISALLOW_COPY_AND_ASSIGN(MockHostResolverBase);
144 class MockHostResolver : public MockHostResolverBase {
146 MockHostResolver() : MockHostResolverBase(false /*use_caching*/) {} in MockHostResolver()
155 class MockCachingHostResolver : public MockHostResolverBase {
157 MockCachingHostResolver() : MockHostResolverBase(true /*use_caching*/) {} in MockCachingHostResolver()
Dmock_host_resolver.cc55 struct MockHostResolverBase::Request {
65 MockHostResolverBase::~MockHostResolverBase() { in ~MockHostResolverBase()
69 int MockHostResolverBase::Resolve(const RequestInfo& info, in Resolve()
95 base::Bind(&MockHostResolverBase::ResolveNow, AsWeakPtr(), id)); in Resolve()
101 int MockHostResolverBase::ResolveFromCache(const RequestInfo& info, in ResolveFromCache()
111 void MockHostResolverBase::CancelRequest(RequestHandle handle) { in CancelRequest()
124 HostCache* MockHostResolverBase::GetHostCache() { in GetHostCache()
128 void MockHostResolverBase::ResolveAllPending() { in ResolveAllPending()
134 base::Bind(&MockHostResolverBase::ResolveNow, AsWeakPtr(), i->first)); in ResolveAllPending()
139 MockHostResolverBase::MockHostResolverBase(bool use_caching) in MockHostResolverBase() function in net::MockHostResolverBase
[all …]
Dhost_resolver_proc.h54 friend class MockHostResolverBase; variable
/external/chromium/net/spdy/
Dspdy_test_util.h352 scoped_ptr<MockHostResolverBase> host_resolver;
/external/chromium/net/http/
Dhttp_stream_factory_impl_unittest.cc69 scoped_ptr<MockHostResolverBase> host_resolver;
Dhttp_network_transaction_unittest.cc95 scoped_ptr<MockHostResolverBase> host_resolver;
/external/chromium_org/net/spdy/
Dspdy_test_util_common.h205 scoped_ptr<MockHostResolverBase> host_resolver;
/external/chromium/net/url_request/
Durl_request_unittest.cc2432 scoped_ptr<MockHostResolverBase> host_resolver( in TEST_F()