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

Unified Diff: chrome/browser/safe_browsing/ping_manager.cc

Issue 1117173004: Split cert reporter class into report building/serializing and sending (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move //c/b/ssl classes into global namespace Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/ping_manager.cc
diff --git a/chrome/browser/safe_browsing/ping_manager.cc b/chrome/browser/safe_browsing/ping_manager.cc
index 07fc0ab95bd08b755a39bea7d1fe231a4427a3c2..92228ca821942814cf561f7dcccb34a33a06de08 100644
--- a/chrome/browser/safe_browsing/ping_manager.cc
+++ b/chrome/browser/safe_browsing/ping_manager.cc
@@ -134,12 +134,11 @@ void SafeBrowsingPingManager::ReportMalwareDetails(
}
void SafeBrowsingPingManager::ReportInvalidCertificateChain(
- const std::string& hostname,
- const net::SSLInfo& ssl_info) {
+ const std::string& serialized_report) {
DCHECK(certificate_error_reporter_);
certificate_error_reporter_->SendReport(
- CertificateErrorReporter::REPORT_TYPE_EXTENDED_REPORTING, hostname,
- ssl_info);
+ CertificateErrorReporter::REPORT_TYPE_EXTENDED_REPORTING,
+ serialized_report);
}
void SafeBrowsingPingManager::SetCertificateErrorReporterForTesting(

Powered by Google App Engine
This is Rietveld 408576698