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

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

Issue 1471573002: Replacing EffectivePriority with Priority for QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@107595145
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « net/quic/quic_crypto_stream.cc ('k') | net/quic/quic_headers_stream.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef NET_QUIC_QUIC_HEADERS_STREAM_H_ 5 #ifndef NET_QUIC_QUIC_HEADERS_STREAM_H_
6 #define NET_QUIC_QUIC_HEADERS_STREAM_H_ 6 #define NET_QUIC_QUIC_HEADERS_STREAM_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
(...skipping 19 matching lines...) Expand all
30 // the SPDY frame. Returns the size, in bytes, of the resulting 30 // the SPDY frame. Returns the size, in bytes, of the resulting
31 // SPDY frame. 31 // SPDY frame.
32 size_t WriteHeaders(QuicStreamId stream_id, 32 size_t WriteHeaders(QuicStreamId stream_id,
33 const SpdyHeaderBlock& headers, 33 const SpdyHeaderBlock& headers,
34 bool fin, 34 bool fin,
35 QuicPriority priority, 35 QuicPriority priority,
36 QuicAckListenerInterface* ack_notifier_delegate); 36 QuicAckListenerInterface* ack_notifier_delegate);
37 37
38 // ReliableQuicStream implementation 38 // ReliableQuicStream implementation
39 void OnDataAvailable() override; 39 void OnDataAvailable() override;
40 QuicPriority EffectivePriority() const override; 40 QuicPriority Priority() const override;
41 41
42 private: 42 private:
43 class SpdyFramerVisitor; 43 class SpdyFramerVisitor;
44 44
45 // The following methods are called by the SimpleVisitor. 45 // The following methods are called by the SimpleVisitor.
46 46
47 // Called when a SYN_STREAM frame has been received. 47 // Called when a SYN_STREAM frame has been received.
48 void OnSynStream(SpdyStreamId stream_id, 48 void OnSynStream(SpdyStreamId stream_id,
49 SpdyPriority priority, 49 SpdyPriority priority,
50 bool fin); 50 bool fin);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 SpdyFramer spdy_framer_; 90 SpdyFramer spdy_framer_;
91 scoped_ptr<SpdyFramerVisitor> spdy_framer_visitor_; 91 scoped_ptr<SpdyFramerVisitor> spdy_framer_visitor_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream); 93 DISALLOW_COPY_AND_ASSIGN(QuicHeadersStream);
94 }; 94 };
95 95
96 } // namespace net 96 } // namespace net
97 97
98 #endif // NET_QUIC_QUIC_HEADERS_STREAM_H_ 98 #endif // NET_QUIC_QUIC_HEADERS_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_stream.cc ('k') | net/quic/quic_headers_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698