Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2551)

Unified Diff: net/tools/quic/test_tools/quic_in_memory_cache_peer.h

Issue 2518063007: Pass QuicInMemoryCache directly instead of using a singleton. (Closed)
Patch Set: Fix Cronet compile error Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/quic/quic_simple_server_test.cc ('k') | net/tools/quic/test_tools/quic_in_memory_cache_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/test_tools/quic_in_memory_cache_peer.h
diff --git a/net/tools/quic/test_tools/quic_in_memory_cache_peer.h b/net/tools/quic/test_tools/quic_in_memory_cache_peer.h
deleted file mode 100644
index 55d28d3f0e21e67849f02dfd346fc1e1eb5b1bd3..0000000000000000000000000000000000000000
--- a/net/tools/quic/test_tools/quic_in_memory_cache_peer.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// 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 "base/macros.h"
-#include "net/tools/quic/quic_in_memory_cache.h"
-
-namespace net {
-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 net
-
-#endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_IN_MEMORY_CACHE_PEER_H_
« no previous file with comments | « net/tools/quic/quic_simple_server_test.cc ('k') | net/tools/quic/test_tools/quic_in_memory_cache_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698