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

Unified Diff: net/http/http_pipelined_stream.cc

Issue 10834178: net: Return size of upload as well as position from HttpTransaction::GetUploadProgress() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make UploadProgress a class instead of a struct Created 8 years, 4 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/http/http_pipelined_stream.cc
diff --git a/net/http/http_pipelined_stream.cc b/net/http/http_pipelined_stream.cc
index 0bcb564036d3ad4ef90ab7b9dc165d5e44aa8340..14669935cc05f708e8ad7f7305b72d4f850b04ae 100644
--- a/net/http/http_pipelined_stream.cc
+++ b/net/http/http_pipelined_stream.cc
@@ -51,7 +51,7 @@ int HttpPipelinedStream::SendRequest(
request_body.Pass(), response, callback);
}
-uint64 HttpPipelinedStream::GetUploadProgress() const {
+UploadProgress HttpPipelinedStream::GetUploadProgress() const {
return pipeline_->GetUploadProgress(pipeline_id_);
}

Powered by Google App Engine
This is Rietveld 408576698