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

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed)

Created:
5 years, 10 months ago by estark
Modified:
5 years, 9 months ago
CC:
chromium-reviews, grt+watch_chromium.org, cbentzel+watch_chromium.org, arv+watch_chromium.org, 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

Add checkbox for reporting invalid TLS/SSL cert chains This is a stub for now; eventually it will report invalid certificate chains on SSL interstitials to a server endpoint. Right now it logs the report but doesn't actually send it anywhere. The checkbox is tied in with Safe Browsing Extended Reporting. BUG=461588 Committed: https://crrev.com/93272ab9ec84b4dd90a93fb2aab8ddd94f250d63 Cr-Commit-Position: refs/heads/master@{#322265}

Patch Set 1 #

Patch Set 2 : comment tweaks #

Total comments: 14

Patch Set 3 : felt's comments #

Total comments: 21

Patch Set 4 : felt comments round 2 #

Patch Set 5 : revert small unnecessary changes to comments #

Patch Set 6 : remove SecurityInterstitialPageWithExtendedReporting subclass, and fix a bug #

Patch Set 7 : add test for not sending reports when flag is disabled #

Total comments: 10

Patch Set 8 : rebase #

Patch Set 9 : felt comments round 3 #

Patch Set 10 : revert unnecessary whitespace change #

Patch Set 11 : rename setupCheckbox to setupExtendedReportingCheckbox #

Patch Set 12 : fix styling on checkbox for SSL interstitial #

Total comments: 6

Patch Set 13 : rsleevi's comments: fix threading bug and add comments #

Total comments: 14

Patch Set 14 : latest round of rsleevi's comments, and fix threading bug in browser tests #

