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

Unified Diff: net/tools/quic/quic_server_session.h

Issue 1190823003: Remove dependency on headers stream from QuicSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0616
Patch Set: deleted an include Created 5 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
« no previous file with comments | « net/tools/quic/quic_dispatcher_test.cc ('k') | net/tools/quic/quic_server_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server_session.h
diff --git a/net/tools/quic/quic_server_session.h b/net/tools/quic/quic_server_session.h
index 757cab6940509422d45ec3fe46c0e47620d059c0..16f08bd108cbb23050c94b9b47ca5e950f83d7e3 100644
--- a/net/tools/quic/quic_server_session.h
+++ b/net/tools/quic/quic_server_session.h
@@ -16,7 +16,7 @@
#include "base/memory/scoped_ptr.h"
#include "net/quic/quic_crypto_server_stream.h"
#include "net/quic/quic_protocol.h"
-#include "net/quic/quic_session.h"
+#include "net/quic/quic_spdy_session.h"
namespace net {
@@ -50,7 +50,7 @@ class QuicServerSessionVisitor {
QuicConnectionId connection_id) {}
};
-class QuicServerSession : public QuicSession {
+class QuicServerSession : public QuicSpdySession {
public:
// |crypto_config| must outlive the session.
QuicServerSession(const QuicConfig& config,
@@ -104,14 +104,14 @@ class QuicServerSession : public QuicSession {
protected:
// QuicSession methods:
- QuicDataStream* CreateIncomingDataStream(QuicStreamId id) override;
- QuicDataStream* CreateOutgoingDataStream() override;
+ QuicDataStream* CreateIncomingDynamicStream(QuicStreamId id) override;
+ QuicDataStream* CreateOutgoingDynamicStream() override;
QuicCryptoServerStream* GetCryptoStream() override;
// If we should create an incoming stream, returns true. Otherwise
// does error handling, including communicating the error to the client and
// possibly closing the connection, and returns false.
- virtual bool ShouldCreateIncomingDataStream(QuicStreamId id);
+ virtual bool ShouldCreateIncomingDynamicStream(QuicStreamId id);
virtual QuicCryptoServerStream* CreateQuicCryptoServerStream(
const QuicCryptoServerConfig* crypto_config);
« no previous file with comments | « net/tools/quic/quic_dispatcher_test.cc ('k') | net/tools/quic/quic_server_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698