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

Issue 1341923002: Create a component for SSL error handling (Closed)

Created:
5 years, 3 months ago by felt
Modified:
5 years, 3 months ago
CC:
chromium-reviews, blundell+watchlist_chromium.org, markusheintz_, sdefresne+watchlist_chromium.org, droger+watchlist_chromium.org, raymes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create a component for SSL error handling Classes like SSLErrorInfo and SSLErrorClassification are tightly coupled with the SSL interstitial. Since the interstitial UI is being componentized, I want to move the SSL error handling classes into a component too. This CL begins with SSLErrorInfo. BUG=488673 TBR=stuartmorgan@chromium.org Committed: https://crrev.com/7f1410648c7767ae8d466ada4385e78176f5db06 Cr-Commit-Position: refs/heads/master@{#349282} Committed: https://crrev.com/2493b445699a91d3e71e598d9318f32b8974a53f Cr-Commit-Position: refs/heads/master@{#349486}

Patch Set 1 : v1: basic component #

Patch Set 2 : v2: now with layers #

Patch Set 3 : v3: jk about layers #

Patch Set 4 : Cleaning up for review #

Total comments: 10

Patch Set 5 : Changes for reviewers #

Patch Set 6 : Rebased #

Patch Set 7 : Rename SSLErrorInfo to ErrorInfo #

Patch Set 8 : Rebased #

Patch Set 9 : Fix BUILD.gn after renaming files #

