Searched refs:mock_host_resolver_ (Results 1 – 2 of 2) sorted by relevance
19 : resolver_event_(true, false), mock_host_resolver_(NULL) { in MockHostResolverCreator()26 DCHECK(!mock_host_resolver_); in CreateMockHostResolver()39 return mock_host_resolver_; in CreateMockHostResolver()43 mock_host_resolver_ = new net::MockHostResolver(); in CreateMockHostResolverOnIOThread()44 mock_host_resolver_->rules()->AddRule(kHostname, kAddress); in CreateMockHostResolverOnIOThread()45 mock_host_resolver_->rules()->AddSimulatedFailure("this.hostname.is.bogus"); in CreateMockHostResolverOnIOThread()51 if (!mock_host_resolver_) in DeleteMockHostResolver()66 delete (mock_host_resolver_); in DeleteMockHostResolverOnIOThread()67 mock_host_resolver_ = NULL; in DeleteMockHostResolverOnIOThread()
47 net::MockHostResolver* mock_host_resolver_; variable