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

Unified Diff: net/quic/quic_headers_stream.h

Issue 862133002: Update from https://crrev.com/312398 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/quic_headers_stream.h
diff --git a/net/quic/quic_headers_stream.h b/net/quic/quic_headers_stream.h
index 95066b66aa80bd4b388962747eaa0ad3f8e299c1..1a17731238d8ea6f44073a021e3f74f91c57d999 100644
--- a/net/quic/quic_headers_stream.h
+++ b/net/quic/quic_headers_stream.h
@@ -31,15 +31,20 @@ class NET_EXPORT_PRIVATE QuicHeadersStream : public ReliableQuicStream {
QuicStreamId stream_id,
const SpdyHeaderBlock& headers,
bool fin,
+ QuicPriority priority,
QuicAckNotifier::DelegateInterface* ack_notifier_delegate);
// ReliableQuicStream implementation
uint32 ProcessRawData(const char* data, uint32 data_len) override;
QuicPriority EffectivePriority() const override;
+ void OnSuccessfulVersionNegotiation(QuicVersion version);
+
private:
class SpdyFramerVisitor;
+ void InitializeFramer(QuicVersion version);
+
// The following methods are called by the SimpleVisitor.
// Called when a SYN_STREAM frame has been received.
@@ -71,7 +76,7 @@ class NET_EXPORT_PRIVATE QuicHeadersStream : public ReliableQuicStream {
bool fin_;
size_t frame_len_;
- SpdyFramer spdy_framer_;
+ scoped_ptr<SpdyFramer> spdy_framer_;
scoped_ptr<SpdyFramerVisitor> spdy_framer_visitor_;
DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream);
« no previous file with comments | « net/quic/quic_framer_test.cc ('k') | net/quic/quic_headers_stream.cc » ('j') | shell/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698