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

Issue 2327433002: Stop using CertStore which is not compatible with PlzNavigate. (Closed)

Created:
4 years, 3 months ago by jam
Modified:
4 years, 3 months ago
CC:
chromium-reviews, msramek+watch_chromium.org, creis+watch_chromium.org, pfeldman+blink_chromium.org, tfarina, nasko+codewatch_chromium.org, Randy Smith (Not in Mondays), raymes+watch_chromium.org, blink-reviews, caseq+blink_chromium.org, darin-cc_chromium.org, mmenke, devtools-reviews_chromium.org, loading-reviews_chromium.org, apavlov+blink_chromium.org, markusheintz_, lushnikov+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop using CertStore which is not compatible with PlzNavigate. The reason is that certificate IDs depend on the process, and with PlzNavigate the process ID isn't known when the resource loading is happening. BUG=598073, 504347 TBR=tsepez NOTRY=true Committed: https://crrev.com/8ae7cadae586d05e906fa581702e77c32080c4e7 Cr-Commit-Position: refs/heads/master@{#417444}

Patch Set 1 #

Patch Set 2 : fix non ios #

Patch Set 3 : try to fix ios #

Patch Set 4 : more ios & android #

Patch Set 5 : fix tests and remove some CertStore references #

Patch Set 6 : remove certstore on non-ios and update plznavigate test filter #

Total comments: 6

Patch Set 7 : sync #

Patch Set 8 : remove unnecessary .get()'s #

Patch Set 9 : remove cert_store on ios #

Unified diffs Side-by-side diffs Delta from patch set Stats (+287 lines, -1032 lines) Patch
M android_webview/native/aw_contents.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -9 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/certificate_viewer.h View 1 chunk +0 lines, -7 lines 0 comments Download
D chrome/browser/certificate_viewer.cc View 1 chunk +0 lines, -21 lines 0 comments Download
M chrome/browser/devtools/devtools_ui_bindings.cc View 1 2 3 4 5 2 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/devtools/devtools_window.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/devtools/devtools_window.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ssl/bad_clock_blocking_page.cc View 1 2 3 4 5 2 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 2 3 4 5 6 7 7 chunks +10 lines, -11 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc View 1 2 3 4 5 6 7 19 chunks +54 lines, -42 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 2 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 4 chunks +4 lines, -25 lines 0 comments Download
M chrome/browser/ui/android/connection_info_popup_android.cc View 1 2 3 4 5 6 7 5 chunks +4 lines, -10 lines 0 comments Download
M chrome/browser/ui/android/toolbar/toolbar_model_android.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/android/website_settings_popup_android.cc View 1 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.h View 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller.mm View 1 2 3 4 5 6 7 8 5 chunks +6 lines, -7 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/website_settings_bubble_controller_unittest.mm View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/toolbar/chrome_toolbar_model_delegate.cc View 1 2 3 4 5 2 chunks +3 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.h View 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/website_settings/website_settings_popup_view.cc View 1 2 3 4 5 6 7 5 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.h View 4 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.cc View 1 2 3 4 5 6 7 10 chunks +25 lines, -28 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.h View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_ui.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/website_settings/website_settings_unittest.cc View 22 chunks +17 lines, -40 lines 0 comments Download
M components/security_state/security_state_model.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/security_state/security_state_model.cc View 1 2 3 4 5 6 7 4 chunks +3 lines, -4 lines 0 comments Download
M components/security_state/security_state_model_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
D content/browser/cert_store_impl.h View 1 2 3 4 5 1 chunk +0 lines, -66 lines 0 comments Download
D content/browser/cert_store_impl.cc View 1 2 3 4 5 1 chunk +0 lines, -52 lines 0 comments Download
M content/browser/devtools/protocol/network_handler.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/devtools/protocol/security_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/protocol/security_handler.cc View 3 chunks +12 lines, -7 lines 0 comments Download
M content/browser/frame_host/navigation_entry_impl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigation_handle_impl.h View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/loader/DEPS View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/loader/async_resource_handler_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/navigation_resource_handler.h View 1 2 3 4 3 chunks +1 line, -4 lines 0 comments Download
M content/browser/loader/navigation_resource_handler.cc View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
M content/browser/loader/navigation_resource_throttle.h View 1 2 3 4 3 chunks +0 lines, -3 lines 0 comments Download
M content/browser/loader/navigation_resource_throttle.cc View 1 2 3 4 2 chunks +1 line, -4 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.h View 1 2 3 4 3 chunks +0 lines, -15 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 6 7 11 chunks +5 lines, -71 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_unittest.cc View 1 2 3 4 4 chunks +0 lines, -29 lines 0 comments Download
M content/browser/loader/resource_loader.h View 1 2 3 4 3 chunks +0 lines, -21 lines 0 comments Download
M content/browser/loader/resource_loader.cc View 1 2 3 4 5 6 7 11 chunks +6 lines, -17 lines 0 comments Download
M content/browser/loader/resource_loader_unittest.cc View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 3 chunks +0 lines, -81 lines 0 comments Download
M content/browser/ssl/ssl_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ssl/ssl_policy.h View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/ssl/ssl_policy.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -3 lines 0 comments Download
M content/public/browser/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
D content/public/browser/cert_store.h View 1 2 3 4 5 1 chunk +0 lines, -51 lines 0 comments Download
M content/public/browser/resource_request_details.h View 3 chunks +3 lines, -3 lines 0 comments Download
M content/public/browser/resource_request_details.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M content/public/browser/security_style_explanation.h View 1 chunk +5 lines, -4 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 2 chunks +5 lines, -1 line 0 comments Download
M content/public/browser/web_contents_delegate.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 chunk +0 lines, -9 lines 0 comments Download
M content/public/common/ssl_status.h View 1 2 3 4 5 6 7 3 chunks +7 lines, -4 lines 0 comments Download
M content/public/common/ssl_status.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M ios/chrome/browser/ssl/ios_chrome_security_state_model_client.mm View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -5 lines 0 comments Download
M ios/chrome/browser/ssl/ios_ssl_blocking_page.mm View 1 2 3 4 5 6 7 8 2 chunks +1 line, -3 lines 0 comments Download
M ios/web/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -3 lines 0 comments Download
M ios/web/ios_web.gyp View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -3 lines 0 comments Download
D ios/web/net/cert_store_impl.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -62 lines 0 comments Download
D ios/web/net/cert_store_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -56 lines 0 comments Download
M ios/web/net/crw_ssl_status_updater.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -3 lines 0 comments Download
M ios/web/net/crw_ssl_status_updater.mm View 1 2 3 4 5 6 7 8 6 chunks +7 lines, -17 lines 0 comments Download
M ios/web/net/crw_ssl_status_updater_unittest.mm View 1 2 3 4 5 6 7 8 8 chunks +6 lines, -11 lines 0 comments Download
M ios/web/net/request_tracker_impl.mm View 1 2 3 3 chunks +1 line, -5 lines 0 comments Download
D ios/web/public/cert_store.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -49 lines 0 comments Download
M ios/web/public/ssl_status.h View 1 2 3 4 5 6 7 2 chunks +7 lines, -3 lines 0 comments Download
M ios/web/public/ssl_status.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M ios/web/public/test/test_web_state.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M ios/web/public/test/test_web_state.mm View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M ios/web/public/web_state/web_state.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -3 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 4 5 6 7 8 6 chunks +1 line, -13 lines 0 comments Download
M ios/web/web_state/web_state_impl.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.browser_tests.filter View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/security/security-explanation-ordering.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/browser_protocol.json View 2 chunks +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/security/SecurityModel.js View 1 chunk +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/security/SecurityPanel.js View 1 2 3 4 5 6 4 chunks +6 lines, -10 lines 0 comments Download

