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

Unified Diff: net/http/http_transaction.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_transaction.h
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h
index b9f38b6e4d1ed156a8e0c10b0b762d3380be4df9..bae9fdc74954077c63f6d7fe05f99962533ecc5f 100644
--- a/net/http/http_transaction.h
+++ b/net/http/http_transaction.h
@@ -8,6 +8,7 @@
#include "net/base/completion_callback.h"
#include "net/base/load_states.h"
#include "net/base/net_export.h"
+#include "net/base/upload_progress.h"
namespace net {
@@ -108,7 +109,7 @@ class NET_EXPORT_PRIVATE HttpTransaction {
// Returns the upload progress in bytes. If there is no upload data,
// zero will be returned. This does not include the request headers.
- virtual uint64 GetUploadProgress() const = 0;
+ virtual UploadProgress GetUploadProgress() const = 0;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698