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

Unified Diff: chrome/browser/safe_browsing/certificate_reporting_service.h

Issue 2507253004: Add factory class for CertificateReportingService and a new metrics provider. (Closed)
Patch Set: Move classes to safe_browsing, estark comment Created 4 years, 1 month 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/certificate_reporting_service.h
diff --git a/chrome/browser/safe_browsing/certificate_reporting_service.h b/chrome/browser/safe_browsing/certificate_reporting_service.h
index 33ab27553ae5cda85802e2b17ae653fec44c76ee..4c1e4cd21ab5eea499461a58ff401a556f061252 100644
--- a/chrome/browser/safe_browsing/certificate_reporting_service.h
+++ b/chrome/browser/safe_browsing/certificate_reporting_service.h
@@ -15,6 +15,7 @@
#include "base/threading/thread_checker.h"
#include "base/time/time.h"
#include "components/certificate_reporting/error_reporter.h"
+#include "components/keyed_service/core/keyed_service.h"
namespace base {
class Clock;
@@ -22,7 +23,7 @@ class Clock;
// This service initiates uploads of invalid certificate reports and retries any
// failed uploads.
-class CertificateReportingService {
+class CertificateReportingService : public KeyedService {
public:
// Represent a report to be sent.
struct Report {

Powered by Google App Engine
This is Rietveld 408576698