summaryrefslogtreecommitdiff
path: root/chromium/net/tools/quic/test_tools/quic_in_memory_cache_peer.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/tools/quic/test_tools/quic_in_memory_cache_peer.h')
-rw-r--r--chromium/net/tools/quic/test_tools/quic_in_memory_cache_peer.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/net/tools/quic/test_tools/quic_in_memory_cache_peer.h b/chromium/net/tools/quic/test_tools/quic_in_memory_cache_peer.h
new file mode 100644
index 00000000000..b5996bd7505
--- /dev/null
+++ b/chromium/net/tools/quic/test_tools/quic_in_memory_cache_peer.h
@@ -0,0 +1,27 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_
+#define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_
+
+#include "net/tools/quic/quic_in_memory_cache.h"
+
+namespace net {
+namespace tools {
+namespace test {
+
+class QuicInMemoryCachePeer {
+ public:
+ // Resets the singleton QuicInMemoryCache to a fresh state.
+ static void ResetForTests();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(QuicInMemoryCachePeer);
+};
+
+} // namespace test
+} // namespace tools
+} // namespace net
+
+#endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_