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

Side by Side Diff: net/quic/quic_server_session.h

Issue 330333006: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linus_tsan error - reverted the change to ConnectionMigrationClientPortChanged unitttest Created 6 years, 6 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/quic/quic_received_packet_manager_test.cc ('k') | net/quic/quic_server_session.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 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 specific QuicSession subclass. 5 // A server specific QuicSession subclass.
6 6
7 #ifndef NET_QUIC_QUIC_SERVER_SESSION_H_ 7 #ifndef NET_QUIC_QUIC_SERVER_SESSION_H_
8 #define NET_QUIC_QUIC_SERVER_SESSION_H_ 8 #define NET_QUIC_QUIC_SERVER_SESSION_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 27 matching lines...) Expand all
38 38
39 virtual void OnConnectionClosed(QuicConnectionId connection_id, 39 virtual void OnConnectionClosed(QuicConnectionId connection_id,
40 QuicErrorCode error) = 0; 40 QuicErrorCode error) = 0;
41 virtual void OnWriteBlocked(QuicBlockedWriterInterface* writer) = 0; 41 virtual void OnWriteBlocked(QuicBlockedWriterInterface* writer) = 0;
42 }; 42 };
43 43
44 class QuicServerSession : public QuicSession { 44 class QuicServerSession : public QuicSession {
45 public: 45 public:
46 QuicServerSession(const QuicConfig& config, 46 QuicServerSession(const QuicConfig& config,
47 QuicConnection* connection, 47 QuicConnection* connection,
48 uint32 max_flow_control_window_bytes,
49 QuicServerSessionVisitor* visitor); 48 QuicServerSessionVisitor* visitor);
50 49
51 // Override the base class to notify the owner of the connection close. 50 // Override the base class to notify the owner of the connection close.
52 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE; 51 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE;
53 virtual void OnWriteBlocked() OVERRIDE; 52 virtual void OnWriteBlocked() OVERRIDE;
54 53
55 virtual ~QuicServerSession(); 54 virtual ~QuicServerSession();
56 55
57 virtual void InitializeSession(const QuicCryptoServerConfig& crypto_config); 56 virtual void InitializeSession(const QuicCryptoServerConfig& crypto_config);
58 57
(...skipping 20 matching lines...) Expand all
79 78
80 scoped_ptr<QuicCryptoServerStream> crypto_stream_; 79 scoped_ptr<QuicCryptoServerStream> crypto_stream_;
81 QuicServerSessionVisitor* visitor_; 80 QuicServerSessionVisitor* visitor_;
82 81
83 DISALLOW_COPY_AND_ASSIGN(QuicServerSession); 82 DISALLOW_COPY_AND_ASSIGN(QuicServerSession);
84 }; 83 };
85 84
86 } // namespace net 85 } // namespace net
87 86
88 #endif // NET_QUIC_QUIC_SERVER_SESSION_H_ 87 #endif // NET_QUIC_QUIC_SERVER_SESSION_H_
OLDNEW
« no previous file with comments | « net/quic/quic_received_packet_manager_test.cc ('k') | net/quic/quic_server_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698