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 <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
15 #include "base/time.h" | 15 #include "base/time/time.h" |
16 #include "base/timer.h" | 16 #include "base/timer/timer.h" |
17 // Needed on shared build with MSVS2010 to avoid multiple definitions of | 17 // Needed on shared build with MSVS2010 to avoid multiple definitions of |
18 // std::vector<IPEndPoint>. | 18 // std::vector<IPEndPoint>. |
19 #include "net/base/address_list.h" | 19 #include "net/base/address_list.h" |
20 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint | 20 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint |
21 #include "net/base/net_export.h" | 21 #include "net/base/net_export.h" |
22 #include "net/dns/dns_hosts.h" | 22 #include "net/dns/dns_hosts.h" |
23 | 23 |
24 namespace base { | 24 namespace base { |
25 class Value; | 25 class Value; |
26 } | 26 } |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 165 |
166 // Started in Invalidate*, cleared in On*Read. | 166 // Started in Invalidate*, cleared in On*Read. |
167 base::OneShotTimer<DnsConfigService> timer_; | 167 base::OneShotTimer<DnsConfigService> timer_; |
168 | 168 |
169 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); | 169 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); |
170 }; | 170 }; |
171 | 171 |
172 } // namespace net | 172 } // namespace net |
173 | 173 |
174 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ | 174 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ |
OLD | NEW |