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

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

Issue 1824403002: Add logging for headers sent and received in BidirectionalStreamQuicImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 4 years, 9 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 unified diff | Download patch
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 <stddef.h> 10 #include <stddef.h>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 ~QuicChromiumClientStream() override; 61 ~QuicChromiumClientStream() override;
62 62
63 // QuicSpdyStream 63 // QuicSpdyStream
64 void OnStreamHeadersComplete(bool fin, size_t frame_len) override; 64 void OnStreamHeadersComplete(bool fin, size_t frame_len) override;
65 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id, 65 void OnPromiseHeadersComplete(QuicStreamId promised_stream_id,
66 size_t frame_len) override; 66 size_t frame_len) override;
67 void OnDataAvailable() override; 67 void OnDataAvailable() override;
68 void OnClose() override; 68 void OnClose() override;
69 void OnCanWrite() override; 69 void OnCanWrite() override;
70 size_t WriteHeaders(const SpdyHeaderBlock& header_block,
71 bool fin,
72 QuicAckListenerInterface* ack_notifier_delegate) override;
70 SpdyPriority priority() const override; 73 SpdyPriority priority() const override;
71 74
72 // While the server's set_priority shouldn't be called externally, the creator 75 // While the server's set_priority shouldn't be called externally, the creator
73 // of client-side streams should be able to set the priority. 76 // of client-side streams should be able to set the priority.
74 using QuicSpdyStream::SetPriority; 77 using QuicSpdyStream::SetPriority;
75 78
76 int WriteStreamData(base::StringPiece data, 79 int WriteStreamData(base::StringPiece data,
77 bool fin, 80 bool fin,
78 const CompletionCallback& callback); 81 const CompletionCallback& callback);
79 // Set new |delegate|. |delegate| must not be NULL. 82 // Set new |delegate|. |delegate| must not be NULL.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 std::deque<base::Closure> delegate_tasks_; 130 std::deque<base::Closure> delegate_tasks_;
128 131
129 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_; 132 base::WeakPtrFactory<QuicChromiumClientStream> weak_factory_;
130 133
131 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream); 134 DISALLOW_COPY_AND_ASSIGN(QuicChromiumClientStream);
132 }; 135 };
133 136
134 } // namespace net 137 } // namespace net
135 138
136 #endif // NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_ 139 #endif // NET_QUIC_QUIC_RELIABLE_CLIENT_STREAM_H_
OLDNEW
« no previous file with comments | « net/quic/bidirectional_stream_quic_impl_unittest.cc ('k') | net/quic/quic_chromium_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698