OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_NET_DNS_PROBE_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_NET_DNS_PROBE_SERVICE_H_ |
6 #define CHROME_BROWSER_NET_DNS_PROBE_SERVICE_H_ | 6 #define CHROME_BROWSER_NET_DNS_PROBE_SERVICE_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "chrome/browser/net/dns_probe_runner.h" | 14 #include "chrome/browser/net/dns_probe_runner.h" |
15 #include "chrome/common/net/net_error_info.h" | 15 #include "components/error_page/common/net_error_info.h" |
16 #include "net/base/network_change_notifier.h" | 16 #include "net/base/network_change_notifier.h" |
17 | 17 |
18 namespace net { | 18 namespace net { |
19 class DnsClient; | 19 class DnsClient; |
20 struct DnsConfig; | 20 struct DnsConfig; |
21 } | 21 } |
22 | 22 |
23 namespace chrome_browser_net { | 23 namespace chrome_browser_net { |
24 | 24 |
25 // Probes the system and public DNS servers to determine the (probable) cause | 25 // Probes the system and public DNS servers to determine the (probable) cause |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 // DnsProbeRunners for the system DNS configuration and a public DNS server. | 72 // DnsProbeRunners for the system DNS configuration and a public DNS server. |
73 DnsProbeRunner system_runner_; | 73 DnsProbeRunner system_runner_; |
74 DnsProbeRunner public_runner_; | 74 DnsProbeRunner public_runner_; |
75 | 75 |
76 DISALLOW_COPY_AND_ASSIGN(DnsProbeService); | 76 DISALLOW_COPY_AND_ASSIGN(DnsProbeService); |
77 }; | 77 }; |
78 | 78 |
79 } // namespace chrome_browser_net | 79 } // namespace chrome_browser_net |
80 | 80 |
81 #endif // CHROME_BROWSER_NET_DNS_PROBE_SERVICE_H_ | 81 #endif // CHROME_BROWSER_NET_DNS_PROBE_SERVICE_H_ |
OLD | NEW |