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

Issue 2330873002: Use modifed URLRequest API in net/cert_net (Closed)

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

Description

Use modifed URLRequest API in net/cert_net This cl splits the big CL with changes to net/ folder and has changes only to net/cert_net according to the changes to URLRequest API. What the big cl does: It modifies net/ clients that use URLRequest API as long as URLRequest::Read returns int net errors and URLRequest::Delegate and NetworkDelegate methods (for example, OnResponseStarted or OnCompleted) have int net_error in the arguments now. The reason behind splitting the CL into small one is that an android bot started to be unstable and unittests became flaky. It was not possible to locate the problem and the decision was to split the CL and upload small parts with a 6+ hours interval in order to make it possible to locate the problematic code. The big CL is located here - https://codereview.chromium.org/2265873002/ BUG=423484 Committed: https://crrev.com/a74d3cbc572fa1c85cc2c0434a9f8e2f9cba0cd9 Committed: https://crrev.com/ea2402df18aee0655b835267feef57557de5b6cd Cr-Original-Commit-Position: refs/heads/master@{#418014} Cr-Commit-Position: refs/heads/master@{#418852}

Patch Set 1 #

Patch Set 2 : Fixing the problem that made net_unittests flaky #

Total comments: 3

Patch Set 3 : return instead of break #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -55 lines) Patch
M net/cert_net/cert_net_fetcher_impl.cc View 1 2 11 chunks +44 lines, -47 lines 0 comments Download
M net/cert_net/nss_ocsp.cc View 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 30 (18 generated)
maksims (do not use this acc)
ptal
4 years, 3 months ago (2016-09-12 07:27:06 UTC) #7
mmenke
LGTM
4 years, 3 months ago (2016-09-12 15:30:28 UTC) #8
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/2330873002/1
4 years, 3 months ago (2016-09-12 19:55:41 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-12 20:00:08 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/a74d3cbc572fa1c85cc2c0434a9f8e2f9cba0cd9 Cr-Commit-Position: refs/heads/master@{#418014}
4 years, 3 months ago (2016-09-12 20:03:08 UTC) #14
maksims (do not use this acc)
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2332293002/ by maksim.sisov@intel.com. ...
4 years, 3 months ago (2016-09-13 07:15:21 UTC) #15
maksims (do not use this acc)
https://codereview.chromium.org/2330873002/diff/20001/net/cert_net/cert_net_fetcher_impl.cc File net/cert_net/cert_net_fetcher_impl.cc (right): https://codereview.chromium.org/2330873002/diff/20001/net/cert_net/cert_net_fetcher_impl.cc#newcode359 net/cert_net/cert_net_fetcher_impl.cc:359: if (num_bytes == ERR_IO_PENDING) Ok, this one was the ...
4 years, 3 months ago (2016-09-13 08:08:14 UTC) #19
mmenke
LGTM https://codereview.chromium.org/2330873002/diff/20001/net/cert_net/cert_net_fetcher_impl.cc File net/cert_net/cert_net_fetcher_impl.cc (right): https://codereview.chromium.org/2330873002/diff/20001/net/cert_net/cert_net_fetcher_impl.cc#newcode360 net/cert_net/cert_net_fetcher_impl.cc:360: break; I think this makes more sense as ...
4 years, 3 months ago (2016-09-13 16:33:11 UTC) #22
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/2330873002/40001
4 years, 3 months ago (2016-09-15 12:32:21 UTC) #25
maksims (do not use this acc)
I'll commit this and see if it brakes anything. https://codereview.chromium.org/2330873002/diff/20001/net/cert_net/cert_net_fetcher_impl.cc File net/cert_net/cert_net_fetcher_impl.cc (right): https://codereview.chromium.org/2330873002/diff/20001/net/cert_net/cert_net_fetcher_impl.cc#newcode360 net/cert_net/cert_net_fetcher_impl.cc:360: ...
4 years, 3 months ago (2016-09-15 12:32:27 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-15 13:20:44 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 13:22:28 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ea2402df18aee0655b835267feef57557de5b6cd
Cr-Commit-Position: refs/heads/master@{#418852}

Powered by Google App Engine
This is Rietveld 408576698