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

Side by Side Diff: net/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 | « no previous file | net/quic/quic_sustained_bandwidth_recorder.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_QUIC_QUIC_DISPATCHER_H_ 8 #ifndef NET_QUIC_QUIC_DISPATCHER_H_
9 #define NET_QUIC_QUIC_DISPATCHER_H_ 9 #define NET_QUIC_QUIC_DISPATCHER_H_
10 10
(...skipping 16 matching lines...) Expand all
27 template <> 27 template <>
28 struct hash<net::QuicBlockedWriterInterface*> { 28 struct hash<net::QuicBlockedWriterInterface*> {
29 std::size_t operator()(const net::QuicBlockedWriterInterface* ptr) const { 29 std::size_t operator()(const net::QuicBlockedWriterInterface* ptr) const {
30 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); 30 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
31 } 31 }
32 }; 32 };
33 } 33 }
34 #endif 34 #endif
35 35
36 namespace net { 36 namespace net {
37
38 class QuicConfig;
39 class QuicCryptoServerConfig;
40 class QuicSession;
41
42 namespace test { 37 namespace test {
43 class QuicDispatcherPeer; 38 class QuicDispatcherPeer;
44 } // namespace test 39 } // namespace test
45 40
46 class DeleteSessionsAlarm; 41 class DeleteSessionsAlarm;
42 class QuicConfig;
43 class QuicCryptoServerConfig;
44 class QuicSession;
47 45
48 class ProcessPacketInterface { 46 class ProcessPacketInterface {
49 public: 47 public:
50 virtual ~ProcessPacketInterface() {} 48 virtual ~ProcessPacketInterface() {}
51 virtual void ProcessPacket(const IPEndPoint& server_address, 49 virtual void ProcessPacket(const IPEndPoint& server_address,
52 const IPEndPoint& client_address, 50 const IPEndPoint& client_address,
53 const QuicEncryptedPacket& packet) = 0; 51 const QuicEncryptedPacket& packet) = 0;
54 }; 52 };
55 53
56 class QuicDispatcher : public QuicBlockedWriterInterface, 54 class QuicDispatcher : public QuicBlockedWriterInterface,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 206
209 QuicFramer framer_; 207 QuicFramer framer_;
210 scoped_ptr<QuicFramerVisitor> framer_visitor_; 208 scoped_ptr<QuicFramerVisitor> framer_visitor_;
211 209
212 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); 210 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher);
213 }; 211 };
214 212
215 } // namespace net 213 } // namespace net
216 214
217 #endif // NET_QUIC_QUIC_DISPATCHER_H_ 215 #endif // NET_QUIC_QUIC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_sustained_bandwidth_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698