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

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

Issue 972783002: Remove unnecessary virtual CreateQuicConnection method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: Created 5 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
« no previous file with comments | « net/tools/quic/quic_dispatcher.cc ('k') | net/tools/quic/test_tools/quic_dispatcher_peer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 16 matching lines...) Expand all
27 QuicPacketWriterWrapper* writer); 27 QuicPacketWriterWrapper* writer);
28 28
29 static QuicPacketWriter* GetWriter(QuicDispatcher* dispatcher); 29 static QuicPacketWriter* GetWriter(QuicDispatcher* dispatcher);
30 30
31 static void SetPacketWriterFactory( 31 static void SetPacketWriterFactory(
32 QuicDispatcher* dispatcher, 32 QuicDispatcher* dispatcher,
33 QuicDispatcher::PacketWriterFactory* packet_writer_factory); 33 QuicDispatcher::PacketWriterFactory* packet_writer_factory);
34 34
35 static QuicEpollConnectionHelper* GetHelper(QuicDispatcher* dispatcher); 35 static QuicEpollConnectionHelper* GetHelper(QuicDispatcher* dispatcher);
36 36
37 static QuicConnection* CreateQuicConnection(
38 QuicDispatcher* dispatcher,
39 QuicConnectionId connection_id,
40 const IPEndPoint& server,
41 const IPEndPoint& client);
42
43 static QuicDispatcher::WriteBlockedList* GetWriteBlockedList( 37 static QuicDispatcher::WriteBlockedList* GetWriteBlockedList(
44 QuicDispatcher* dispatcher); 38 QuicDispatcher* dispatcher);
45 39
46 private: 40 private:
47 DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer); 41 DISALLOW_COPY_AND_ASSIGN(QuicDispatcherPeer);
48 }; 42 };
49 43
50 } // namespace test 44 } // namespace test
51 } // namespace tools 45 } // namespace tools
52 } // namespace net 46 } // namespace net
53 47
54 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_ 48 #endif // NET_TOOLS_QUIC_TEST_TOOLS_QUIC_DISPATCHER_PEER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_dispatcher.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