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_TOOLS_QUIC_QUIC_IN_MEMORY_CACHE_H_ | 5 #ifndef NET_TOOLS_QUIC_QUIC_HTTP_RESPONSE_CACHE_H_ |
6 #define NET_TOOLS_QUIC_QUIC_IN_MEMORY_CACHE_H_ | 6 #define NET_TOOLS_QUIC_QUIC_HTTP_RESPONSE_CACHE_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <unordered_map> | 12 #include <unordered_map> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 // Protects against concurrent access from test threads setting responses, and | 212 // Protects against concurrent access from test threads setting responses, and |
213 // server threads accessing those responses. | 213 // server threads accessing those responses. |
214 mutable base::Lock response_mutex_; | 214 mutable base::Lock response_mutex_; |
215 | 215 |
216 DISALLOW_COPY_AND_ASSIGN(QuicHttpResponseCache); | 216 DISALLOW_COPY_AND_ASSIGN(QuicHttpResponseCache); |
217 }; | 217 }; |
218 | 218 |
219 } // namespace net | 219 } // namespace net |
220 | 220 |
221 #endif // NET_TOOLS_QUIC_QUIC_IN_MEMORY_CACHE_H_ | 221 #endif // NET_TOOLS_QUIC_QUIC_HTTP_RESPONSE_CACHE_H_ |
OLD | NEW |