Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: chrome/browser/net/dns_probe_test_util.h

Issue 13270005: Display DNS probe results. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix more browser test issues Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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"
10 #include "net/dns/dns_test_util.h"
11
12 namespace chrome_browser_net {
13
14 // Creates a mock DNS client with a single rule for the known-good query
15 // (currently google.com) that returns |good_result|.
16 scoped_ptr<net::DnsClient> CreateMockDnsClientForProbes(
17 net::MockDnsClientRule::Result good_result);
mmenke 2013/06/25 17:40:27 nit: - good
Deprecated (see juliatuttle) 2013/06/26 22:23:56 Done.
18
19 } // namespace chrome_browser_net
20
21 #endif // CHROME_BROWSER_NET_DNS_PROBE_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698