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

Issue 2167773002: Preparation for removal of sending content::SSLStatus to the renderer. (Closed)

Created:
4 years, 5 months ago by jam
Modified:
4 years, 5 months ago
Reviewers:
nasko, estark
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Preparation for removal of sending content::SSLStatus to the renderer. In this particular path (WebFrameClient::didDisplayContentWithCertificateErrors and didRunContentWithCertificateErrors), the information needed is mostly from net's SSLInfo. I removed content::SecurityStyle from the IsContentWithCertificateErrorsRelevantToUI check since it's based on other members from SSLInfo that are compared. This allows future changes to not send content::SSLStatus to the renderer process. Also stop sending the serialized security_info string to the browser since it's not used. BUG=598073 Committed: https://crrev.com/a385e11086b4b17f926a4fe95a22a00e9918bbdb Cr-Commit-Position: refs/heads/master@{#407001}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -40 lines) Patch
M content/browser/bad_message.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/ssl/ssl_manager.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/ssl/ssl_policy.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 chunk +2 lines, -5 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 3 chunks +2 lines, -20 lines 0 comments Download
M content/common/frame_messages.h View 1 chunk +4 lines, -6 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 2 chunks +3 lines, -7 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
jam
I first tried to see if we can stop sending this data (even a reduced ...
4 years, 5 months ago (2016-07-20 18:26:54 UTC) #4
jam
btw I'm curious if there are test cases for the iframe case? I couldn't find ...
4 years, 5 months ago (2016-07-20 20:25:33 UTC) #7
estark
lgtm > If the IsContentWithCertificateErrorsRelevantToUI call is just an optimization, > and we can remove ...
4 years, 5 months ago (2016-07-21 01:09:47 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/2167773002/1
4 years, 5 months ago (2016-07-21 15:56:27 UTC) #10
jam
On 2016/07/21 01:09:47, estark wrote: > lgtm > > > If the IsContentWithCertificateErrorsRelevantToUI call is ...
4 years, 5 months ago (2016-07-21 15:56:28 UTC) #11
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/222387)
4 years, 5 months ago (2016-07-21 16:01:59 UTC) #13
lgarron
On 2016/07/21 at 16:18:07, lgarron wrote: > Description was changed from > > ========== > ...
4 years, 5 months ago (2016-07-21 16:19:34 UTC) #15
estark
On 2016/07/21 16:19:34, lgarron wrote: > On 2016/07/21 at 16:18:07, lgarron wrote: > > Description ...
4 years, 5 months ago (2016-07-21 16:45:52 UTC) #16
jam
+nasko for ipc change
4 years, 5 months ago (2016-07-21 21:40:53 UTC) #18
jam
On 2016/07/21 16:45:52, estark wrote: > On 2016/07/21 16:19:34, lgarron wrote: > > On 2016/07/21 ...
4 years, 5 months ago (2016-07-21 21:42:33 UTC) #19
nasko
Passing less untrusted data to the browser -> LGTM :) https://codereview.chromium.org/2167773002/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (left): https://codereview.chromium.org/2167773002/diff/1/content/browser/web_contents/web_contents_impl.cc#oldcode3500 ...
4 years, 5 months ago (2016-07-21 21:52:09 UTC) #20
jam
https://codereview.chromium.org/2167773002/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (left): https://codereview.chromium.org/2167773002/diff/1/content/browser/web_contents/web_contents_impl.cc#oldcode3500 content/browser/web_contents/web_contents_impl.cc:3500: bad_message::WC_CONTENT_WITH_CERT_ERRORS_BAD_SECURITY_INFO); On 2016/07/21 21:52:09, nasko wrote: > nit: Let's ...
4 years, 5 months ago (2016-07-21 22:44:05 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/2167773002/20001
4 years, 5 months ago (2016-07-21 22:45:06 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-22 00:08:37 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 00:11:55 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a385e11086b4b17f926a4fe95a22a00e9918bbdb
Cr-Commit-Position: refs/heads/master@{#407001}

Powered by Google App Engine
This is Rietveld 408576698