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

Issue 1355413003: Move error classification into the ssl_errors component (Closed)

Created:
5 years, 3 months ago by felt
Modified:
5 years, 1 month ago
Reviewers:
estark, blundell
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move error classification into the ssl_errors component This moves SSLErrorClassification and its unit test into the ssl_errors component as a set of namespaced util functions. BUG=488673 TBR=blundell@chromium.org Committed: https://crrev.com/70127b44581879eee5a417b2c47d294df782ad38 Cr-Commit-Position: refs/heads/master@{#358918}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : v2: Turn methods into namespaced functions #

Patch Set 3 : Cleanup #

Total comments: 27

Patch Set 4 : Changes for estark #

Total comments: 8

Patch Set 5 : Updates for estark #

Patch Set 6 : Rebase merge fixes #

Patch Set 7 : Rebase x2 #

Patch Set 8 : remove size_t / int mixing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+404 lines, -900 lines) Patch
M chrome/app/chromium_strings.grd View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/ssl/bad_clock_blocking_page.cc View 1 2 3 4 5 6 4 chunks +7 lines, -8 lines 0 comments Download
M chrome/browser/ssl/common_name_mismatch_handler.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 3 chunks +6 lines, -15 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 6 5 chunks +4 lines, -7 lines 0 comments Download
D chrome/browser/ssl/ssl_error_classification.h View 1 2 1 chunk +0 lines, -127 lines 0 comments Download
D chrome/browser/ssl/ssl_error_classification.cc View 1 2 3 4 5 1 chunk +0 lines, -446 lines 0 comments Download
D chrome/browser/ssl/ssl_error_classification_unittest.cc View 1 2 1 chunk +0 lines, -141 lines 0 comments Download
M chrome/browser/ssl/ssl_error_handler.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +1 line, -3 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 6 3 chunks +5 lines, -0 lines 0 comments Download
M components/ssl_errors.gypi View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M components/ssl_errors/BUILD.gn View 2 chunks +14 lines, -0 lines 0 comments Download
M components/ssl_errors/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A components/ssl_errors/error_classification.h View 1 2 3 4 1 chunk +109 lines, -0 lines 0 comments Download
A + components/ssl_errors/error_classification.cc View 1 2 3 4 5 6 7 17 chunks +118 lines, -139 lines 0 comments Download
A components/ssl_errors/error_classification_unittest.cc View 1 1 chunk +130 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (14 generated)
felt
estark, PTAL? By the way, here are some rambly thoughts to pre-empt a question I'll ...
5 years, 3 months ago (2015-09-23 01:15:03 UTC) #3
estark
I did a quick pass over this but while I'm doing a more thorough look ...
5 years, 3 months ago (2015-09-23 22:42:19 UTC) #4
estark
Ok, sorry, I'm kinda going down a rabbit hole here, but I had another thought. ...
5 years, 3 months ago (2015-09-23 22:52:35 UTC) #5
felt
PTAL: Completely redid the CL. On 2015/09/23 22:52:35, estark wrote: > Ok, sorry, I'm kinda ...
5 years, 2 months ago (2015-10-02 06:04:17 UTC) #6
estark
I propose that, either in this CL or in a future CL (which I'd be ...
5 years, 2 months ago (2015-10-02 22:17:22 UTC) #7
felt
Before i get any farther: a lot of these comments are really about cleanup of ...
5 years, 2 months ago (2015-10-05 05:26:40 UTC) #8
estark
On 2015/10/05 05:26:40, felt wrote: > Before i get any farther: a lot of these ...
5 years, 2 months ago (2015-10-05 14:07:47 UTC) #9
felt
https://codereview.chromium.org/1355413003/diff/60001/components/ssl_errors/error_classification.cc File components/ssl_errors/error_classification.cc (right): https://codereview.chromium.org/1355413003/diff/60001/components/ssl_errors/error_classification.cc#newcode90 components/ssl_errors/error_classification.cc:90: std::vector<std::vector<std::string>> dns_name_tokens; On 2015/10/02 22:17:21, estark wrote: > std::vector<UrlTokens> ...
5 years, 2 months ago (2015-10-05 18:23:07 UTC) #10
felt
On 2015/10/05 14:07:47, estark wrote: > On 2015/10/05 05:26:40, felt wrote: > > Before i ...
5 years, 2 months ago (2015-10-05 18:28:24 UTC) #11
estark
lgtm. Left a couple more nits but any of them can be deferred to follow-up ...
5 years, 2 months ago (2015-10-06 02:35:41 UTC) #12
felt
https://codereview.chromium.org/1355413003/diff/80001/components/ssl_errors/error_classification.cc File components/ssl_errors/error_classification.cc (right): https://codereview.chromium.org/1355413003/diff/80001/components/ssl_errors/error_classification.cc#newcode249 components/ssl_errors/error_classification.cc:249: return (GetWWWSubDomainMatch(request_url, dns_names, &www_host)); On 2015/10/06 02:35:41, estark wrote: ...
5 years, 2 months ago (2015-10-06 03:15:10 UTC) #13
felt
blundell: I'm TBRing you for a minor change to components/ssl_errors.gypi. TODO(felt): I need to update ...
5 years, 2 months ago (2015-10-06 03:17:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1355413003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355413003/100001
5 years, 2 months ago (2015-10-06 03:17:32 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/106505)
5 years, 2 months ago (2015-10-06 03:20:52 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1355413003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355413003/120001
5 years, 2 months ago (2015-10-07 21:15:39 UTC) #23
blundell
lgtm
5 years, 2 months ago (2015-10-08 07:34:09 UTC) #25
blundell
Hi Adrienne, Is this CL still relevant and good to go?
5 years, 1 month ago (2015-11-10 12:23:58 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1355413003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355413003/140001
5 years, 1 month ago (2015-11-10 18:44:12 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1355413003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1355413003/160001
5 years, 1 month ago (2015-11-10 19:36:55 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:160001)
5 years, 1 month ago (2015-11-10 21:57:31 UTC) #34
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/70127b44581879eee5a417b2c47d294df782ad38 Cr-Commit-Position: refs/heads/master@{#358918}
5 years, 1 month ago (2015-11-10 21:58:22 UTC) #35
Ken Rockot(use gerrit already)
On 2015/11/10 at 21:58:22, commit-bot wrote: > Patchset 8 (id:??) landed as https://crrev.com/70127b44581879eee5a417b2c47d294df782ad38 > Cr-Commit-Position: ...
5 years, 1 month ago (2015-11-11 17:56:08 UTC) #36
felt
5 years, 1 month ago (2015-11-11 17:57:46 UTC) #37
Message was sent while issue was closed.
On 2015/11/11 17:56:08, Ken Rockot wrote:
> On 2015/11/10 at 21:58:22, commit-bot wrote:
> > Patchset 8 (id:??) landed as
> https://crrev.com/70127b44581879eee5a417b2c47d294df782ad38
> > Cr-Commit-Position: refs/heads/master@{#358918}
> 
> Drive-by comment: the new BUILD.gn incorrectly references
> "error_classification_unittests.cc" (plural). Isn't breaking bots because I
> guess nothing builds the unit_tests target now, but it does break when
building
> all targets.

Thanks for letting me know, will mail a fix right away.

Powered by Google App Engine
This is Rietveld 408576698