Patch Set 10 : Update iOS grit whitelist #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -610 lines) Patch
M build/ios/grit_whitelist.txt View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/app/chromium_strings.grd View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 2 chunks +0 lines, -119 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ssl/bad_clock_blocking_page.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 6 4 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/ssl/ssl_error_classification.cc View 1 2 3 4 5 6 4 chunks +8 lines, -8 lines 0 comments Download
M chrome/browser/ssl/ssl_error_handler.cc View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
D chrome/browser/ssl/ssl_error_info.h View 1 chunk +0 lines, -75 lines 0 comments Download
D chrome/browser/ssl/ssl_error_info.cc View 1 chunk +0 lines, -265 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/website_settings/website_settings.cc View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/common/localized_error.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/components.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/components_strings.grd View 1 chunk +1 line, -0 lines 0 comments Download
A + components/ssl_errors.gypi View 1 2 3 4 5 6 1 chunk +11 lines, -9 lines 0 comments Download
A + components/ssl_errors/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -3 lines 0 comments Download
A + components/ssl_errors/DEPS View 1 chunk +2 lines, -1 line 0 comments Download
A + components/ssl_errors/OWNERS View 1 chunk +1 line, -1 line 0 comments Download
A + components/ssl_errors/error_info.h View 1 2 3 4 5 6 4 chunks +22 lines, -18 lines 0 comments Download
A + components/ssl_errors/error_info.cc View 1 2 3 4 5 6 10 chunks +47 lines, -57 lines 0 comments Download
A components/ssl_errors_strings.grdp View 1 chunk +159 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (18 generated)
felt
estark, blundell: PTAL
5 years, 3 months ago (2015-09-15 15:02:41 UTC) #9
felt
On 2015/09/15 15:02:41, felt wrote: > estark, blundell: PTAL (btw, I know I'm having trouble ...
5 years, 3 months ago (2015-09-15 15:15:11 UTC) #10
estark
https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/ssl_error_info.h File components/ssl_errors/ssl_error_info.h (right): https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/ssl_error_info.h#newcode23 components/ssl_errors/ssl_error_info.h:23: class SSLErrorInfo { Similar to what we did with ...
5 years, 3 months ago (2015-09-15 22:37:28 UTC) #11
Ryan Sleevi
If they're tightly coupled, should they belong in the same component? Why or why not? ...
5 years, 3 months ago (2015-09-15 23:24:57 UTC) #12
felt
On 2015/09/15 23:24:57, Ryan Sleevi wrote: > If they're tightly coupled, should they belong in ...
5 years, 3 months ago (2015-09-16 00:11:23 UTC) #13
Ryan Sleevi
On 2015/09/16 00:11:23, felt wrote: > When I say "coupled" I really mean that security_interstitials ...
5 years, 3 months ago (2015-09-16 00:20:57 UTC) #14
Ryan Sleevi
https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/ssl_error_info.h File components/ssl_errors/ssl_error_info.h (right): https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/ssl_error_info.h#newcode59 components/ssl_errors/ssl_error_info.h:59: const scoped_refptr<net::X509Certificate> cert, This should either be const-ref (ideal ...
5 years, 3 months ago (2015-09-16 00:21:08 UTC) #16
felt
On 2015/09/16 00:20:57, Ryan Sleevi wrote: > On 2015/09/16 00:11:23, felt wrote: > > When ...
5 years, 3 months ago (2015-09-16 02:54:59 UTC) #17
blundell
LGTM The logic on this being a separate component seems sound to me. https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/BUILD.gn File ...
5 years, 3 months ago (2015-09-16 10:04:10 UTC) #18
felt
https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/BUILD.gn File components/ssl_errors/BUILD.gn (right): https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/BUILD.gn#newcode6 components/ssl_errors/BUILD.gn:6: static_library("ssl_errors") { On 2015/09/16 10:04:10, blundell wrote: > s/static_library/source_set ...
5 years, 3 months ago (2015-09-16 14:41:53 UTC) #19
estark
lgtm https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/ssl_error_info.h File components/ssl_errors/ssl_error_info.h (right): https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/ssl_error_info.h#newcode23 components/ssl_errors/ssl_error_info.h:23: class SSLErrorInfo { On 2015/09/16 14:41:53, felt wrote: ...
5 years, 3 months ago (2015-09-16 15:01:07 UTC) #20
blundell
On 2015/09/16 15:01:07, estark wrote: > lgtm > > https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/ssl_error_info.h > File components/ssl_errors/ssl_error_info.h (right): > ...
5 years, 3 months ago (2015-09-16 15:05:29 UTC) #21
felt
https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/ssl_error_info.h File components/ssl_errors/ssl_error_info.h (right): https://codereview.chromium.org/1341923002/diff/200001/components/ssl_errors/ssl_error_info.h#newcode23 components/ssl_errors/ssl_error_info.h:23: class SSLErrorInfo { On 2015/09/16 15:01:07, estark wrote: > ...
5 years, 3 months ago (2015-09-16 20:28:08 UTC) #22
felt
sky, can you please provide an OWNERS review the remaining misc files: chrome/browser/ui/browser.cc chrome/browser/BUILD.gn chrome/browser/DEPS ...
5 years, 3 months ago (2015-09-16 20:32:45 UTC) #24
sky
LGTM
5 years, 3 months ago (2015-09-16 22:26:53 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341923002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341923002/300001
5 years, 3 months ago (2015-09-16 22:31:37 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/100677)
5 years, 3 months ago (2015-09-16 23:14:58 UTC) #30
felt
Hmm... Sleevi, I think I need you to sign off: Missing L/G/T/M from OWNERS of ...
5 years, 3 months ago (2015-09-16 23:22:41 UTC) #31
Ryan Sleevi
rubber stamp LGTM
5 years, 3 months ago (2015-09-16 23:29:35 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341923002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341923002/300001
5 years, 3 months ago (2015-09-16 23:31:24 UTC) #34
commit-bot: I haz the power
Committed patchset #9 (id:300001)
5 years, 3 months ago (2015-09-16 23:50:37 UTC) #35
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/7f1410648c7767ae8d466ada4385e78176f5db06 Cr-Commit-Position: refs/heads/master@{#349282}
5 years, 3 months ago (2015-09-16 23:51:06 UTC) #36
Justin Donnelly
On 2015/09/16 23:51:06, commit-bot: I haz the power wrote: > Patchset 9 (id:??) landed as ...
5 years, 3 months ago (2015-09-16 23:58:50 UTC) #37
Justin Donnelly
On 2015/09/16 23:58:50, Justin Donnelly wrote: > On 2015/09/16 23:51:06, commit-bot: I haz the power ...
5 years, 3 months ago (2015-09-17 00:11:12 UTC) #38
blundell
+sdefresne@ Can you see what about this CL would have caused the compile failure in ...
5 years, 3 months ago (2015-09-17 07:30:17 UTC) #40
sdefresne
On 2015/09/17 at 07:30:17, blundell wrote: > +sdefresne@ Can you see what about this CL ...
5 years, 3 months ago (2015-09-17 08:51:24 UTC) #41
blundell
Thanks! On 2015/09/17 08:51:24, sdefresne wrote: > On 2015/09/17 at 07:30:17, blundell wrote: > > ...
5 years, 3 months ago (2015-09-17 09:04:47 UTC) #42
felt
stuartmorgan: adding you as TBR for the strings that needed to be whitelisted for iOS
5 years, 3 months ago (2015-09-17 19:17:49 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1341923002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1341923002/320001
5 years, 3 months ago (2015-09-17 19:20:44 UTC) #47
commit-bot: I haz the power
Committed patchset #10 (id:320001)
5 years, 3 months ago (2015-09-17 20:34:10 UTC) #48
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/2493b445699a91d3e71e598d9318f32b8974a53f Cr-Commit-Position: refs/heads/master@{#349486}
5 years, 3 months ago (2015-09-17 20:34:44 UTC) #49
stuartmorgan
5 years, 3 months ago (2015-09-18 16:03:02 UTC) #50
Message was sent while issue was closed.
whitelist lgtm

Powered by Google App Engine
This is Rietveld 408576698