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

Issue 2864133002: Convert iOS to use X509CertificateBytes. (Closed)

Created:
3 years, 7 months ago by mattm
Modified:
3 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, Eugene But (OOO till 7-30), pkl (ping after 24h if needed), ios-reviews+web_chromium.org, net-reviews_chromium.org, noyau+watch_chromium.org, mac-reviews_chromium.org, marq+watch_chromium.org, sync-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert iOS to use X509CertificateBytes. BUG=671420 Review-Url: https://codereview.chromium.org/2864133002 Cr-Commit-Position: refs/heads/master@{#472024} Committed: https://chromium.googlesource.com/chromium/src/+/1a07e633e4bcb14569d37908e64eae0198840007

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : fixes, and disable use_byte_certs on ios for try run test #

Patch Set 5 : re-enable #

Patch Set 6 : re-disable for try run #

Patch Set 7 : net_string_util_icu_alternatives_ios #

Patch Set 8 : . #

Total comments: 2

Patch Set 9 : rebase #

Total comments: 7

Patch Set 10 : static_cast, more unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+457 lines, -130 lines) Patch
M chrome/browser/ui/certificate_viewer_mac.mm View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ios/web/net/crw_cert_verification_controller.mm View 2 chunks +3 lines, -2 lines 0 comments Download
M ios/web/net/crw_cert_verification_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -13 lines 0 comments Download
M ios/web/net/crw_ssl_status_updater_unittest.mm View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -2 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -2 lines 0 comments Download
M ios/web/web_state/wk_web_view_security_util.mm View 3 chunks +5 lines, -4 lines 0 comments Download
M ios/web/web_state/wk_web_view_security_util_unittest.mm View 1 2 3 4 5 6 7 4 chunks +7 lines, -2 lines 0 comments Download
M net/BUILD.gn View 1 2 3 4 5 6 7 8 9 7 chunks +13 lines, -1 line 0 comments Download
M net/base/net_string_util_icu_alternatives_ios.mm View 1 2 3 4 5 6 7 3 chunks +34 lines, -3 lines 0 comments Download
M net/cert/cert_verify_proc_ios.cc View 1 2 3 4 chunks +13 lines, -5 lines 0 comments Download
M net/cert/cert_verify_proc_ios_unittest.cc View 1 2 2 chunks +12 lines, -3 lines 0 comments Download
M net/cert/cert_verify_proc_mac.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/cert/x509_certificate.h View 1 chunk +0 lines, -9 lines 0 comments Download
M net/cert/x509_certificate_ios.cc View 1 2 3 4 chunks +3 lines, -41 lines 0 comments Download
M net/cert/x509_util_ios.h View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M net/cert/x509_util_ios.cc View 1 2 3 1 chunk +85 lines, -0 lines 0 comments Download
A net/cert/x509_util_ios_and_mac.h View 1 chunk +32 lines, -0 lines 0 comments Download
A net/cert/x509_util_ios_and_mac.cc View 1 chunk +54 lines, -0 lines 0 comments Download
A net/cert/x509_util_ios_and_mac_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +152 lines, -0 lines 0 comments Download
M net/cert/x509_util_mac.h View 1 chunk +0 lines, -8 lines 0 comments Download
M net/cert/x509_util_mac.cc View 1 chunk +0 lines, -33 lines 0 comments Download
M net/ssl/client_cert_store_mac.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 48 (35 generated)
mattm
https://codereview.chromium.org/2864133002/diff/140001/components/search_engines/BUILD.gn File components/search_engines/BUILD.gn (right): https://codereview.chromium.org/2864133002/diff/140001/components/search_engines/BUILD.gn#newcode48 components/search_engines/BUILD.gn:48: public_deps = [ don't worry about these non-net DEPS ...
3 years, 7 months ago (2017-05-10 01:12:11 UTC) #21
eroman
Can you explain the BUILD changes and why things need to be changed to public_deps? ...
3 years, 7 months ago (2017-05-10 01:52:52 UTC) #22
mattm
On 2017/05/10 01:52:52, eroman wrote: > Can you explain the BUILD changes and why things ...
3 years, 7 months ago (2017-05-10 01:56:04 UTC) #23
mattm
+owners eugenebut: ios/ thakis: chrome/browser/ui/certificate_viewer_mac.mm
3 years, 7 months ago (2017-05-11 20:06:36 UTC) #29
Nico
my one line lgtm https://codereview.chromium.org/2864133002/diff/160001/net/cert/x509_util_ios_and_mac.h File net/cert/x509_util_ios_and_mac.h (right): https://codereview.chromium.org/2864133002/diff/160001/net/cert/x509_util_ios_and_mac.h#newcode12 net/cert/x509_util_ios_and_mac.h:12: #include "net/base/net_export.h" I think chrome/ios ...
3 years, 7 months ago (2017-05-11 20:14:09 UTC) #30
Eugene But (OOO till 7-30)
ios lgtm. Do you want to write tests for the new code? https://codereview.chromium.org/2864133002/diff/160001/ios/web/net/crw_cert_verification_controller_unittest.mm File ios/web/net/crw_cert_verification_controller_unittest.mm ...
3 years, 7 months ago (2017-05-11 20:40:34 UTC) #31
mattm
On 2017/05/11 20:40:34, Eugene But wrote: > ios lgtm. Do you want to write tests ...
3 years, 7 months ago (2017-05-12 01:04:15 UTC) #34
eroman
lgtm
3 years, 7 months ago (2017-05-12 01:12:19 UTC) #35
Eugene But (OOO till 7-30)
> I believe all the code should be covered by existing tests, but maybe there ...
3 years, 7 months ago (2017-05-12 01:12:37 UTC) #36
mattm
On 2017/05/12 01:12:37, Eugene But wrote: > > I believe all the code should be ...
3 years, 7 months ago (2017-05-16 01:27:20 UTC) #39
Eugene But (OOO till 7-30)
Thank you for the tests! still lgtm
3 years, 7 months ago (2017-05-16 02:31:22 UTC) #42
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/2864133002/180001
3 years, 7 months ago (2017-05-16 04:42:12 UTC) #45
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 05:56:05 UTC) #48
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/1a07e633e4bcb14569d37908e64e...

Powered by Google App Engine
This is Rietveld 408576698