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

Issue 2330983002: Removes get upload progress plumbing. URLRequest queries the UploadDataStream directly. (Closed)

Created:
4 years, 3 months ago by shivanisha
Modified:
4 years, 3 months ago
Reviewers:
dgozman, mmenke
CC:
cbentzel+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, gavinp+disk_chromium.org, jam, kinuko+cache_chromium.org, loading-reviews_chromium.org, mmenke, pfeldman, Paweł Hajdan Jr., Randy Smith (Not in Mondays)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removes the plumbing to get upload progress since URLRequest owns the upload data stream and it can directly ask the stream for the progress instead of going to URLRequestJob, HttpTransaction and HttpStream layers. BUG=472740 Committed: https://crrev.com/b9a14395aa00b3114aa35485dfd5190190a8e79f Cr-Commit-Position: refs/heads/master@{#419492}

Patch Set 1 #

Patch Set 2 : Rebased till refs/heads/master@{#417939} #

Total comments: 7

Patch Set 3 : Feedback incorporated. #

Total comments: 1

Patch Set 4 : Feedback incorporated. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -154 lines) Patch
M chrome/browser/devtools/devtools_network_transaction.h View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/devtools/devtools_network_transaction.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_unittest.cc View 1 3 chunks +3 lines, -8 lines 0 comments Download
M net/base/upload_data_stream.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M net/base/upload_data_stream.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M net/http/failing_http_transaction_factory.cc View 3 chunks +0 lines, -6 lines 0 comments Download
M net/http/http_basic_stream.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/http/http_basic_stream.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/http/http_cache_transaction.h View 3 chunks +0 lines, -3 lines 0 comments Download
M net/http/http_cache_transaction.cc View 2 chunks +0 lines, -7 lines 0 comments Download
M net/http/http_network_transaction.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M net/http/http_network_transaction.cc View 1 1 chunk +0 lines, -7 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 3 chunks +5 lines, -7 lines 0 comments Download
M net/http/http_response_body_drainer_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/http/http_stream.h View 2 chunks +0 lines, -4 lines 0 comments Download
M net/http/http_stream_factory_impl_unittest.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M net/http/http_stream_parser.h View 2 chunks +0 lines, -5 lines 0 comments Download
M net/http/http_stream_parser.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M net/http/http_stream_parser_unittest.cc View 1 2 3 5 chunks +109 lines, -0 lines 0 comments Download
M net/http/http_transaction.h View 1 chunk +0 lines, -4 lines 0 comments Download
M net/http/http_transaction_test_util.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/http/http_transaction_test_util.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M net/http/proxy_connect_redirect_http_stream.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/http/proxy_connect_redirect_http_stream.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/quic/chromium/quic_http_stream.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M net/quic/chromium/quic_http_stream.cc View 1 2 3 1 chunk +0 lines, -8 lines 0 comments Download
M net/spdy/spdy_http_stream.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/spdy/spdy_http_stream.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M net/spdy/spdy_http_stream_unittest.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M net/url_request/url_request.cc View 1 2 2 chunks +8 lines, -3 lines 0 comments Download
M net/url_request/url_request_ftp_job.h View 1 chunk +0 lines, -2 lines 0 comments Download
M net/url_request/url_request_ftp_job.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_http_job.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M net/url_request/url_request_http_job_unittest.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_job.h View 2 chunks +0 lines, -4 lines 0 comments Download
M net/url_request/url_request_job.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M net/websockets/websocket_basic_handshake_stream.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/websockets/websocket_basic_handshake_stream.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 27 (18 generated)
shivanisha
As per feedback, this CL extracts the upload progress plumbing removal out of CL 2298823002.
4 years, 3 months ago (2016-09-12 18:11:32 UTC) #10
mmenke
https://codereview.chromium.org/2330983002/diff/40001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2330983002/diff/40001/net/base/upload_data_stream.cc#newcode195 net/base/upload_data_stream.cc:195: } nit: Remove braces. https://codereview.chromium.org/2330983002/diff/40001/net/base/upload_data_stream.h File net/base/upload_data_stream.h (right): https://codereview.chromium.org/2330983002/diff/40001/net/base/upload_data_stream.h#newcode95 ...
4 years, 3 months ago (2016-09-12 19:35:31 UTC) #12
shivanisha
https://codereview.chromium.org/2330983002/diff/40001/net/base/upload_data_stream.cc File net/base/upload_data_stream.cc (right): https://codereview.chromium.org/2330983002/diff/40001/net/base/upload_data_stream.cc#newcode195 net/base/upload_data_stream.cc:195: } On 2016/09/12 at 19:35:31, mmenke wrote: > nit: ...
4 years, 3 months ago (2016-09-14 20:40:26 UTC) #15
mmenke
LGTM https://codereview.chromium.org/2330983002/diff/60001/net/http/http_stream_parser_unittest.cc File net/http/http_stream_parser_unittest.cc (right): https://codereview.chromium.org/2330983002/diff/60001/net/http/http_stream_parser_unittest.cc#newcode125 net/http/http_stream_parser_unittest.cc:125: // test upload progress after init. nit: capitalize ...
4 years, 3 months ago (2016-09-15 15:15:53 UTC) #18
shivanisha
dgozman@, PTAL for devtools_network_transaction*. Thanks!
4 years, 3 months ago (2016-09-16 14:25:09 UTC) #20
dgozman
devtools lgtm
4 years, 3 months ago (2016-09-16 16:41:28 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2330983002/80001
4 years, 3 months ago (2016-09-19 15:17:46 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 3 months ago (2016-09-19 17:24:03 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 17:26:07 UTC) #27
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b9a14395aa00b3114aa35485dfd5190190a8e79f
Cr-Commit-Position: refs/heads/master@{#419492}

Powered by Google App Engine
This is Rietveld 408576698