|
Split cert reporter class into report building/serializing and sending
The pre-existing |CertificateErrorReporter| class (in
//chrome/browser/net) is now only in charge of sending reports over the
network. A new class (|CertificateErrorReport| in //chrome/browser/ssl)
is in charge of building and serializing the reports.
The motivation for this change is to allow reports to include
interstitial-specific information (such as the type of interstitial that
was shown, whether the user clicked through, etc.). So as to avoid
introducing interstitial knowledge into //c/b/net, all the report
building and serializing knowledge (including the report protobuf) has
been moved into //c/b/ssl. |SSLBlockingPage| now sends a serialized report
through |ChromeContentBrowserClient| to the SafeBrowsing UIManager to be
sent over the network.
|ChromeFraudulentCertificateReporter| (responsible for reporting
Google-property pinning violations) has also been moved into //c/b/ssl
so that it can use the new |CertificateErrorReport| class to build
reports before sending them with a |CertificateErrorReporter|.
BUG= 462713, 461588
Committed: https://crrev.com/4282f117db4ddb6b307efad849ec6635095e9cd1
Cr-Commit-Position: refs/heads/master@{#329723}
Total comments: 23
Total comments: 2
Total comments: 30
Total comments: 4
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+455 lines, -717 lines) |
Patch |
 |
M |
chrome/browser/BUILD.gn
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/net/BUILD.gn
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/net/cert_logger.proto
|
View
|
1
2
3
|
1 chunk |
+0 lines, -93 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/certificate_error_reporter.h
|
View
|
1
2
3
4
|
5 chunks |
+10 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/certificate_error_reporter.cc
|
View
|
1
2
3
4
5
6
|
10 chunks |
+17 lines, -92 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/certificate_error_reporter_unittest.cc
|
View
|
1
2
3
4
5
6
|
21 chunks |
+41 lines, -98 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/net/chrome_fraudulent_certificate_reporter.h
|
View
|
|
1 chunk |
+0 lines, -46 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
|
View
|
|
1 chunk |
+0 lines, -53 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/net/chrome_fraudulent_certificate_reporter_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -195 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/net/encrypted_cert_logger.proto
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_io_data.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/ping_manager.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/ping_manager.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/ui_manager.h
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/safe_browsing/ui_manager.cc
|
View
|
|
3 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ssl/BUILD.gn
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ssl/cert_logger.proto
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+2 lines, -36 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ssl/certificate_error_report.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+51 lines, -0 lines |
3 comments
|
Download
|
 |
A |
chrome/browser/ssl/certificate_error_report.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ssl/certificate_error_report_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+97 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ssl/chrome_fraudulent_certificate_reporter.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+13 lines, -14 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ssl/chrome_fraudulent_certificate_reporter.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+17 lines, -11 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/ssl/chrome_fraudulent_certificate_reporter_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+10 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_blocking_page.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_browser_tests.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ssl/ssl_cert_reporter.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/BUILD.gn
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
|
4 chunks |
+20 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_chromeos.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 32 (6 generated)
|