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

Unified Diff: net/http/http_cache_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: rebase 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_cache_transaction.h
diff --git a/net/http/http_cache_transaction.h b/net/http/http_cache_transaction.h
index 7627a3948bd5b6cc8c52b90de88779acd9658b36..7eb835eb2ce421dcb41043ac91d579d0337b83d6 100644
--- a/net/http/http_cache_transaction.h
+++ b/net/http/http_cache_transaction.h
@@ -119,7 +119,7 @@ class HttpCache::Transaction : public HttpTransaction {
virtual void DoneReading() OVERRIDE;
virtual const HttpResponseInfo* GetResponseInfo() const OVERRIDE;
virtual LoadState GetLoadState() const OVERRIDE;
- virtual uint64 GetUploadProgress(void) const OVERRIDE;
+ virtual UploadProgress GetUploadProgress(void) const OVERRIDE;
private:
static const size_t kNumValidationHeaders = 2;
@@ -393,7 +393,7 @@ class HttpCache::Transaction : public HttpTransaction {
int effective_load_flags_;
int write_len_;
scoped_ptr<PartialData> partial_; // We are dealing with range requests.
- uint64 final_upload_progress_;
+ UploadProgress final_upload_progress_;
base::WeakPtrFactory<Transaction> weak_factory_;
CompletionCallback io_callback_;

Powered by Google App Engine
This is Rietveld 408576698