| 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_IN_MEMORY_CACHE_H_ |
| 6 #define NET_TOOLS_QUIC_QUIC_IN_MEMORY_CACHE_H_ | 6 #define NET_TOOLS_QUIC_QUIC_IN_MEMORY_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" |
| 17 #include "base/memory/singleton.h" | 17 #include "base/memory/singleton.h" |
| 18 #include "base/strings/string_piece.h" | 18 #include "base/strings/string_piece.h" |
| 19 #include "net/http/http_response_headers.h" | 19 #include "net/http/http_response_headers.h" |
| 20 #include "net/quic/spdy_utils.h" | 20 #include "net/quic/core/spdy_utils.h" |
| 21 #include "net/spdy/spdy_framer.h" | 21 #include "net/spdy/spdy_framer.h" |
| 22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
| 23 | 23 |
| 24 namespace base { | 24 namespace base { |
| 25 | 25 |
| 26 template <typename Type> | 26 template <typename Type> |
| 27 struct DefaultSingletonTraits; | 27 struct DefaultSingletonTraits; |
| 28 | 28 |
| 29 } // namespace base | 29 } // namespace base |
| 30 | 30 |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 | 233 |
| 234 // A map from request URL to associated server push responses (if any). | 234 // A map from request URL to associated server push responses (if any). |
| 235 std::multimap<std::string, ServerPushInfo> server_push_resources_; | 235 std::multimap<std::string, ServerPushInfo> server_push_resources_; |
| 236 | 236 |
| 237 DISALLOW_COPY_AND_ASSIGN(QuicInMemoryCache); | 237 DISALLOW_COPY_AND_ASSIGN(QuicInMemoryCache); |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } // namespace net | 240 } // namespace net |
| 241 | 241 |
| 242 #endif // NET_TOOLS_QUIC_QUIC_IN_MEMORY_CACHE_H_ | 242 #endif // NET_TOOLS_QUIC_QUIC_IN_MEMORY_CACHE_H_ |
| OLD | NEW |