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

Side by Side Diff: net/tools/quic/quic_dispatcher.h

Issue 495233002: QUIC minor clean up to keep in sync with internal sources. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Move_least_packet_awaited_by_peer_73630593
Patch Set: Created 6 years, 4 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/end_to_end_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // A server side dispatcher which dispatches a given client's data to their 5 // A server side dispatcher which dispatches a given client's data to their
6 // stream. 6 // stream.
7 7
8 #ifndef NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 8 #ifndef NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
9 #define NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 9 #define NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
10 10
(...skipping 23 matching lines...) Expand all
34 34
35 namespace net { 35 namespace net {
36 36
37 class EpollServer; 37 class EpollServer;
38 class QuicConfig; 38 class QuicConfig;
39 class QuicCryptoServerConfig; 39 class QuicCryptoServerConfig;
40 class QuicSession; 40 class QuicSession;
41 41
42 namespace tools { 42 namespace tools {
43 43
44 class DeleteSessionsAlarm;
45 class QuicEpollConnectionHelper;
44 class QuicPacketWriterWrapper; 46 class QuicPacketWriterWrapper;
45 47
46 namespace test { 48 namespace test {
47 class QuicDispatcherPeer; 49 class QuicDispatcherPeer;
48 } // namespace test 50 } // namespace test
49 51
50 class DeleteSessionsAlarm;
51 class QuicEpollConnectionHelper;
52
53 class ProcessPacketInterface { 52 class ProcessPacketInterface {
54 public: 53 public:
55 virtual ~ProcessPacketInterface() {} 54 virtual ~ProcessPacketInterface() {}
56 virtual void ProcessPacket(const IPEndPoint& server_address, 55 virtual void ProcessPacket(const IPEndPoint& server_address,
57 const IPEndPoint& client_address, 56 const IPEndPoint& client_address,
58 const QuicEncryptedPacket& packet) = 0; 57 const QuicEncryptedPacket& packet) = 0;
59 }; 58 };
60 59
61 class QuicDispatcher : public QuicServerSessionVisitor, 60 class QuicDispatcher : public QuicServerSessionVisitor,
62 public ProcessPacketInterface { 61 public ProcessPacketInterface {
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 QuicFramer framer_; 217 QuicFramer framer_;
219 scoped_ptr<QuicFramerVisitor> framer_visitor_; 218 scoped_ptr<QuicFramerVisitor> framer_visitor_;
220 219
221 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); 220 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher);
222 }; 221 };
223 222
224 } // namespace tools 223 } // namespace tools
225 } // namespace net 224 } // namespace net
226 225
227 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 226 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698