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

Side by Side Diff: net/dns/dns_config_service.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch Created 4 years 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
« no previous file with comments | « net/disk_cache/simple/simple_entry_format.h ('k') | net/dns/dns_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 NET_DNS_DNS_CONFIG_SERVICE_H_ 5 #ifndef NET_DNS_DNS_CONFIG_SERVICE_H_
6 #define NET_DNS_DNS_CONFIG_SERVICE_H_ 6 #define NET_DNS_DNS_CONFIG_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 10 matching lines...) Expand all
21 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint 21 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint
22 #include "net/base/net_export.h" 22 #include "net/base/net_export.h"
23 #include "net/dns/dns_hosts.h" 23 #include "net/dns/dns_hosts.h"
24 24
25 namespace base { 25 namespace base {
26 class Value; 26 class Value;
27 } 27 }
28 28
29 namespace net { 29 namespace net {
30 30
31 class IPAddress;
32
33 // Default to 1 second timeout (before exponential backoff). 31 // Default to 1 second timeout (before exponential backoff).
34 const int64_t kDnsDefaultTimeoutMs = 1000; 32 const int64_t kDnsDefaultTimeoutMs = 1000;
35 33
36 // DnsConfig stores configuration of the system resolver. 34 // DnsConfig stores configuration of the system resolver.
37 struct NET_EXPORT_PRIVATE DnsConfig { 35 struct NET_EXPORT_PRIVATE DnsConfig {
38 DnsConfig(); 36 DnsConfig();
39 DnsConfig(const DnsConfig& other); 37 DnsConfig(const DnsConfig& other);
40 virtual ~DnsConfig(); 38 virtual ~DnsConfig();
41 39
42 bool Equals(const DnsConfig& d) const; 40 bool Equals(const DnsConfig& d) const;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 173
176 // Started in Invalidate*, cleared in On*Read. 174 // Started in Invalidate*, cleared in On*Read.
177 base::OneShotTimer timer_; 175 base::OneShotTimer timer_;
178 176
179 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); 177 DISALLOW_COPY_AND_ASSIGN(DnsConfigService);
180 }; 178 };
181 179
182 } // namespace net 180 } // namespace net
183 181
184 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ 182 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_entry_format.h ('k') | net/dns/dns_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698