| Index: chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
|
| diff --git a/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc b/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
|
| index 1c6dd486a5bccec9f0b10507beba7e8eb93d1f24..e15a3ca421637abc1be2b2ec11ab3a72769a622b 100644
|
| --- a/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
|
| +++ b/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/net/chrome_fraudulent_certificate_reporter.h"
|
|
|
| #include "base/profiler/scoped_tracker.h"
|
| +#include "chrome/browser/net/cert_logger.pb.h"
|
| #include "chrome/browser/net/certificate_error_reporter.h"
|
| #include "net/ssl/ssl_info.h"
|
| #include "net/url_request/url_request_context.h"
|
| @@ -45,9 +46,10 @@ void ChromeFraudulentCertificateReporter::SendReport(
|
| if (!net::TransportSecurityState::IsGooglePinnedProperty(hostname))
|
| return;
|
|
|
| + CertLoggerRequest report;
|
| + certificate_reporter_->BuildReport(hostname, ssl_info, &report);
|
| certificate_reporter_->SendReport(
|
| - CertificateErrorReporter::REPORT_TYPE_PINNING_VIOLATION, hostname,
|
| - ssl_info);
|
| + CertificateErrorReporter::REPORT_TYPE_PINNING_VIOLATION, report);
|
| }
|
|
|
| } // namespace chrome_browser_net
|
|
|