Messages

Total messages: 77 (63 generated)
jam
eugenebut: ios/ pfeldman: third_party/WebKit/ felt: the rest
4 years, 3 months ago (2016-09-08 16:29:16 UTC) #41
felt
+rsleevi; someone on the networking team should also review
4 years, 3 months ago (2016-09-08 16:34:53 UTC) #45
Eugene But (OOO till 7-30)
ios lgtm. Is there a reason why you use |if (!!certificate.get())| instead of |if (certificate)|? ...
4 years, 3 months ago (2016-09-08 16:57:46 UTC) #46
jam
On 2016/09/08 16:57:46, Eugene But wrote: > ios lgtm. Is there a reason why you ...
4 years, 3 months ago (2016-09-08 17:03:24 UTC) #49
Ryan Sleevi
jam@: Could you explain how this materially addresses the concerns raised when this was proposed ...
4 years, 3 months ago (2016-09-08 17:13:02 UTC) #51
jam
On 2016/09/08 17:13:02, Ryan Sleevi (slow) wrote: > jam@: Could you explain how this materially ...
4 years, 3 months ago (2016-09-08 17:27:43 UTC) #52
Ryan Sleevi
On 2016/09/08 17:27:43, jam wrote: > I don't see discussion related to IPC overhead in ...
4 years, 3 months ago (2016-09-08 17:34:17 UTC) #53
jam
On 2016/09/08 17:34:17, Ryan Sleevi (slow) wrote: > On 2016/09/08 17:27:43, jam wrote: > > ...
4 years, 3 months ago (2016-09-08 17:36:15 UTC) #54
pfeldman
devtools lgtm
4 years, 3 months ago (2016-09-08 20:37:52 UTC) #64
jam
+tsepez for trivial removal of unused struct in common_param_traits_macros.h
4 years, 3 months ago (2016-09-08 23:47:56 UTC) #68
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/2327433002/250001
4 years, 3 months ago (2016-09-08 23:49:22 UTC) #72
jam
felt mentioned offline no need to wait for her. linux_site_isolation is red but it's independent ...
4 years, 3 months ago (2016-09-08 23:50:38 UTC) #73
commit-bot: I haz the power
Committed patchset #9 (id:250001)
4 years, 3 months ago (2016-09-08 23:55:41 UTC) #75
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 23:57:40 UTC) #77
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/8ae7cadae586d05e906fa581702e77c32080c4e7
Cr-Commit-Position: refs/heads/master@{#417444}

Powered by Google App Engine
This is Rietveld 408576698