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

Side by Side Diff: chrome/browser/ssl/certificate_reporting_metrics_provider.h

Issue 2507253004: Add factory class for CertificateReportingService and a new metrics provider. (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/ssl/certificate_reporting_metrics_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SSL_CERTIFICATE_REPORTING_METRICS_PROVIDER_H_
6 #define CHROME_BROWSER_SSL_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
estark 2016/11/21 18:20:44 nit: wrapping looks weird
meacer 2016/11/24 00:36:57 Done.
13 // looks up the CertificateReportingService for the current profile and tells
14 // it to record its metrics before the upload 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_SSL_CERTIFICATE_REPORTING_METRICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/ssl/certificate_reporting_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698