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 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> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/scoped_vector.h" | |
15 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
16 #include "base/time/time.h" | 15 #include "base/time/time.h" |
17 #include "base/timer/timer.h" | 16 #include "base/timer/timer.h" |
18 // Needed on shared build with MSVS2010 to avoid multiple definitions of | 17 // Needed on shared build with MSVS2010 to avoid multiple definitions of |
19 // std::vector<IPEndPoint>. | 18 // std::vector<IPEndPoint>. |
20 #include "net/base/address_list.h" | 19 #include "net/base/address_list.h" |
21 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint | 20 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint |
22 #include "net/base/net_export.h" | 21 #include "net/base/net_export.h" |
23 #include "net/dns/dns_hosts.h" | 22 #include "net/dns/dns_hosts.h" |
24 | 23 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 173 |
175 // Started in Invalidate*, cleared in On*Read. | 174 // Started in Invalidate*, cleared in On*Read. |
176 base::OneShotTimer timer_; | 175 base::OneShotTimer timer_; |
177 | 176 |
178 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); | 177 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); |
179 }; | 178 }; |
180 | 179 |
181 } // namespace net | 180 } // namespace net |
182 | 181 |
183 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ | 182 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ |
OLD | NEW |