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

Unified Diff: net/quic/chromium/quic_chromium_client_stream.h

Issue 2861583004: Remove the QuicChromiumClientStream::Delegate::HasSendHeadersComplete() (Closed)
Patch Set: Rebase Created 3 years, 8 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/chromium/quic_chromium_client_stream.h
diff --git a/net/quic/chromium/quic_chromium_client_stream.h b/net/quic/chromium/quic_chromium_client_stream.h
index d68af2aed57332defe56b7b2b514677fbe3dad0e..cd867e2092c204e2417881c24de79c49c9c36d80 100644
--- a/net/quic/chromium/quic_chromium_client_stream.h
+++ b/net/quic/chromium/quic_chromium_client_stream.h
@@ -50,9 +50,6 @@ class NET_EXPORT_PRIVATE QuicChromiumClientStream : public QuicSpdyStream {
// Called when the stream is closed because of an error.
virtual void OnError(int error) = 0;
- // Returns true if sending of headers has completed.
- virtual bool HasSendHeadersComplete() = 0;
-
protected:
virtual ~Delegate() {}
@@ -136,6 +133,9 @@ class NET_EXPORT_PRIVATE QuicChromiumClientStream : public QuicSpdyStream {
bool headers_delivered_;
+ // True when initial headers have been sent.
+ bool initial_headers_sent_;
+
// Callback to be invoked when WriteStreamData or WritevStreamData completes
// asynchronously.
CompletionCallback write_callback_;
« no previous file with comments | « net/quic/chromium/quic_chromium_client_session_test.cc ('k') | net/quic/chromium/quic_chromium_client_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698