Searched refs:MockHostResolverBase (Results 1 – 11 of 11) sorted by relevance
40 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()
58 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
53 friend class MockHostResolverBase; variable
54 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()
55 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 …]
54 friend class MockHostResolverBase; variable
352 scoped_ptr<MockHostResolverBase> host_resolver;
69 scoped_ptr<MockHostResolverBase> host_resolver;
95 scoped_ptr<MockHostResolverBase> host_resolver;
205 scoped_ptr<MockHostResolverBase> host_resolver;
2432 scoped_ptr<MockHostResolverBase> host_resolver( in TEST_F()