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

Issue 2453093004: Remove dependence on a message loop for net::PathBuilder. (Closed)

Created:
4 years, 1 month ago by eroman
Modified:
4 years ago
Reviewers:
sheretov, mattm
CC:
chromium-reviews, cbentzel+watch_chromium.org, sheretov+watch_chromium.org, dougsteed+watch_chromium.org, vadimgo+watch_chromium.org, ryanchung+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove dependence on a message loop for net::PathBuilder. * Path building now can only complete synchronously * Access to trust store is done synchronously * The network dependencies (AIA fetching) will block the thread BUG=649017 Committed: https://crrev.com/994db999829331ea3b982d9c9ec469fde22de21d Cr-Commit-Position: refs/heads/master@{#434769}

Patch Set 1 #

Total comments: 16

Patch Set 2 : address comments (also includes rebase) #

Patch Set 3 : remove unnecessary forward decl #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1016 lines, -2120 lines) Patch
M components/cast_certificate/cast_cert_validator.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/cast_certificate/cast_crl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/cert/cert_net_fetcher.h View 1 2 2 chunks +17 lines, -42 lines 0 comments Download
M net/cert/internal/cert_issuer_source.h View 3 chunks +11 lines, -26 lines 0 comments Download
M net/cert/internal/cert_issuer_source_aia.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/cert/internal/cert_issuer_source_aia.cc View 1 3 chunks +44 lines, -61 lines 0 comments Download
M net/cert/internal/cert_issuer_source_aia_unittest.cc View 10 chunks +93 lines, -188 lines 0 comments Download
M net/cert/internal/cert_issuer_source_static.h View 1 chunk +0 lines, -1 line 0 comments Download
M net/cert/internal/cert_issuer_source_static.cc View 1 chunk +0 lines, -1 line 0 comments Download
M net/cert/internal/cert_issuer_source_static_unittest.cc View 2 chunks +1 line, -5 lines 0 comments Download
D net/cert/internal/completion_status.h View 1 chunk +0 lines, -17 lines 0 comments Download
M net/cert/internal/path_builder.h View 4 chunks +10 lines, -27 lines 0 comments Download
M net/cert/internal/path_builder.cc View 1 17 chunks +76 lines, -260 lines 0 comments Download
M net/cert/internal/path_builder_pkits_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M net/cert/internal/path_builder_unittest.cc View 1 27 chunks +39 lines, -203 lines 0 comments Download
M net/cert/internal/path_builder_verify_certificate_chain_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M net/cert/internal/trust_store.h View 2 chunks +3 lines, -25 lines 0 comments Download
M net/cert/internal/trust_store.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M net/cert/internal/trust_store_collection.h View 1 chunk +8 lines, -26 lines 0 comments Download
M net/cert/internal/trust_store_collection.cc View 1 chunk +5 lines, -18 lines 0 comments Download
M net/cert/internal/trust_store_collection_unittest.cc View 2 chunks +21 lines, -149 lines 0 comments Download
M net/cert/internal/trust_store_in_memory.h View 1 chunk +2 lines, -5 lines 0 comments Download
M net/cert/internal/trust_store_in_memory.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M net/cert/internal/trust_store_nss.h View 2 chunks +4 lines, -13 lines 0 comments Download
M net/cert/internal/trust_store_nss.cc View 4 chunks +8 lines, -72 lines 0 comments Download
M net/cert/internal/trust_store_nss_unittest.cc View 1 8 chunks +38 lines, -82 lines 0 comments Download
D net/cert/internal/trust_store_test_helpers.h View 1 chunk +0 lines, -68 lines 0 comments Download
D net/cert/internal/trust_store_test_helpers.cc View 1 chunk +0 lines, -95 lines 0 comments Download
M net/cert_net/cert_net_fetcher_impl.h View 1 1 chunk +9 lines, -91 lines 0 comments Download
M net/cert_net/cert_net_fetcher_impl.cc View 1 16 chunks +381 lines, -188 lines 0 comments Download
M net/cert_net/cert_net_fetcher_impl_unittest.cc View 16 chunks +167 lines, -410 lines 0 comments Download
M net/net.gypi View 1 1 chunk +0 lines, -2 lines 0 comments Download
M net/tools/cert_verify_tool/cert_verify_tool.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/tools/cert_verify_tool/verify_using_path_builder.cc View 6 chunks +72 lines, -28 lines 0 comments Download

Messages

Total messages: 35 (21 generated)
eroman
4 years, 1 month ago (2016-10-27 02:32:44 UTC) #6
mattm
https://codereview.chromium.org/2453093004/diff/1/net/cert/internal/cert_issuer_source_aia.cc File net/cert/internal/cert_issuer_source_aia.cc (right): https://codereview.chromium.org/2453093004/diff/1/net/cert/internal/cert_issuer_source_aia.cc#newcode65 net/cert/internal/cert_issuer_source_aia.cc:65: bool AiaRequest::OnFetchCompleted(Error error, Wondering if this should be renamed, ...
4 years, 1 month ago (2016-10-28 02:11:56 UTC) #7
eroman
Thanks for the comments! Sorry for not responding sooner -- I was out past few ...
4 years, 1 month ago (2016-11-21 18:48:52 UTC) #8
eroman
https://codereview.chromium.org/2453093004/diff/1/net/cert/internal/cert_issuer_source_aia.cc File net/cert/internal/cert_issuer_source_aia.cc (right): https://codereview.chromium.org/2453093004/diff/1/net/cert/internal/cert_issuer_source_aia.cc#newcode65 net/cert/internal/cert_issuer_source_aia.cc:65: bool AiaRequest::OnFetchCompleted(Error error, On 2016/10/28 02:11:55, mattm wrote: > ...
4 years ago (2016-11-23 22:10:21 UTC) #11
mattm
lgtm
4 years ago (2016-11-23 23:49:19 UTC) #12
eroman
+sheretov for cast changes
4 years ago (2016-11-23 23:50:42 UTC) #14
sheretov
lgtm
4 years ago (2016-11-23 23:55:12 UTC) #15
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/2453093004/20001
4 years ago (2016-11-24 02:17:48 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-24 04:19:14 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/2453093004/20001
4 years ago (2016-11-28 17:44:31 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/313613)
4 years ago (2016-11-28 17:51:49 UTC) #25
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/2453093004/40001
4 years ago (2016-11-28 19:27:51 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-28 23:24:02 UTC) #33
commit-bot: I haz the power
4 years ago (2016-11-28 23:27:06 UTC) #35
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/994db999829331ea3b982d9c9ec469fde22de21d
Cr-Commit-Position: refs/heads/master@{#434769}

Powered by Google App Engine
This is Rietveld 408576698