OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_NET_DNS_PROBE_TEST_UTIL_H_ | |
6 #define CHROME_BROWSER_NET_DNS_PROBE_TEST_UTIL_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "net/dns/dns_client.h" | |
mmenke
2013/06/12 19:17:12
I don't believe this is needed. If it is, should
Deprecated (see juliatuttle)
2013/06/13 14:37:04
It is required; scoped_ptr needs to know how to de
| |
10 #include "net/dns/dns_test_util.h" | |
11 | |
12 namespace net { | |
13 class DnsClient; | |
14 } | |
15 | |
16 namespace chrome_browser_net { | |
17 | |
18 // Creates a mock DNS client with a single rule for the known-good query | |
19 // (currently google.com) that returns |good_result|. | |
20 scoped_ptr<net::DnsClient> CreateMockDnsClientForProbes( | |
21 net::MockDnsClientRule::Result good_result); | |
22 | |
23 } // namespace chrome_browser_net | |
24 | |
25 #endif | |
OLD | NEW |