OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_HTTP_DISK_CACHE_BASED_QUIC_SERVER_INFO_H_ | 5 #ifndef NET_HTTP_DISK_CACHE_BASED_QUIC_SERVER_INFO_H_ |
6 #define NET_HTTP_DISK_CACHE_BASED_QUIC_SERVER_INFO_H_ | 6 #define NET_HTTP_DISK_CACHE_BASED_QUIC_SERVER_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
13 #include "base/time/time.h" | 14 #include "base/time/time.h" |
14 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
15 #include "net/disk_cache/disk_cache.h" | 16 #include "net/disk_cache/disk_cache.h" |
16 #include "net/quic/crypto/quic_server_info.h" | 17 #include "net/quic/crypto/quic_server_info.h" |
17 | 18 |
18 namespace net { | 19 namespace net { |
19 | 20 |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 FailureReason last_failure_; | 155 FailureReason last_failure_; |
155 | 156 |
156 base::WeakPtrFactory<DiskCacheBasedQuicServerInfo> weak_factory_; | 157 base::WeakPtrFactory<DiskCacheBasedQuicServerInfo> weak_factory_; |
157 | 158 |
158 DISALLOW_COPY_AND_ASSIGN(DiskCacheBasedQuicServerInfo); | 159 DISALLOW_COPY_AND_ASSIGN(DiskCacheBasedQuicServerInfo); |
159 }; | 160 }; |
160 | 161 |
161 } // namespace net | 162 } // namespace net |
162 | 163 |
163 #endif // NET_HTTP_DISK_CACHE_BASED_QUIC_SERVER_INFO_H_ | 164 #endif // NET_HTTP_DISK_CACHE_BASED_QUIC_SERVER_INFO_H_ |
OLD | NEW |