OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_ | 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_ |
6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_ | 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "net/tools/quic/quic_in_memory_cache.h" | 9 #include "net/tools/quic/quic_in_memory_cache.h" |
9 | 10 |
10 namespace net { | 11 namespace net { |
11 namespace tools { | 12 namespace tools { |
12 namespace test { | 13 namespace test { |
13 | 14 |
14 class QuicInMemoryCachePeer { | 15 class QuicInMemoryCachePeer { |
15 public: | 16 public: |
16 // Resets the singleton QuicInMemoryCache to a fresh state. | 17 // Resets the singleton QuicInMemoryCache to a fresh state. |
17 static void ResetForTests(); | 18 static void ResetForTests(); |
18 | 19 |
19 private: | 20 private: |
20 DISALLOW_COPY_AND_ASSIGN(QuicInMemoryCachePeer); | 21 DISALLOW_COPY_AND_ASSIGN(QuicInMemoryCachePeer); |
21 }; | 22 }; |
22 | 23 |
23 } // namespace test | 24 } // namespace test |
24 } // namespace tools | 25 } // namespace tools |
25 } // namespace net | 26 } // namespace net |
26 | 27 |
27 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_ | 28 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_ |
OLD | NEW |