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

Side by Side Diff: net/quic/quic_reliable_client_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_http_stream_test.cc ('k') | net/quic/quic_reliable_client_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 (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 // NOTE: This code is not shared between Google and Chrome. 5 // NOTE: This code is not shared between Google and Chrome.
6 6
7 #ifndef NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ 7 #ifndef NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_
8 #define NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ 8 #define NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_
9 9
10 #include "net/base/ip_endpoint.h" 10 #include "net/base/ip_endpoint.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 QuicSpdySession* session, 54 QuicSpdySession* session,
55 const BoundNetLog& net_log); 55 const BoundNetLog& net_log);
56 56
57 ~QuicReliableClientStream() override; 57 ~QuicReliableClientStream() override;
58 58
59 // QuicSpdyStream 59 // QuicSpdyStream
60 void OnStreamHeadersComplete(bool fin, size_t frame_len) override; 60 void OnStreamHeadersComplete(bool fin, size_t frame_len) override;
61 void OnDataAvailable() override; 61 void OnDataAvailable() override;
62 void OnClose() override; 62 void OnClose() override;
63 void OnCanWrite() override; 63 void OnCanWrite() override;
64 QuicPriority EffectivePriority() const override; 64 QuicPriority Priority() const override;
65 65
66 // While the server's set_priority shouldn't be called externally, the creator 66 // While the server's set_priority shouldn't be called externally, the creator
67 // of client-side streams should be able to set the priority. 67 // of client-side streams should be able to set the priority.
68 using QuicSpdyStream::set_priority; 68 using QuicSpdyStream::set_priority;
69 69
70 int WriteStreamData(base::StringPiece data, 70 int WriteStreamData(base::StringPiece data,
71 bool fin, 71 bool fin,
72 const CompletionCallback& callback); 72 const CompletionCallback& callback);
73 // Set new |delegate|. |delegate| must not be NULL. 73 // Set new |delegate|. |delegate| must not be NULL.
74 // If this stream has already received data, OnDataReceived() will be 74 // If this stream has already received data, OnDataReceived() will be
(...skipping 29 matching lines...) Expand all
104 CompletionCallback callback_; 104 CompletionCallback callback_;
105 105
106 base::WeakPtrFactory<QuicReliableClientStream> weak_factory_; 106 base::WeakPtrFactory<QuicReliableClientStream> weak_factory_;
107 107
108 DISALLOW_COPY_AND_ASSIGN(QuicReliableClientStream); 108 DISALLOW_COPY_AND_ASSIGN(QuicReliableClientStream);
109 }; 109 };
110 110
111 } // namespace net 111 } // namespace net
112 112
113 #endif // NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ 113 #endif // NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_reliable_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698