Chromium Code Reviews
DescriptionRemove certificate reporting code from SafeBrowsing ping and ui managers
This CL removes remaining certificate reporting code from SafeBrowsingPingManager
and SafeBrowsingUIManager.
It also removes MockErrorReporter class which was passed to SafeBrowsingPingManager
in tests, and uses MockSSLCertReporter directly to keep track of sent reports. This
removes some coverage of reporting code which is now inside CertificateReportingService.
However, CertificateReportingService is extensively tested in its own tests, so there
shouldn't be any downside to the removal of MockErrorReporter in terms of code coverage.
A better implementation of Captive portal and SSL UI browser tests should probably
go through the whole reporting code without using any mock reporter, but that requires
rewriting large portions of those browser tests and is best done in a separate CL.
BUG=554323
Committed: https://crrev.com/f73eb0ecdbbfe0ff6388cdc4bff5fa8672a2583c
Cr-Commit-Position: refs/heads/master@{#441009}
Patch Set 1 #Patch Set 2 : Rebase onto 2503243003 #Patch Set 3 : Diff with crrev.com/2503243003 #Patch Set 4 : Rebase #
Total comments: 4
Patch Set 5 : Rebase #Messages
Total messages: 24 (14 generated)
|