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

Unified Diff: net/http/http_stream_parser.h

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_stream_parser.h
diff --git a/net/http/http_stream_parser.h b/net/http/http_stream_parser.h
index 5ce2071c3e3190c33d30ca7ba3f976a1af976eb5..8af8c9ae3734e8b294857f3fbe3e56c8744a56ae 100644
--- a/net/http/http_stream_parser.h
+++ b/net/http/http_stream_parser.h
@@ -14,6 +14,7 @@
#include "net/base/net_export.h"
#include "net/base/net_log.h"
#include "net/base/upload_data_stream.h"
+#include "net/base/upload_progress.h"
#include "net/http/http_chunked_decoder.h"
namespace net {
@@ -57,7 +58,7 @@ class NET_EXPORT_PRIVATE HttpStreamParser : public ChunkCallback {
void Close(bool not_reusable);
- uint64 GetUploadProgress() const;
+ UploadProgress GetUploadProgress() const;
HttpResponseInfo* GetResponseInfo();

Powered by Google App Engine
This is Rietveld 408576698