Chromium Code Reviews| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
| 16 #include "base/time.h" | 16 #include "base/time.h" |
| 17 #include "base/timer.h" | 17 #include "base/timer.h" |
| 18 // Needed on shared build with MSVS2010 to avoid multiple definitions of | |
| 19 // std::vector<IPEndPoint>. | |
|
eroman
2012/05/04 19:37:36
dunno what that is about...
| |
| 20 #include "net/base/address_list.h" | |
| 18 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint | 21 #include "net/base/ip_endpoint.h" // win requires size of IPEndPoint |
| 19 #include "net/base/net_export.h" | 22 #include "net/base/net_export.h" |
| 20 #include "net/dns/dns_hosts.h" | 23 #include "net/dns/dns_hosts.h" |
| 21 | 24 |
| 22 namespace base { | 25 namespace base { |
| 23 class Value; | 26 class Value; |
| 24 } | 27 } |
| 25 | 28 |
| 26 namespace net { | 29 namespace net { |
| 27 | 30 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 128 // Started in Invalidate*, cleared in On*Read. | 131 // Started in Invalidate*, cleared in On*Read. |
| 129 base::OneShotTimer<DnsConfigService> timer_; | 132 base::OneShotTimer<DnsConfigService> timer_; |
| 130 | 133 |
| 131 private: | 134 private: |
| 132 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); | 135 DISALLOW_COPY_AND_ASSIGN(DnsConfigService); |
| 133 }; | 136 }; |
| 134 | 137 |
| 135 } // namespace net | 138 } // namespace net |
| 136 | 139 |
| 137 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ | 140 #endif // NET_DNS_DNS_CONFIG_SERVICE_H_ |
| OLD | NEW |