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

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

Issue 126283002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed extra space Created 6 years, 11 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_server.h ('k') | net/tools/quic/quic_spdy_client_stream.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 specific QuicSession subclass. 5 // A server specific QuicSession subclass.
6 6
7 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_ 7 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_
8 #define NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_ 8 #define NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_
9 9
10 #include <set> 10 #include <set>
(...skipping 30 matching lines...) Expand all
41 41
42 class QuicServerSession : public QuicSession { 42 class QuicServerSession : public QuicSession {
43 public: 43 public:
44 QuicServerSession(const QuicConfig& config, 44 QuicServerSession(const QuicConfig& config,
45 QuicConnection *connection, 45 QuicConnection *connection,
46 QuicSessionOwner* owner); 46 QuicSessionOwner* owner);
47 47
48 // Override the base class to notify the owner of the connection close. 48 // Override the base class to notify the owner of the connection close.
49 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE; 49 virtual void OnConnectionClosed(QuicErrorCode error, bool from_peer) OVERRIDE;
50 50
51 virtual ~QuicServerSession(); 51 virtual ~QuicServerSession() OVERRIDE;
52 52
53 virtual void InitializeSession(const QuicCryptoServerConfig& crypto_config); 53 virtual void InitializeSession(const QuicCryptoServerConfig& crypto_config);
54 54
55 const QuicCryptoServerStream* crypto_stream() const { 55 const QuicCryptoServerStream* crypto_stream() const {
56 return crypto_stream_.get(); 56 return crypto_stream_.get();
57 } 57 }
58 58
59 protected: 59 protected:
60 // QuicSession methods: 60 // QuicSession methods:
61 virtual QuicDataStream* CreateIncomingDataStream(QuicStreamId id) OVERRIDE; 61 virtual QuicDataStream* CreateIncomingDataStream(QuicStreamId id) OVERRIDE;
(...skipping 14 matching lines...) Expand all
76 scoped_ptr<QuicCryptoServerStream> crypto_stream_; 76 scoped_ptr<QuicCryptoServerStream> crypto_stream_;
77 QuicSessionOwner* owner_; 77 QuicSessionOwner* owner_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(QuicServerSession); 79 DISALLOW_COPY_AND_ASSIGN(QuicServerSession);
80 }; 80 };
81 81
82 } // namespace tools 82 } // namespace tools
83 } // namespace net 83 } // namespace net
84 84
85 #endif // NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_ 85 #endif // NET_TOOLS_QUIC_QUIC_SERVER_SESSION_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_server.h ('k') | net/tools/quic/quic_spdy_client_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698