Patch Set 15 : reorder some function definitions to more closely match declaration order (out-of-band tip from rsl… #

Total comments: 4

Patch Set 16 : fix null reporter check, and remove default argument #

Patch Set 17 : rebase #

Total comments: 5

Patch Set 18 : felt's comments #

Total comments: 3

Patch Set 19 : use DCHECK_CURRENTLY_ON instead of DCHECK #

Patch Set 20 : move off the record check before UMA stats collection #

Total comments: 26

Patch Set 21 : bauerb's comments #

Total comments: 2

Patch Set 22 : add report-sending callback for browser tests #

Total comments: 20

Patch Set 23 : rebase on 979893003 (not functional yet) #

Patch Set 24 : Wire up CertificateErrorReporter to SSLBlockingPage #

Patch Set 25 : make cert reporter outlive SSLBlockingPage; also style fixes #

Patch Set 26 : more style fixes, #include tweaking #

Patch Set 27 : comment tweaks #

Total comments: 8

Patch Set 28 : style fixes: base::Closure and const-refs #

Patch Set 29 : set callback to DoNothing close to where it's used #

Total comments: 23

Patch Set 30 : rebase #

Patch Set 31 : make the error reporter live in ProfileIOData #

Patch Set 32 : miscellaneous cleanup #

Patch Set 33 : Implement privacy policy command for SSL #

Patch Set 34 : fix comment typo #

Total comments: 13

Patch Set 35 : rebase #

Patch Set 36 : remove unnecessary virtual method, fix extended_report.js rebase, remove binary data logging #

Patch Set 37 : use enums instead of booleans in browser tests #

Patch Set 38 : move reporter from ProfileIOData to SafeBrowsingPingManager #

Patch Set 39 : some cleanup #

Patch Set 40 : use SecurityInterstitialMetricsHelper for extended reporting events #

Total comments: 9

Patch Set 41 : rebase #

Patch Set 42 : revert unnecessary whitespace change #

Patch Set 43 : mattm comments #

Total comments: 3

Patch Set 44 : send cookies on SB requests, and use .Pass instead of .release #

Total comments: 4

Patch Set 45 : move cookie preference to CertErrorReporter constructor #

Patch Set 46 : move kExtendedReportingUploadUrl to PingManager #

Patch Set 47 : fix histograms typo, other cleanup #

Total comments: 2

Patch Set 48 : clean up leftover upload url declaration #

Total comments: 2

Patch Set 49 : remove unnecessary histogram values, and actually use them properly #

Patch Set 50 : also record when users disable extended reporting #

Total comments: 16

Patch Set 51 : rsleevi fixes #

Patch Set 52 : rebase #

Patch Set 53 : move protected metrics_helper_ to private; add protected getter/setter #

Patch Set 54 : use null CertErrorReporter in PingManager if null request context is passed (used by tests) #

Patch Set 55 : revert accidental deletion (fixes failing CaptivePortal tests) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+707 lines, -176 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/interstitials/security_interstitial_metrics_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/interstitials/security_interstitial_metrics_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/interstitials/security_interstitial_page.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 2 chunks +24 lines, -0 lines 0 comments Download
M chrome/browser/interstitials/security_interstitial_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 2 chunks +58 lines, -0 lines 0 comments Download
M chrome/browser/net/certificate_error_reporter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 2 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/net/certificate_error_reporter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 4 chunks +11 lines, -7 lines 0 comments Download
M chrome/browser/net/certificate_error_reporter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/net/chrome_fraudulent_certificate_reporter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +4 lines, -1 line 0 comments Download
A chrome/browser/resources/security_warnings/extended_reporting.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +40 lines, -0 lines 0 comments Download
M chrome/browser/resources/security_warnings/interstitial_v2.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 9 chunks +31 lines, -15 lines 0 comments Download
M chrome/browser/resources/security_warnings/interstitial_v2.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/security_warnings/interstitial_v2.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/resources/security_warnings/safe_browsing.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +0 lines, -25 lines 0 comments Download
M chrome/browser/safe_browsing/ping_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 3 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/safe_browsing/ping_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 3 chunks +32 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 3 chunks +1 line, -7 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 10 chunks +24 lines, -57 lines 0 comments Download
M chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/ui_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 3 chunks +15 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/ui_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 4 chunks +28 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 7 chunks +22 lines, -2 lines 0 comments Download
M chrome/browser/ssl/ssl_blocking_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 13 chunks +108 lines, -22 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 10 chunks +197 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_error_handler.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 4 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_error_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 5 chunks +17 lines, -12 lines 0 comments Download
M chrome/browser/ssl/ssl_error_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/interstitials/interstitial_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 1 chunk +3 lines, -7 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 4 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 102 (14 generated)
estark
This is mostly just a stub, but I wanted to start getting some feedback. It ...
5 years, 10 months ago (2015-02-17 20:14:47 UTC) #2
felt
https://codereview.chromium.org/935663004/diff/20001/chrome/browser/interstitials/security_interstitial_page.h File chrome/browser/interstitials/security_interstitial_page.h (right): https://codereview.chromium.org/935663004/diff/20001/chrome/browser/interstitials/security_interstitial_page.h#newcode88 chrome/browser/interstitials/security_interstitial_page.h:88: namespace { hmm, I'm not sure that this belongs ...
5 years, 10 months ago (2015-02-18 04:16:29 UTC) #3
estark
https://codereview.chromium.org/935663004/diff/20001/chrome/browser/interstitials/security_interstitial_page.h File chrome/browser/interstitials/security_interstitial_page.h (right): https://codereview.chromium.org/935663004/diff/20001/chrome/browser/interstitials/security_interstitial_page.h#newcode88 chrome/browser/interstitials/security_interstitial_page.h:88: namespace { On 2015/02/18 04:16:29, felt wrote: > hmm, ...
5 years, 10 months ago (2015-02-18 05:22:44 UTC) #4
felt
https://codereview.chromium.org/935663004/diff/20001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc File chrome/browser/net/chrome_fraudulent_certificate_reporter.cc (right): https://codereview.chromium.org/935663004/diff/20001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc#newcode108 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc:108: const net::SSLInfo& ssl_info) { On 2015/02/18 05:22:44, emily wrote: ...
5 years, 10 months ago (2015-02-19 00:32:32 UTC) #5
estark
https://codereview.chromium.org/935663004/diff/20001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc File chrome/browser/net/chrome_fraudulent_certificate_reporter.cc (right): https://codereview.chromium.org/935663004/diff/20001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc#newcode108 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc:108: const net::SSLInfo& ssl_info) { On 2015/02/19 00:32:32, felt wrote: ...
5 years, 10 months ago (2015-02-19 02:32:09 UTC) #6
estark
https://codereview.chromium.org/935663004/diff/40001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/40001/chrome/browser/ssl/ssl_blocking_page.cc#newcode613 chrome/browser/ssl/ssl_blocking_page.cc:613: base::DictionaryValue* load_time_data) { On 2015/02/19 00:32:32, felt wrote: > ...
5 years, 10 months ago (2015-02-19 02:37:30 UTC) #7
felt
https://codereview.chromium.org/935663004/diff/20001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc File chrome/browser/net/chrome_fraudulent_certificate_reporter.cc (right): https://codereview.chromium.org/935663004/diff/20001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc#newcode108 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc:108: const net::SSLInfo& ssl_info) { On 2015/02/19 02:32:08, emily wrote: ...
5 years, 10 months ago (2015-02-20 19:20:34 UTC) #8
estark
https://codereview.chromium.org/935663004/diff/40001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/40001/chrome/browser/ssl/ssl_blocking_page.cc#newcode613 chrome/browser/ssl/ssl_blocking_page.cc:613: base::DictionaryValue* load_time_data) { On 2015/02/20 19:20:34, felt wrote: > ...
5 years, 10 months ago (2015-02-21 06:53:04 UTC) #9
estark
https://codereview.chromium.org/935663004/diff/40001/chrome/browser/interstitials/security_interstitial_page.h File chrome/browser/interstitials/security_interstitial_page.h (right): https://codereview.chromium.org/935663004/diff/40001/chrome/browser/interstitials/security_interstitial_page.h#newcode66 chrome/browser/interstitials/security_interstitial_page.h:66: class SecurityInterstitialPageWithExtendedReporting On 2015/02/20 19:20:34, felt wrote: > On ...
5 years, 10 months ago (2015-02-23 20:42:18 UTC) #10
estark
5 years, 10 months ago (2015-02-23 20:52:54 UTC) #11
felt
https://codereview.chromium.org/935663004/diff/40001/chrome/browser/resources/security_warnings/safe_browsing.js File chrome/browser/resources/security_warnings/safe_browsing.js (right): https://codereview.chromium.org/935663004/diff/40001/chrome/browser/resources/security_warnings/safe_browsing.js#newcode15 chrome/browser/resources/security_warnings/safe_browsing.js:15: // Must match SSLBlockingPageCommands in ssl_blocking_page.h. On 2015/02/19 02:32:08, ...
5 years, 10 months ago (2015-02-24 01:57:53 UTC) #12
estark
https://codereview.chromium.org/935663004/diff/40001/chrome/browser/resources/security_warnings/safe_browsing.js File chrome/browser/resources/security_warnings/safe_browsing.js (right): https://codereview.chromium.org/935663004/diff/40001/chrome/browser/resources/security_warnings/safe_browsing.js#newcode15 chrome/browser/resources/security_warnings/safe_browsing.js:15: // Must match SSLBlockingPageCommands in ssl_blocking_page.h. On 2015/02/24 01:57:52, ...
5 years, 9 months ago (2015-02-24 18:47:09 UTC) #13
estark
rsleevi, could you please take a look? Thanks! This is the first part of the ...
5 years, 9 months ago (2015-02-24 18:48:36 UTC) #15
felt
On 2015/02/24 18:48:36, emily wrote: > rsleevi, could you please take a look? Thanks! This ...
5 years, 9 months ago (2015-02-24 18:55:40 UTC) #16
estark
On 2015/02/24 18:55:40, felt wrote: > On 2015/02/24 18:48:36, emily wrote: > > rsleevi, could ...
5 years, 9 months ago (2015-02-24 19:58:12 UTC) #17
estark
5 years, 9 months ago (2015-02-24 19:58:25 UTC) #18
Ryan Sleevi
Subtle threading danger below https://codereview.chromium.org/935663004/diff/210001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/210001/chrome/browser/ssl/ssl_blocking_page.cc#newcode558 chrome/browser/ssl/ssl_blocking_page.cc:558: net::URLRequestContext* request_context = web_contents() THREADING ...
5 years, 9 months ago (2015-02-25 23:07:49 UTC) #19
estark
Thanks Ryan. I thiiiink I fixed the threading bug (?), and added some comments. https://codereview.chromium.org/935663004/diff/210001/chrome/browser/ssl/ssl_blocking_page.cc ...
5 years, 9 months ago (2015-02-26 07:01:27 UTC) #20
Ryan Sleevi
Almost got it :) https://codereview.chromium.org/935663004/diff/230001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/230001/chrome/browser/ssl/ssl_blocking_page.cc#newcode550 chrome/browser/ssl/ssl_blocking_page.cc:550: void SSLBlockingPage::FinishCertCollectionInternal( There's no need ...
5 years, 9 months ago (2015-02-27 00:46:34 UTC) #21
estark
Addressed rsleevi's most recent round of comments. Also found that there was a similar threading ...
5 years, 9 months ago (2015-02-27 02:49:37 UTC) #22
estark
5 years, 9 months ago (2015-02-27 03:26:27 UTC) #23
Ryan Sleevi
https://codereview.chromium.org/935663004/diff/270001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/270001/chrome/browser/ssl/ssl_blocking_page.cc#newcode228 chrome/browser/ssl/ssl_blocking_page.cc:228: if (reporter != NULL) { if (reporter) { } ...
5 years, 9 months ago (2015-02-27 03:49:59 UTC) #24
estark
https://codereview.chromium.org/935663004/diff/270001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/270001/chrome/browser/ssl/ssl_blocking_page.cc#newcode228 chrome/browser/ssl/ssl_blocking_page.cc:228: if (reporter != NULL) { On 2015/02/27 03:49:59, Ryan ...
5 years, 9 months ago (2015-02-27 04:47:50 UTC) #25
felt
https://codereview.chromium.org/935663004/diff/290002/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/290002/chrome/browser/ssl/ssl_blocking_page.cc#newcode224 chrome/browser/ssl/ssl_blocking_page.cc:224: const net::SSLInfo& ssl_info) { Would it make more sense ...
5 years, 9 months ago (2015-02-28 16:44:47 UTC) #26
estark
Thanks Adrienne! https://codereview.chromium.org/935663004/diff/290002/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/290002/chrome/browser/ssl/ssl_blocking_page.cc#newcode224 chrome/browser/ssl/ssl_blocking_page.cc:224: const net::SSLInfo& ssl_info) { On 2015/02/28 16:44:47, ...
5 years, 9 months ago (2015-02-28 20:59:00 UTC) #27
estark
https://codereview.chromium.org/935663004/diff/320001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/320001/chrome/browser/ssl/ssl_blocking_page.cc#newcode643 chrome/browser/ssl/ssl_blocking_page.cc:643: UMA_HISTOGRAM_BOOLEAN("SB2.ExtendedReportingIsEnabled", enabled); I'm not quite sure what this is ...
5 years, 9 months ago (2015-02-28 21:03:12 UTC) #28
estark
5 years, 9 months ago (2015-02-28 21:22:24 UTC) #29
felt
https://codereview.chromium.org/935663004/diff/290002/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/290002/chrome/browser/ssl/ssl_blocking_page.cc#newcode224 chrome/browser/ssl/ssl_blocking_page.cc:224: const net::SSLInfo& ssl_info) { On 2015/02/28 16:44:47, felt wrote: ...
5 years, 9 months ago (2015-03-02 16:06:59 UTC) #30
estark
https://codereview.chromium.org/935663004/diff/320001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/320001/chrome/browser/ssl/ssl_blocking_page.cc#newcode643 chrome/browser/ssl/ssl_blocking_page.cc:643: UMA_HISTOGRAM_BOOLEAN("SB2.ExtendedReportingIsEnabled", enabled); On 2015/03/02 16:06:58, felt wrote: > On ...
5 years, 9 months ago (2015-03-02 16:26:11 UTC) #31
estark
Can this patch be landed with its current functionality, or do we need to wait ...
5 years, 9 months ago (2015-03-03 02:44:51 UTC) #32
felt
Yes, this can be landed as-is once the reviews are done. I'll do a full ...
5 years, 9 months ago (2015-03-03 02:49:00 UTC) #33
felt
c/b/interstitials/ and c/b/ssl/* lgtm the .js and .html changes also look OK to me functionally, ...
5 years, 9 months ago (2015-03-03 02:53:31 UTC) #34
estark
Thanks Adrienne! mpearson@chromium.org: Could you please review histograms.xml? noelutz@google.com: Could you please review chrome/browser/safe_browsing? bauerb@chromium.org: ...
5 years, 9 months ago (2015-03-03 02:57:22 UTC) #36
felt
On 2015/03/03 02:57:22, emily wrote: > Thanks Adrienne! > > mailto:mpearson@chromium.org: Could you please review ...
5 years, 9 months ago (2015-03-03 02:58:57 UTC) #37
estark
mattm@: could you please review changes in chrome/browser/safe_browsing?
5 years, 9 months ago (2015-03-03 03:00:21 UTC) #39
Mark P
histograms.xml
5 years, 9 months ago (2015-03-03 03:22:07 UTC) #40
felt
On 2015/03/03 03:22:07, Mark P wrote: > histograms.xml Mark did you mean to add a ...
5 years, 9 months ago (2015-03-03 03:56:12 UTC) #41
Bernhard Bauer
https://codereview.chromium.org/935663004/diff/360001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc File chrome/browser/net/chrome_fraudulent_certificate_reporter.cc (right): https://codereview.chromium.org/935663004/diff/360001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc#newcode30 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc:30: static const char kInvalidCertificateChainUploadEndpoint[] = ""; Can you add ...
5 years, 9 months ago (2015-03-03 09:45:59 UTC) #42
estark
Thanks bauerb! https://codereview.chromium.org/935663004/diff/360001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc File chrome/browser/net/chrome_fraudulent_certificate_reporter.cc (right): https://codereview.chromium.org/935663004/diff/360001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc#newcode30 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc:30: static const char kInvalidCertificateChainUploadEndpoint[] = ""; On ...
5 years, 9 months ago (2015-03-03 15:36:24 UTC) #44
estark
By the way, is there something like 'git cl format' that will do formatting/indentation for ...
5 years, 9 months ago (2015-03-03 15:37:54 UTC) #45
Bernhard Bauer
On 2015/03/03 15:37:54, emily wrote: > By the way, is there something like 'git cl ...
5 years, 9 months ago (2015-03-03 16:17:45 UTC) #46
Mark P
histograms.xml lgtm On 2015/03/03 03:56:12, felt wrote: > On 2015/03/03 03:22:07, Mark P wrote: > ...
5 years, 9 months ago (2015-03-03 16:45:50 UTC) #47
estark
On 2015/03/03 16:17:45, Bernhard Bauer wrote: > On 2015/03/03 15:37:54, emily wrote: > > By ...
5 years, 9 months ago (2015-03-03 18:06:06 UTC) #48
estark
https://codereview.chromium.org/935663004/diff/360001/chrome/browser/ssl/ssl_browser_tests.cc File chrome/browser/ssl/ssl_browser_tests.cc (right): https://codereview.chromium.org/935663004/diff/360001/chrome/browser/ssl/ssl_browser_tests.cc#newcode411 chrome/browser/ssl/ssl_browser_tests.cc:411: base::RunLoop().RunUntilIdle(); On 2015/03/03 16:17:45, Bernhard Bauer wrote: > On ...
5 years, 9 months ago (2015-03-03 18:06:20 UTC) #49
Ryan Sleevi
This is where coffee + a good nights sleep means I'm an awfully cruel reviewer ...
5 years, 9 months ago (2015-03-03 19:16:39 UTC) #50
Bernhard Bauer
Very nice! Just some opportunities for simplification: https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.h File chrome/browser/interstitials/security_interstitial_page.h (right): https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.h#newcode83 chrome/browser/interstitials/security_interstitial_page.h:83: base::Callback<void()> certificate_report_callback_for_testing_; ...
5 years, 9 months ago (2015-03-03 21:38:06 UTC) #51
mattm
https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc File chrome/browser/interstitials/security_interstitial_page.cc (right): https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc#newcode100 chrome/browser/interstitials/security_interstitial_page.cc:100: pref->SetBoolean(prefs::kSafeBrowsingExtendedReportingEnabled, report); Should kSafeBrowsingExtendedReportingEnabled be renamed? I guess it ...
5 years, 9 months ago (2015-03-04 02:58:42 UTC) #52
felt
https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc File chrome/browser/interstitials/security_interstitial_page.cc (right): https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc#newcode100 chrome/browser/interstitials/security_interstitial_page.cc:100: pref->SetBoolean(prefs::kSafeBrowsingExtendedReportingEnabled, report); On 2015/03/04 02:58:41, mattm wrote: > Should ...
5 years, 9 months ago (2015-03-04 03:05:08 UTC) #53
estark
Sorry for the delay, everyone. I've been working on the refactoring suggested by rsleevi earlier ...
5 years, 9 months ago (2015-03-12 22:22:21 UTC) #58
estark
On 2015/03/04 03:05:08, felt wrote: > https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc > File chrome/browser/interstitials/security_interstitial_page.cc (right): > > https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc#newcode100 > ...
5 years, 9 months ago (2015-03-12 22:25:09 UTC) #59
Bernhard Bauer
https://codereview.chromium.org/935663004/diff/420001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/420001/chrome/browser/ssl/ssl_blocking_page.cc#newcode640 chrome/browser/ssl/ssl_blocking_page.cc:640: certificate_report_callback_for_testing_.Run(); On 2015/03/12 22:22:21, emily wrote: > On 2015/03/03 ...
5 years, 9 months ago (2015-03-13 13:48:48 UTC) #60
estark
Thanks bauerb. https://codereview.chromium.org/935663004/diff/420001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/420001/chrome/browser/ssl/ssl_blocking_page.cc#newcode640 chrome/browser/ssl/ssl_blocking_page.cc:640: certificate_report_callback_for_testing_.Run(); On 2015/03/13 13:48:47, Bernhard Bauer wrote: ...
5 years, 9 months ago (2015-03-13 16:21:17 UTC) #62
Bernhard Bauer
LGTM with a suggestion: https://codereview.chromium.org/935663004/diff/420001/chrome/browser/ssl/ssl_blocking_page.cc File chrome/browser/ssl/ssl_blocking_page.cc (right): https://codereview.chromium.org/935663004/diff/420001/chrome/browser/ssl/ssl_blocking_page.cc#newcode640 chrome/browser/ssl/ssl_blocking_page.cc:640: certificate_report_callback_for_testing_.Run(); On 2015/03/13 16:21:17, emily ...
5 years, 9 months ago (2015-03-13 16:32:41 UTC) #63
estark
On 2015/03/13 16:32:41, Bernhard Bauer wrote: > LGTM with a suggestion: > > https://codereview.chromium.org/935663004/diff/420001/chrome/browser/ssl/ssl_blocking_page.cc > ...
5 years, 9 months ago (2015-03-13 17:00:14 UTC) #64
felt
https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc File chrome/browser/interstitials/security_interstitial_page.cc (right): https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc#newcode101 chrome/browser/interstitials/security_interstitial_page.cc:101: UMA_HISTOGRAM_BOOLEAN("SB2.SetExtendedReportingEnabled", report); On 2015/03/04 02:58:41, mattm wrote: > Similar ...
5 years, 9 months ago (2015-03-13 18:52:38 UTC) #65
felt
I'm a little uneasy about adding a new member variable to chrome/browser/chrome_content_browser_client.h. Is there an ...
5 years, 9 months ago (2015-03-13 19:18:11 UTC) #66
Ryan Sleevi
On 2015/03/12 22:22:21, emily wrote: > * This also means that a CertificateErrorReport has to ...
5 years, 9 months ago (2015-03-14 02:47:16 UTC) #67
Ryan Sleevi
OK, the approach still feels non-idiomatic here / is different than the surrounding code. I've ...
5 years, 9 months ago (2015-03-14 03:09:42 UTC) #68
estark
On 2015/03/13 18:52:38, felt wrote: > https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc > File chrome/browser/interstitials/security_interstitial_page.cc (right): > > https://codereview.chromium.org/935663004/diff/420001/chrome/browser/interstitials/security_interstitial_page.cc#newcode101 > ...
5 years, 9 months ago (2015-03-16 23:20:17 UTC) #69
estark
On 2015/03/14 03:09:42, Ryan Sleevi wrote: > OK, the approach still feels non-idiomatic here / ...
5 years, 9 months ago (2015-03-16 23:39:33 UTC) #70
estark
https://codereview.chromium.org/935663004/diff/660001/chrome/browser/interstitials/security_interstitial_page.cc File chrome/browser/interstitials/security_interstitial_page.cc (right): https://codereview.chromium.org/935663004/diff/660001/chrome/browser/interstitials/security_interstitial_page.cc#newcode26 chrome/browser/interstitials/security_interstitial_page.cc:26: const char kPrivacyLinkHtml[] = On 2015/03/13 19:18:11, felt wrote: ...
5 years, 9 months ago (2015-03-16 23:40:53 UTC) #71
mattm
https://codereview.chromium.org/935663004/diff/420001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc File chrome/browser/net/chrome_fraudulent_certificate_reporter.cc (right): https://codereview.chromium.org/935663004/diff/420001/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc#newcode86 chrome/browser/net/chrome_fraudulent_certificate_reporter.cc:86: LOG(ERROR) << "SSL report for " << hostname << ...
5 years, 9 months ago (2015-03-17 20:58:13 UTC) #72
estark
https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc#newcode1077 chrome/browser/profiles/profile_io_data.cc:1077: main_request_context_.get(), On 2015/03/17 20:58:12, mattm wrote: > If these ...
5 years, 9 months ago (2015-03-17 21:26:15 UTC) #73
mattm
https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc#newcode1077 chrome/browser/profiles/profile_io_data.cc:1077: main_request_context_.get(), On 2015/03/17 21:26:15, emily wrote: > On 2015/03/17 ...
5 years, 9 months ago (2015-03-17 23:57:51 UTC) #74
estark
I've changed the CertificateErrorReporter to be owned by SafeBrowsingPingManager and exposed to the SSLBlockingPage via ...
5 years, 9 months ago (2015-03-18 15:57:19 UTC) #75
estark
Friendly ping, mattm! How do you feel about `SetBlahForTesting` methods on the SafeBrowsingPingManager? On 2015/03/18 ...
5 years, 9 months ago (2015-03-20 00:17:41 UTC) #76
felt
mattm, any chance you could take a look at this before heading out today?
5 years, 9 months ago (2015-03-20 23:35:32 UTC) #77
mattm
On 2015/03/20 00:17:41, emily wrote: > Friendly ping, mattm! How do you feel about `SetBlahForTesting` ...
5 years, 9 months ago (2015-03-23 05:31:18 UTC) #78
felt
https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc#newcode1077 chrome/browser/profiles/profile_io_data.cc:1077: main_request_context_.get(), On 2015/03/23 05:31:17, mattm wrote: > On 2015/03/18 ...
5 years, 9 months ago (2015-03-23 14:04:32 UTC) #79
estark
https://codereview.chromium.org/935663004/diff/880001/chrome/browser/interstitials/security_interstitial_page.h File chrome/browser/interstitials/security_interstitial_page.h (right): https://codereview.chromium.org/935663004/diff/880001/chrome/browser/interstitials/security_interstitial_page.h#newcode67 chrome/browser/interstitials/security_interstitial_page.h:67: void SetCertificateReportCallbackForTesting(const base::Closure& callback); On 2015/03/23 05:31:17, mattm wrote: ...
5 years, 9 months ago (2015-03-23 16:42:13 UTC) #80
mattm
On 2015/03/23 14:04:32, felt wrote: > https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc > File chrome/browser/profiles/profile_io_data.cc (right): > > https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc#newcode1077 > ...
5 years, 9 months ago (2015-03-23 19:17:26 UTC) #81
mattm
https://codereview.chromium.org/935663004/diff/940001/chrome/browser/safe_browsing/ping_manager.cc File chrome/browser/safe_browsing/ping_manager.cc (right): https://codereview.chromium.org/935663004/diff/940001/chrome/browser/safe_browsing/ping_manager.cc#newcode115 chrome/browser/safe_browsing/ping_manager.cc:115: certificate_error_reporter_.reset(certificate_error_reporter.release()); .Pass()
5 years, 9 months ago (2015-03-23 19:22:06 UTC) #82
estark
https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/935663004/diff/760001/chrome/browser/profiles/profile_io_data.cc#newcode1077 chrome/browser/profiles/profile_io_data.cc:1077: main_request_context_.get(), On 2015/03/17 23:57:51, mattm wrote: > Oh, I ...
5 years, 9 months ago (2015-03-23 20:55:28 UTC) #83
mattm
https://codereview.chromium.org/935663004/diff/940001/chrome/browser/safe_browsing/ping_manager.cc File chrome/browser/safe_browsing/ping_manager.cc (right): https://codereview.chromium.org/935663004/diff/940001/chrome/browser/safe_browsing/ping_manager.cc#newcode115 chrome/browser/safe_browsing/ping_manager.cc:115: certificate_error_reporter_.reset(certificate_error_reporter.release()); On 2015/03/23 20:55:28, emily wrote: > On 2015/03/23 ...
5 years, 9 months ago (2015-03-24 21:56:39 UTC) #84
estark
https://codereview.chromium.org/935663004/diff/960001/chrome/browser/net/certificate_error_reporter.cc File chrome/browser/net/certificate_error_reporter.cc (right): https://codereview.chromium.org/935663004/diff/960001/chrome/browser/net/certificate_error_reporter.cc#newcode25 chrome/browser/net/certificate_error_reporter.cc:25: const char kExtendedReportingUploadUrl[] = "http://example.test"; On 2015/03/24 21:56:39, mattm ...
5 years, 9 months ago (2015-03-24 23:06:06 UTC) #85
mattm
lgtm with nit https://codereview.chromium.org/935663004/diff/1020001/chrome/browser/net/certificate_error_reporter.h File chrome/browser/net/certificate_error_reporter.h (right): https://codereview.chromium.org/935663004/diff/1020001/chrome/browser/net/certificate_error_reporter.h#newcode25 chrome/browser/net/certificate_error_reporter.h:25: extern const char kExtendedReportingUploadUrl[]; can be ...
5 years, 9 months ago (2015-03-25 00:19:14 UTC) #86
estark
Thanks mattm. rsleevi@, felt@, do either of you want to take another look before I ...
5 years, 9 months ago (2015-03-25 00:41:23 UTC) #87
felt
https://codereview.chromium.org/935663004/diff/1040001/chrome/browser/interstitials/security_interstitial_metrics_helper.h File chrome/browser/interstitials/security_interstitial_metrics_helper.h (right): https://codereview.chromium.org/935663004/diff/1040001/chrome/browser/interstitials/security_interstitial_metrics_helper.h#newcode46 chrome/browser/interstitials/security_interstitial_metrics_helper.h:46: SET_EXTENDED_REPORTING_ENABLED_SAFE_BROWSING, You don't need to distinguish between SSL and ...
5 years, 9 months ago (2015-03-25 01:07:17 UTC) #88
estark
https://codereview.chromium.org/935663004/diff/1040001/chrome/browser/interstitials/security_interstitial_metrics_helper.h File chrome/browser/interstitials/security_interstitial_metrics_helper.h (right): https://codereview.chromium.org/935663004/diff/1040001/chrome/browser/interstitials/security_interstitial_metrics_helper.h#newcode46 chrome/browser/interstitials/security_interstitial_metrics_helper.h:46: SET_EXTENDED_REPORTING_ENABLED_SAFE_BROWSING, On 2015/03/25 01:07:17, felt wrote: > You don't ...
5 years, 9 months ago (2015-03-25 04:08:02 UTC) #89
felt
yup, lgtm now.
5 years, 9 months ago (2015-03-25 04:21:56 UTC) #90
Ryan Sleevi
For the sake of expediency, I'll go ahead and LGTM From a design level, I ...
5 years, 9 months ago (2015-03-25 04:49:46 UTC) #91
estark
Thanks rsleevi. Filed crbug.com/470415 for the future removal of ssl -> safe_browsing dependency, and crbug.com/470412 ...
5 years, 9 months ago (2015-03-25 05:34:33 UTC) #92
estark
A couple changes I've made this morning: * Move protected |metrics_helper_| data member on SecurityInterstitialPage ...
5 years, 9 months ago (2015-03-25 17:15:32 UTC) #93
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/935663004/1180001
5 years, 9 months ago (2015-03-25 19:14:01 UTC) #96
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/47321)
5 years, 9 months ago (2015-03-25 20:39:25 UTC) #98
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/935663004/1180001
5 years, 9 months ago (2015-03-25 21:55:25 UTC) #100
commit-bot: I haz the power
Committed patchset #55 (id:1180001)
5 years, 9 months ago (2015-03-25 23:54:13 UTC) #101
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 23:55:23 UTC) #102
Message was sent while issue was closed.
Patchset 55 (id:??) landed as
https://crrev.com/93272ab9ec84b4dd90a93fb2aab8ddd94f250d63
Cr-Commit-Position: refs/heads/master@{#322265}

Powered by Google App Engine
This is Rietveld 408576698