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

Unified Diff: net/quic/chromium/quic_http_stream.cc

Issue 2330983002: Removes get upload progress plumbing. URLRequest queries the UploadDataStream directly. (Closed)
Patch Set: Rebased till refs/heads/master@{#417939} Created 4 years, 3 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_http_stream.cc
diff --git a/net/quic/chromium/quic_http_stream.cc b/net/quic/chromium/quic_http_stream.cc
index 9ec364ce0833da527ac00ce86cea55bbf0ba219a..28f97e38ae45dc643a7fb2cf3d79b26e46afd92d 100644
--- a/net/quic/chromium/quic_http_stream.cc
+++ b/net/quic/chromium/quic_http_stream.cc
@@ -310,14 +310,6 @@ int QuicHttpStream::SendRequest(const HttpRequestHeaders& request_headers,
return rv > 0 ? OK : rv;
}
-UploadProgress QuicHttpStream::GetUploadProgress() const {
- if (!request_body_stream_)
- return UploadProgress();
-
- return UploadProgress(request_body_stream_->position(),
- request_body_stream_->size());
-}
-
int QuicHttpStream::ReadResponseHeaders(const CompletionCallback& callback) {
CHECK(callback_.is_null());
CHECK(!callback.is_null());

Powered by Google App Engine
This is Rietveld 408576698