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

Issue 1317593002: Have SSLErrorHandler decide which type of interstitial to display (Closed)

Created:
5 years, 4 months ago by felt
Modified:
5 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Have SSLErrorHandler decide which type of interstitial to display Previously, the SSLBlockingPage would decide whether to show a clock error or "regular" SSL error. That logic is now moved up into the SSLErrorHandler. This CL also moves metrics reporting to the bad clock interstitial. The bad clock interstitial from now on will only record interaction metrics, since decision metrics are moot. BUG=516370 Committed: https://crrev.com/534cc9e7396c6f497f6fc11715adb3c0351a8b7b Cr-Commit-Position: refs/heads/master@{#346726}

Patch Set 1 : Added a browser test #

Patch Set 2 : Rebased with errors #

Patch Set 3 : Fix rebase errors #

Patch Set 4 : Fix browser tests #

Total comments: 22

Patch Set 5 : Changes for estark #

Total comments: 2

Patch Set 6 : Fix mem leak #

Patch Set 7 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -286 lines) Patch
M chrome/browser/ssl/bad_clock_blocking_page.cc View 1 2 3 4 5 6 4 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.h View 1 2 3 4 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 10 chunks +60 lines, -261 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 4 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_error_classification.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_error_classification.cc View 1 2 3 2 chunks +27 lines, -6 lines 0 comments Download
M chrome/browser/ssl/ssl_error_handler.h View 1 2 3 4 3 chunks +19 lines, -11 lines 0 comments Download
M chrome/browser/ssl/ssl_error_handler.cc View 1 4 7 chunks +39 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
felt
lgarron, can you please review?
5 years, 3 months ago (2015-08-28 04:40:48 UTC) #7
felt
accidentally hit enter too soon: I'm actually still struggling with the browser test, I think ...
5 years, 3 months ago (2015-08-28 04:54:05 UTC) #8
felt
estark: PTAL? Two notes: * I'm not thrilled with needing to mock out the time ...
5 years, 3 months ago (2015-08-31 23:00:36 UTC) #10
estark
https://codereview.chromium.org/1317593002/diff/130001/chrome/browser/ssl/bad_clock_blocking_page.cc File chrome/browser/ssl/bad_clock_blocking_page.cc (right): https://codereview.chromium.org/1317593002/diff/130001/chrome/browser/ssl/bad_clock_blocking_page.cc#newcode188 chrome/browser/ssl/bad_clock_blocking_page.cc:188: metrics_helper()->RecordUserInteraction( In SSLBlockingPage we also record security_interstitials::MetricsHelper::SHOW here. Is ...
5 years, 3 months ago (2015-09-01 13:28:29 UTC) #11
felt
https://codereview.chromium.org/1317593002/diff/130001/chrome/browser/ssl/bad_clock_blocking_page.cc File chrome/browser/ssl/bad_clock_blocking_page.cc (right): https://codereview.chromium.org/1317593002/diff/130001/chrome/browser/ssl/bad_clock_blocking_page.cc#newcode188 chrome/browser/ssl/bad_clock_blocking_page.cc:188: metrics_helper()->RecordUserInteraction( On 2015/09/01 13:28:28, estark wrote: > In SSLBlockingPage ...
5 years, 3 months ago (2015-09-01 15:49:42 UTC) #13
estark
LGTM % memory leak https://codereview.chromium.org/1317593002/diff/170001/chrome/browser/ssl/bad_clock_blocking_page.cc File chrome/browser/ssl/bad_clock_blocking_page.cc (right): https://codereview.chromium.org/1317593002/diff/170001/chrome/browser/ssl/bad_clock_blocking_page.cc#newcode192 chrome/browser/ssl/bad_clock_blocking_page.cc:192: (new SSLErrorClassification(web_contents, time_triggered_, request_url, memory ...
5 years, 3 months ago (2015-09-01 16:41:48 UTC) #14
felt
https://codereview.chromium.org/1317593002/diff/170001/chrome/browser/ssl/bad_clock_blocking_page.cc File chrome/browser/ssl/bad_clock_blocking_page.cc (right): https://codereview.chromium.org/1317593002/diff/170001/chrome/browser/ssl/bad_clock_blocking_page.cc#newcode192 chrome/browser/ssl/bad_clock_blocking_page.cc:192: (new SSLErrorClassification(web_contents, time_triggered_, request_url, On 2015/09/01 16:41:48, estark wrote: ...
5 years, 3 months ago (2015-09-01 19:13:15 UTC) #15
felt
isherman, PTAL at histograms.xml?
5 years, 3 months ago (2015-09-01 19:14:43 UTC) #17
Ilya Sherman
histograms.xml lgtm
5 years, 3 months ago (2015-09-01 20:32:41 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1317593002/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1317593002/210001
5 years, 3 months ago (2015-09-01 20:33:34 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:210001)
5 years, 3 months ago (2015-09-01 20:39:06 UTC) #22
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 20:40:15 UTC) #23
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/534cc9e7396c6f497f6fc11715adb3c0351a8b7b
Cr-Commit-Position: refs/heads/master@{#346726}

Powered by Google App Engine
This is Rietveld 408576698