| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| 11 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
| 12 #include "base/strings/string_piece.h" | 12 #include "base/strings/string_piece.h" |
| 13 #include "net/tools/flip_server/balsa_frame.h" | 13 #include "net/tools/balsa/balsa_frame.h" |
| 14 #include "net/tools/flip_server/balsa_headers.h" | 14 #include "net/tools/balsa/balsa_headers.h" |
| 15 #include "net/tools/flip_server/noop_balsa_visitor.h" | 15 #include "net/tools/balsa/noop_balsa_visitor.h" |
| 16 | 16 |
| 17 template <typename T> struct DefaultSingletonTraits; | 17 template <typename T> struct DefaultSingletonTraits; |
| 18 | 18 |
| 19 namespace net { | 19 namespace net { |
| 20 namespace tools { | 20 namespace tools { |
| 21 | 21 |
| 22 namespace test { | 22 namespace test { |
| 23 class QuicInMemoryCachePeer; | 23 class QuicInMemoryCachePeer; |
| 24 } // namespace | 24 } // namespace |
| 25 | 25 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 // Cached responses. | 96 // Cached responses. |
| 97 ResponseMap responses_; | 97 ResponseMap responses_; |
| 98 | 98 |
| 99 DISALLOW_COPY_AND_ASSIGN(QuicInMemoryCache); | 99 DISALLOW_COPY_AND_ASSIGN(QuicInMemoryCache); |
| 100 }; | 100 }; |
| 101 | 101 |
| 102 } // namespace tools | 102 } // namespace tools |
| 103 } // namespace net | 103 } // namespace net |
| 104 | 104 |
| 105 #endif // NET_TOOLS_QUIC_QUIC_IN_MEMORY_CACHE_H_ | 105 #endif // NET_TOOLS_QUIC_QUIC_IN_MEMORY_CACHE_H_ |
| OLD | NEW |