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

Issue 2265873002: Adjust callers and networking delegates in net/ to modified APIs (Closed)

Created:
4 years, 4 months ago by maksims (do not use this acc)
Modified:
4 years, 3 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@URLRequestRead
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adjust callers and networking delegates in net/ to modified APIs Use modified Read and delegate methods from the following CL- https://codereview.chromium.org/2262653003/ BUG=423484 Committed: https://crrev.com/65db2c48753ba5a516e9a4147f93a9c218d5f76e Cr-Commit-Position: refs/heads/master@{#416511}

Patch Set 1 #

Patch Set 2 #

Patch Set 3 : rebased #

Total comments: 18

Patch Set 4 : Matt's comments #

Total comments: 17

Patch Set 5 : more comments #

Patch Set 6 : rebased on top of URLRequest::Read CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+339 lines, -397 lines) Patch
M net/cert_net/cert_net_fetcher_impl.cc View 1 2 3 4 12 chunks +39 lines, -45 lines 0 comments Download
M net/cert_net/nss_ocsp.cc View 1 2 3 2 chunks +8 lines, -8 lines 0 comments Download
M net/nqe/network_quality_estimator.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 3 chunks +6 lines, -6 lines 0 comments Download
M net/nqe/throughput_analyzer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/proxy/network_delegate_error_observer_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl.cc View 1 2 3 5 chunks +19 lines, -12 lines 0 comments Download
M net/proxy/proxy_script_fetcher_impl_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M net/test/spawned_test_server/spawner_communicator.h View 1 chunk +2 lines, -2 lines 0 comments Download
M net/test/spawned_test_server/spawner_communicator.cc View 1 2 3 6 chunks +30 lines, -21 lines 0 comments Download
M net/url_request/report_sender.h View 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/report_sender.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M net/url_request/sdch_dictionary_fetcher.h View 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/sdch_dictionary_fetcher.cc View 1 2 3 4 5 chunks +14 lines, -15 lines 0 comments Download
M net/url_request/url_fetcher_core.h View 1 chunk +1 line, -1 line 0 comments Download
M net/url_request/url_fetcher_core.cc View 1 2 3 4 4 chunks +14 lines, -18 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/url_request/url_request_data_job_fuzzer.cc View 1 2 3 chunks +11 lines, -10 lines 0 comments Download
M net/url_request/url_request_file_dir_job_unittest.cc View 1 2 3 4 2 chunks +3 lines, -7 lines 0 comments Download
M net/url_request/url_request_ftp_job_unittest.cc View 1 2 3 4 8 chunks +7 lines, -8 lines 0 comments Download
M net/url_request/url_request_http_job.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/url_request/url_request_http_job_unittest.cc View 1 2 3 4 14 chunks +14 lines, -15 lines 0 comments Download
M net/url_request/url_request_job_factory_impl_unittest.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M net/url_request/url_request_job_unittest.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M net/url_request/url_request_simple_job_unittest.cc View 1 2 3 4 8 chunks +7 lines, -13 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 98 chunks +116 lines, -167 lines 0 comments Download
M net/websockets/websocket_end_to_end_test.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M net/websockets/websocket_stream.cc View 5 chunks +21 lines, -22 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 117 (103 generated)
maksims (do not use this acc)
would you please take a look into this as well?
4 years, 3 months ago (2016-08-30 11:58:52 UTC) #72
mmenke
Haven't made it all the way through. Was initially very skeptical of Canceled() returning a ...
4 years, 3 months ago (2016-08-30 22:13:22 UTC) #75
maksims (do not use this acc)
https://codereview.chromium.org/2265873002/diff/340001/net/cert_net/cert_net_fetcher_impl.cc File net/cert_net/cert_net_fetcher_impl.cc (right): https://codereview.chromium.org/2265873002/diff/340001/net/cert_net/cert_net_fetcher_impl.cc#newcode314 net/cert_net/cert_net_fetcher_impl.cc:314: int status = request->CancelWithError(error); On 2016/08/30 22:13:22, mmenke wrote: ...
4 years, 3 months ago (2016-09-01 12:22:30 UTC) #90
mmenke
Looks good! https://codereview.chromium.org/2265873002/diff/400001/net/cert_net/cert_net_fetcher_impl.cc File net/cert_net/cert_net_fetcher_impl.cc (right): https://codereview.chromium.org/2265873002/diff/400001/net/cert_net/cert_net_fetcher_impl.cc#newcode306 net/cert_net/cert_net_fetcher_impl.cc:306: base::Bind(&Job::OnTimeout, base::Unretained(this), ERR_TIMED_OUT)); Can get rid of ...
4 years, 3 months ago (2016-09-01 16:57:26 UTC) #91
maksims (do not use this acc)
https://codereview.chromium.org/2265873002/diff/400001/net/cert_net/cert_net_fetcher_impl.cc File net/cert_net/cert_net_fetcher_impl.cc (right): https://codereview.chromium.org/2265873002/diff/400001/net/cert_net/cert_net_fetcher_impl.cc#newcode306 net/cert_net/cert_net_fetcher_impl.cc:306: base::Bind(&Job::OnTimeout, base::Unretained(this), ERR_TIMED_OUT)); On 2016/09/01 16:57:25, mmenke wrote: > ...
4 years, 3 months ago (2016-09-02 12:31:53 UTC) #103
mmenke
LGTM!
4 years, 3 months ago (2016-09-02 18:50:13 UTC) #106
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/2265873002/460001
4 years, 3 months ago (2016-09-05 06:11:19 UTC) #108
commit-bot: I haz the power
Committed patchset #6 (id:460001)
4 years, 3 months ago (2016-09-05 07:17:49 UTC) #110
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/65db2c48753ba5a516e9a4147f93a9c218d5f76e Cr-Commit-Position: refs/heads/master@{#416511}
4 years, 3 months ago (2016-09-05 07:19:57 UTC) #112
michaelbai
On 2016/09/05 07:19:57, commit-bot: I haz the power wrote: > Patchset 6 (id:??) landed as ...
4 years, 3 months ago (2016-09-06 18:19:32 UTC) #113
mmenke
On 2016/09/06 18:19:32, michaelbai wrote: > On 2016/09/05 07:19:57, commit-bot: I haz the power wrote: ...
4 years, 3 months ago (2016-09-06 18:27:30 UTC) #114
mmenke
On 2016/09/06 18:27:30, mmenke wrote: > On 2016/09/06 18:19:32, michaelbai wrote: > > On 2016/09/05 ...
4 years, 3 months ago (2016-09-06 18:28:40 UTC) #115
mmenke
A revert of this CL (patchset #6 id:460001) has been created in https://codereview.chromium.org/2313013002/ by mmenke@chromium.org. ...
4 years, 3 months ago (2016-09-06 18:29:14 UTC) #116
maksims (do not use this acc)
4 years, 3 months ago (2016-09-06 18:30:30 UTC) #117
Message was sent while issue was closed.
On 2016/09/06 18:27:30, mmenke wrote:
> On 2016/09/06 18:19:32, michaelbai wrote:
> > On 2016/09/05 07:19:57, commit-bot: I haz the power wrote:
> > > Patchset 6 (id:??) landed as
> > > https://crrev.com/65db2c48753ba5a516e9a4147f93a9c218d5f76e
> > > Cr-Commit-Position: refs/heads/master@{#416511}
> > 
> > It seemed that this patch made below bot flaky
> > 
> >
>
https://build.chromium.org/p/chromium.android/builders/Android%20Cronet%20Mar...
> 
> That's unfortunate.  The time range is certainly right.
> 
> maksims:  Do any of the other CLs you've landed depend on this one, so we can
we
> just revert it without breaking stuff?
> 
> Also, do you have an Android device to debug on?  I'm happy to help you set
one
> up, if you have trouble.  It also requires Linux to compile Chrome for
Android.

If I remember right, nothing depends on this. Yes, I have an Android device.

Powered by Google App Engine
This is Rietveld 408576698