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