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

Unified Diff: net/quic/quic_server_session.h

Issue 340433002: Port QuicServer to Chrome network stack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Indentation fix 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/quic_server_session.h
diff --git a/net/quic/quic_server_session.h b/net/quic/quic_server_session.h
index 30ac08c80df802cfe3dea105300121f5e6cfeb3c..99bf26efcc8f735b3a0d326af62cc416ba7d97d8 100644
--- a/net/quic/quic_server_session.h
+++ b/net/quic/quic_server_session.h
@@ -14,6 +14,7 @@
#include "base/containers/hash_tables.h"
#include "base/memory/scoped_ptr.h"
#include "net/quic/quic_crypto_server_stream.h"
+#include "net/quic/quic_per_connection_packet_writer.h"
#include "net/quic/quic_protocol.h"
#include "net/quic/quic_session.h"
@@ -43,8 +44,10 @@ class QuicServerSessionVisitor {
class QuicServerSession : public QuicSession {
public:
+ // Takes ownership of connection_packet_writer
QuicServerSession(const QuicConfig& config,
QuicConnection* connection,
+ QuicPerConnectionPacketWriter* connection_packet_writer,
QuicServerSessionVisitor* visitor);
// Override the base class to notify the owner of the connection close.
@@ -77,6 +80,7 @@ class QuicServerSession : public QuicSession {
friend class test::QuicServerSessionPeer;
scoped_ptr<QuicCryptoServerStream> crypto_stream_;
+ scoped_ptr<QuicPerConnectionPacketWriter> connection_packet_writer_;
QuicServerSessionVisitor* visitor_;
DISALLOW_COPY_AND_ASSIGN(QuicServerSession);

Powered by Google App Engine
This is Rietveld 408576698