| Index: chrome/browser/safe_browsing/certificate_reporting_service_factory.cc
|
| diff --git a/chrome/browser/safe_browsing/certificate_reporting_service_factory.cc b/chrome/browser/safe_browsing/certificate_reporting_service_factory.cc
|
| index 606e05e7ee7c7c6d07a2f742bec04d901bff95ad..272c260e374e23363bc6f2f68dbebbc90432655e 100644
|
| --- a/chrome/browser/safe_browsing/certificate_reporting_service_factory.cc
|
| +++ b/chrome/browser/safe_browsing/certificate_reporting_service_factory.cc
|
| @@ -60,6 +60,11 @@ void CertificateReportingServiceFactory::SetMaxQueuedReportCountForTesting(
|
| max_queued_report_count_ = max_queued_report_count;
|
| }
|
|
|
| +void CertificateReportingServiceFactory::SetServiceResetCallback(
|
| + const base::Callback<void()>& service_reset_callback) {
|
| + service_reset_callback_ = service_reset_callback;
|
| +}
|
| +
|
| CertificateReportingServiceFactory::CertificateReportingServiceFactory()
|
| : BrowserContextKeyedServiceFactory(
|
| "cert_reporting::Factory",
|
| @@ -80,7 +85,7 @@ KeyedService* CertificateReportingServiceFactory::BuildServiceInstanceFor(
|
| safe_browsing_service, safe_browsing_service->url_request_context(),
|
| static_cast<Profile*>(profile), server_public_key_,
|
| server_public_key_version_, max_queued_report_count_, queued_report_ttl_,
|
| - clock_.get());
|
| + clock_.get(), service_reset_callback_);
|
| }
|
|
|
| content::BrowserContext*
|
|
|