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

Issue 10834178: net: Return size of upload as well as position from HttpTransaction::GetUploadProgress() (Closed)

Created:
8 years, 4 months ago by hashimoto
Modified:
8 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, gavinp+disk_chromium.org
Visibility:
Public.

Description

net: Return size of upload as well as position from HttpTransaction::GetUploadProgress() Add net::UploadProgress Change return type of GetUploadSize() from uint64 to UploadProgress. BUG=112607 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=154063

Patch Set 1 : _ #

Total comments: 4

Patch Set 2 : Fix include guard and include #

Patch Set 3 : rebase #

Total comments: 4

Patch Set 4 : Make UploadProgress a class instead of a struct #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -28 lines) Patch
A net/base/upload_progress.h View 1 2 3 1 chunk +28 lines, -0 lines 2 comments Download
M net/http/http_basic_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_basic_stream.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_cache_transaction.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/http/http_cache_transaction.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M net/http/http_network_transaction.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_network_transaction.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_pipelined_connection_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_pipelined_connection_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_pipelined_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_pipelined_stream.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_response_body_drainer_unittest.cc View 1 chunk +3 lines, -1 line 0 comments Download
M net/http/http_stream.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/http/http_stream_parser.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/http/http_stream_parser.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M net/http/http_transaction.h View 2 chunks +2 lines, -1 line 0 comments Download
M net/http/http_transaction_unittest.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_transaction_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M net/net.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/spdy/spdy_http_stream.h View 1 chunk +1 line, -1 line 0 comments Download
M net/spdy/spdy_http_stream.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
hashimoto
Could you review this? This change is needed to remove synchronous file operation from ResourceDispatcherHostImpl ...
8 years, 4 months ago (2012-08-16 11:44:27 UTC) #1
willchan no longer on Chromium
+mmenke, FYI, check the linked codereview for Darin's explanation of what's going on. LGTM mod ...
8 years, 4 months ago (2012-08-16 22:49:06 UTC) #2
hashimoto
http://codereview.chromium.org/10834178/diff/7003/net/base/upload_progress.h File net/base/upload_progress.h (right): http://codereview.chromium.org/10834178/diff/7003/net/base/upload_progress.h#newcode6 net/base/upload_progress.h:6: #define NET_URL_REQUEST_UPLOAD_PROGRESS_ On 2012/08/16 22:49:06, willchan wrote: > Your ...
8 years, 4 months ago (2012-08-17 03:02:32 UTC) #3
darin (slow to review)
http://codereview.chromium.org/10834178/diff/13001/net/base/upload_progress.h File net/base/upload_progress.h (right): http://codereview.chromium.org/10834178/diff/13001/net/base/upload_progress.h#newcode16 net/base/upload_progress.h:16: uint64 size; do these need to be public variables? ...
8 years, 3 months ago (2012-08-29 22:05:35 UTC) #4
hashimoto
http://codereview.chromium.org/10834178/diff/13001/net/base/upload_progress.h File net/base/upload_progress.h (right): http://codereview.chromium.org/10834178/diff/13001/net/base/upload_progress.h#newcode16 net/base/upload_progress.h:16: uint64 size; On 2012/08/29 22:05:35, darin wrote: > do ...
8 years, 3 months ago (2012-08-29 22:27:07 UTC) #5
darin (slow to review)
Thanks for pointing out the final_upload_progress_ assignment. That was buried in the unmodified portions of ...
8 years, 3 months ago (2012-08-29 22:53:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/10834178/28001
8 years, 3 months ago (2012-08-29 22:59:50 UTC) #7
willchan no longer on Chromium
http://codereview.chromium.org/10834178/diff/28001/net/base/upload_progress.h File net/base/upload_progress.h (right): http://codereview.chromium.org/10834178/diff/28001/net/base/upload_progress.h#newcode18 net/base/upload_progress.h:18: uint64 size() const { return size_; } On 2012/08/29 ...
8 years, 3 months ago (2012-08-29 23:10:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/10834178/28001
8 years, 3 months ago (2012-08-29 23:23:30 UTC) #9
commit-bot: I haz the power
8 years, 3 months ago (2012-08-30 03:47:33 UTC) #10
Change committed as 154063

Powered by Google App Engine
This is Rietveld 408576698