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

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

Issue 1417033008: Remove FLAGS_quic_session_map_threshold_for_stateless_rejects, and instead always use stateless rej… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106593539
Patch Set: Created 5 years, 1 month 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') | net/tools/quic/quic_dispatcher.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 (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 15 matching lines...) Expand all
26 class QuicConfig; 26 class QuicConfig;
27 class QuicCryptoServerConfig; 27 class QuicCryptoServerConfig;
28 class QuicServerSession; 28 class QuicServerSession;
29 29
30 namespace tools { 30 namespace tools {
31 31
32 namespace test { 32 namespace test {
33 class QuicDispatcherPeer; 33 class QuicDispatcherPeer;
34 } // namespace test 34 } // namespace test
35 35
36 extern int32 FLAGS_quic_session_map_threshold_for_stateless_rejects;
37
38 class ProcessPacketInterface { 36 class ProcessPacketInterface {
39 public: 37 public:
40 virtual ~ProcessPacketInterface() {} 38 virtual ~ProcessPacketInterface() {}
41 virtual void ProcessPacket(const IPEndPoint& server_address, 39 virtual void ProcessPacket(const IPEndPoint& server_address,
42 const IPEndPoint& client_address, 40 const IPEndPoint& client_address,
43 const QuicEncryptedPacket& packet) = 0; 41 const QuicEncryptedPacket& packet) = 0;
44 }; 42 };
45 43
46 class QuicDispatcher : public QuicServerSessionVisitor, 44 class QuicDispatcher : public QuicServerSessionVisitor,
47 public ProcessPacketInterface, 45 public ProcessPacketInterface,
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 // framer_visitor_->OnError(). 282 // framer_visitor_->OnError().
285 QuicErrorCode last_error_; 283 QuicErrorCode last_error_;
286 284
287 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); 285 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher);
288 }; 286 };
289 287
290 } // namespace tools 288 } // namespace tools
291 } // namespace net 289 } // namespace net
292 290
293 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 291 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | net/tools/quic/quic_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698