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

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

Issue 14287009: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with Tot Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_epoll_clock.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 (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 14 matching lines...) Expand all
25 template<> 25 template<>
26 struct hash<net::QuicBlockedWriterInterface*> { 26 struct hash<net::QuicBlockedWriterInterface*> {
27 std::size_t operator()( 27 std::size_t operator()(
28 const net::QuicBlockedWriterInterface* ptr) const { 28 const net::QuicBlockedWriterInterface* ptr) const {
29 return hash<size_t>()(reinterpret_cast<size_t>(ptr)); 29 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
30 } 30 }
31 }; 31 };
32 } 32 }
33 #endif 33 #endif
34 34
35 namespace gfe2 {
36 class EpollServer;
37 }
38
39 namespace net { 35 namespace net {
40 36
37 class EpollServer;
41 class QuicConfig; 38 class QuicConfig;
42 class QuicCryptoServerConfig; 39 class QuicCryptoServerConfig;
43 class QuicSession; 40 class QuicSession;
44 41
45 namespace tools { 42 namespace tools {
46 43
47 namespace test { 44 namespace test {
48 class QuicDispatcherPeer; 45 class QuicDispatcherPeer;
49 } // namespace test 46 } // namespace test
50 47
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 // False if we have gotten a call to OnCanWrite after the last failed write. 134 // False if we have gotten a call to OnCanWrite after the last failed write.
138 bool write_blocked_; 135 bool write_blocked_;
139 136
140 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); 137 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher);
141 }; 138 };
142 139
143 } // namespace tools 140 } // namespace tools
144 } // namespace net 141 } // namespace net
145 142
146 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 143 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client.cc ('k') | net/tools/quic/quic_epoll_clock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698