Searched refs:MockHostResolverCreator (Results 1 – 7 of 7) sorted by relevance
15 const std::string MockHostResolverCreator::kHostname = "www.sowbug.com";16 const std::string MockHostResolverCreator::kAddress = "9.8.7.6";18 MockHostResolverCreator::MockHostResolverCreator() in MockHostResolverCreator() function in extensions::MockHostResolverCreator23 MockHostResolverCreator::~MockHostResolverCreator() { in ~MockHostResolverCreator()26 net::MockHostResolver* MockHostResolverCreator::CreateMockHostResolver() { in CreateMockHostResolver()32 base::Bind(&MockHostResolverCreator::CreateMockHostResolverOnIOThread, in CreateMockHostResolver()42 void MockHostResolverCreator::CreateMockHostResolverOnIOThread() { in CreateMockHostResolverOnIOThread()49 void MockHostResolverCreator::DeleteMockHostResolver() { in DeleteMockHostResolver()56 base::Bind(&MockHostResolverCreator::DeleteMockHostResolverOnIOThread, in DeleteMockHostResolver()64 void MockHostResolverCreator::DeleteMockHostResolverOnIOThread() { in DeleteMockHostResolverOnIOThread()
21 class MockHostResolverCreator22 : public base::RefCountedThreadSafe<MockHostResolverCreator> {27 MockHostResolverCreator();33 friend class base::RefCountedThreadSafe<MockHostResolverCreator>;34 virtual ~MockHostResolverCreator();
25 resolver_creator_(new extensions::MockHostResolverCreator()) { in DnsApiTest()51 scoped_refptr<extensions::MockHostResolverCreator> resolver_creator_;88 function_arguments += extensions::MockHostResolverCreator::kHostname; in IN_PROC_BROWSER_TEST_F()103 EXPECT_EQ(extensions::MockHostResolverCreator::kAddress, address); in IN_PROC_BROWSER_TEST_F()
44 new extensions::MockHostResolverCreator()) { in SocketsTcpServerApiTest()64 scoped_refptr<extensions::MockHostResolverCreator> resolver_creator_;
42 new extensions::MockHostResolverCreator()) { in SocketsTcpApiTest()62 scoped_refptr<extensions::MockHostResolverCreator> resolver_creator_;
44 new extensions::MockHostResolverCreator()) { in SocketsUdpApiTest()64 scoped_refptr<extensions::MockHostResolverCreator> resolver_creator_;
36 new extensions::MockHostResolverCreator()) { in SocketApiTest()56 scoped_refptr<extensions::MockHostResolverCreator> resolver_creator_;