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

Side by Side Diff: chrome/browser/safe_browsing/certificate_reporting_metrics_provider.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 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_CERTIFICATE_REPORTING_METRICS_PROVIDER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_CERTIFICATE_REPORTING_METRICS_PROVIDER_H_
7
8 #include "base/macros.h"
9 #include "components/metrics/metrics_provider.h"
10
11 // When user metrics are about to be uploaded,
12 // CertificateReportingMetricsProvider looks up the CertificateReportingService
13 // for the current profile and tells it to record its metrics before the upload
14 // occurs.
15 class CertificateReportingMetricsProvider : public metrics::MetricsProvider {
16 public:
17 CertificateReportingMetricsProvider();
18 ~CertificateReportingMetricsProvider() override;
19
20 // metrics:MetricsProvider:
21 void ProvideGeneralMetrics(
22 metrics::ChromeUserMetricsExtension* unused) override;
23 };
24
25 #endif // CHROME_BROWSER_SAFE_BROWSING_CERTIFICATE_REPORTING_METRICS_PROVIDER_H _
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/safe_browsing/certificate_reporting_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698