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

Side by Side Diff: net/tools/quic/test_tools/quic_dispatcher_peer.h

Issue 1783783003: Add a QuicCompressedCertsCache instance to QuicDispatcher, plumbing to QuicServerSessionBase but no… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@116273065
Patch Set: Created 4 years, 9 months 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 unified diff | Download patch
OLDNEW
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_DISPATCHER_PEER_H_ 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_
6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ 6 #define NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_
7 7
8 #include "net/tools/quic/quic_dispatcher.h" 8 #include "net/tools/quic/quic_dispatcher.h"
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 10 matching lines...) Expand all
21 static void SetTimeWaitListManager( 21 static void SetTimeWaitListManager(
22 QuicDispatcher* dispatcher, 22 QuicDispatcher* dispatcher,
23 QuicTimeWaitListManager* time_wait_list_manager); 23 QuicTimeWaitListManager* time_wait_list_manager);
24 24
25 // Injects |writer| into |dispatcher| as the shared writer. 25 // Injects |writer| into |dispatcher| as the shared writer.
26 static void UseWriter(QuicDispatcher* dispatcher, 26 static void UseWriter(QuicDispatcher* dispatcher,
27 QuicPacketWriterWrapper* writer); 27 QuicPacketWriterWrapper* writer);
28 28
29 static QuicPacketWriter* GetWriter(QuicDispatcher* dispatcher); 29 static QuicPacketWriter* GetWriter(QuicDispatcher* dispatcher);
30 30
31 static QuicCompressedCertsCache* GetCache(QuicDispatcher* dispatcher);
32
31 static QuicConnectionHelperInterface* GetHelper(QuicDispatcher* dispatcher); 33 static QuicConnectionHelperInterface* GetHelper(QuicDispatcher* dispatcher);
32 34
33 static QuicDispatcher::WriteBlockedList* GetWriteBlockedList( 35 static QuicDispatcher::WriteBlockedList* GetWriteBlockedList(
34 QuicDispatcher* dispatcher); 36 QuicDispatcher* dispatcher);
35 37
36 // Get the dispatcher's record of the last error reported to its framer 38 // Get the dispatcher's record of the last error reported to its framer
37 // visitor's OnError() method. Then set that record to QUIC_NO_ERROR. 39 // visitor's OnError() method. Then set that record to QUIC_NO_ERROR.
38 static QuicErrorCode GetAndClearLastError(QuicDispatcher* dispatcher); 40 static QuicErrorCode GetAndClearLastError(QuicDispatcher* dispatcher);
39 41
40 static const QuicDispatcher::SessionMap& session_map( 42 static const QuicDispatcher::SessionMap& session_map(
41 QuicDispatcher* dispatcher); 43 QuicDispatcher* dispatcher);
42 44
43 private: 45 private:
44 DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer); 46 DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer);
45 }; 47 };
46 48
47 } // namespace test 49 } // namespace test
48 } // namespace net 50 } // namespace net
49 51
50 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ 52 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_simple_server_stream_test.cc ('k') | net/tools/quic/test_tools/quic_dispatcher_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698