Home
last modified time | relevance | path

Searched refs:MockHostResolverCreator (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/dns/
Dmock_host_resolver_creator.cc15 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::MockHostResolverCreator
23 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()
Dmock_host_resolver_creator.h21 class MockHostResolverCreator
22 : public base::RefCountedThreadSafe<MockHostResolverCreator> {
27 MockHostResolverCreator();
33 friend class base::RefCountedThreadSafe<MockHostResolverCreator>;
34 virtual ~MockHostResolverCreator();
Ddns_apitest.cc25 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()
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp_server/
Dsockets_tcp_server_apitest.cc44 new extensions::MockHostResolverCreator()) { in SocketsTcpServerApiTest()
64 scoped_refptr<extensions::MockHostResolverCreator> resolver_creator_;
/external/chromium_org/chrome/browser/extensions/api/sockets_tcp/
Dsockets_tcp_apitest.cc42 new extensions::MockHostResolverCreator()) { in SocketsTcpApiTest()
62 scoped_refptr<extensions::MockHostResolverCreator> resolver_creator_;
/external/chromium_org/chrome/browser/extensions/api/sockets_udp/
Dsockets_udp_apitest.cc44 new extensions::MockHostResolverCreator()) { in SocketsUdpApiTest()
64 scoped_refptr<extensions::MockHostResolverCreator> resolver_creator_;
/external/chromium_org/chrome/browser/extensions/api/socket/
Dsocket_apitest.cc36 new extensions::MockHostResolverCreator()) { in SocketApiTest()
56 scoped_refptr<extensions::MockHostResolverCreator> resolver_creator_;