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

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

Issue 2547583002: Landing Recent QUIC changes until Fri Nov 18 23:21:04 2016 +0000 (Closed)
Patch Set: Remove explicit HTTP/2 enum usage Created 4 years 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
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
11 #include <memory> 11 #include <memory>
12 #include <unordered_map> 12 #include <unordered_map>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "net/base/linked_hash_map.h" 16 #include "net/base/linked_hash_map.h"
17 #include "net/quic/core/crypto/quic_compressed_certs_cache.h" 17 #include "net/quic/core/crypto/quic_compressed_certs_cache.h"
18 #include "net/quic/core/crypto/quic_random.h" 18 #include "net/quic/core/crypto/quic_random.h"
19 #include "net/quic/core/quic_blocked_writer_interface.h" 19 #include "net/quic/core/quic_blocked_writer_interface.h"
20 #include "net/quic/core/quic_buffered_packet_store.h" 20 #include "net/quic/core/quic_buffered_packet_store.h"
21 #include "net/quic/core/quic_connection.h" 21 #include "net/quic/core/quic_connection.h"
22 #include "net/quic/core/quic_crypto_server_stream.h" 22 #include "net/quic/core/quic_crypto_server_stream.h"
23 #include "net/quic/core/quic_protocol.h" 23 #include "net/quic/core/quic_packets.h"
24 #include "net/quic/core/quic_session.h" 24 #include "net/quic/core/quic_session.h"
25 #include "net/quic/core/quic_version_manager.h"
25 #include "net/quic/platform/api/quic_socket_address.h" 26 #include "net/quic/platform/api/quic_socket_address.h"
26 27
27 #include "net/tools/quic/quic_process_packet_interface.h" 28 #include "net/tools/quic/quic_process_packet_interface.h"
28 #include "net/tools/quic/quic_time_wait_list_manager.h" 29 #include "net/tools/quic/quic_time_wait_list_manager.h"
29 #include "net/tools/quic/stateless_rejector.h" 30 #include "net/tools/quic/stateless_rejector.h"
30 31
31 namespace net { 32 namespace net {
32 33
33 class QuicConfig; 34 class QuicConfig;
34 class QuicCryptoServerConfig; 35 class QuicCryptoServerConfig;
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 // A backward counter of how many new sessions can be create within current 389 // A backward counter of how many new sessions can be create within current
389 // event loop. When reaches 0, it means can't create sessions for now. 390 // event loop. When reaches 0, it means can't create sessions for now.
390 int16_t new_sessions_allowed_per_event_loop_; 391 int16_t new_sessions_allowed_per_event_loop_;
391 392
392 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher); 393 DISALLOW_COPY_AND_ASSIGN(QuicDispatcher);
393 }; 394 };
394 395
395 } // namespace net 396 } // namespace net
396 397
397 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_ 398 #endif // NET_TOOLS_QUIC_QUIC_DISPATCHER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_default_packet_writer.h ('k') | net/tools/quic/quic_epoll_connection_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698