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_SESSION_H_ | 5 #ifndef NET_DNS_DNS_SESSION_H_ |
6 #define NET_DNS_DNS_SESSION_H_ | 6 #define NET_DNS_DNS_SESSION_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "base/lazy_instance.h" | 12 #include "base/lazy_instance.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
13 #include "base/metrics/bucket_ranges.h" | 16 #include "base/metrics/bucket_ranges.h" |
14 #include "base/time/time.h" | 17 #include "base/time/time.h" |
15 #include "net/base/net_export.h" | 18 #include "net/base/net_export.h" |
16 #include "net/base/rand_callback.h" | 19 #include "net/base/rand_callback.h" |
17 #include "net/dns/dns_config_service.h" | 20 #include "net/dns/dns_config_service.h" |
18 #include "net/dns/dns_socket_pool.h" | 21 #include "net/dns/dns_socket_pool.h" |
19 | 22 |
20 namespace base { | 23 namespace base { |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 RttBuckets(); | 140 RttBuckets(); |
138 }; | 141 }; |
139 static base::LazyInstance<RttBuckets>::Leaky rtt_buckets_; | 142 static base::LazyInstance<RttBuckets>::Leaky rtt_buckets_; |
140 | 143 |
141 DISALLOW_COPY_AND_ASSIGN(DnsSession); | 144 DISALLOW_COPY_AND_ASSIGN(DnsSession); |
142 }; | 145 }; |
143 | 146 |
144 } // namespace net | 147 } // namespace net |
145 | 148 |
146 #endif // NET_DNS_DNS_SESSION_H_ | 149 #endif // NET_DNS_DNS_SESSION_H_ |
OLD | NEW |