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

Side by Side Diff: components/metrics/metrics_provider.cc

Issue 2918533003: Send metrics with embedded system profiles after system startup. (Closed)
Patch Set: addressed final review comments Created 3 years, 6 months 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 | « components/metrics/metrics_provider.h ('k') | components/metrics/metrics_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/metrics/metrics_provider.h" 5 #include "components/metrics/metrics_provider.h"
6 6
7 namespace metrics { 7 namespace metrics {
8 8
9 MetricsProvider::MetricsProvider() { 9 MetricsProvider::MetricsProvider() {
10 } 10 }
11 11
12 MetricsProvider::~MetricsProvider() { 12 MetricsProvider::~MetricsProvider() {
13 } 13 }
14 14
15 void MetricsProvider::Init() { 15 void MetricsProvider::Init() {
16 } 16 }
17 17
18 void MetricsProvider::OnDidCreateMetricsLog() { 18 void MetricsProvider::OnDidCreateMetricsLog() {
19 } 19 }
20 20
21 void MetricsProvider::OnRecordingEnabled() { 21 void MetricsProvider::OnRecordingEnabled() {
22 } 22 }
23 23
24 void MetricsProvider::OnRecordingDisabled() { 24 void MetricsProvider::OnRecordingDisabled() {
25 } 25 }
26 26
27 void MetricsProvider::OnAppEnterBackground() { 27 void MetricsProvider::OnAppEnterBackground() {
28 } 28 }
29 29
30 bool MetricsProvider::ProvideIndependentMetrics(
31 SystemProfileProto* system_profile_proto,
32 base::HistogramSnapshotManager* snapshot_manager) {
33 return false;
34 }
35
30 void MetricsProvider::ProvideSystemProfileMetrics( 36 void MetricsProvider::ProvideSystemProfileMetrics(
31 SystemProfileProto* system_profile_proto) { 37 SystemProfileProto* system_profile_proto) {
32 } 38 }
33 39
34 bool MetricsProvider::HasInitialStabilityMetrics() { 40 bool MetricsProvider::HasInitialStabilityMetrics() {
35 return false; 41 return false;
36 } 42 }
37 43
38 void MetricsProvider::ProvideInitialStabilityMetrics( 44 void MetricsProvider::ProvideInitialStabilityMetrics(
39 SystemProfileProto* system_profile_proto) { 45 SystemProfileProto* system_profile_proto) {
(...skipping 12 matching lines...) Expand all
52 58
53 void MetricsProvider::RecordHistogramSnapshots( 59 void MetricsProvider::RecordHistogramSnapshots(
54 base::HistogramSnapshotManager* snapshot_manager) { 60 base::HistogramSnapshotManager* snapshot_manager) {
55 } 61 }
56 62
57 void MetricsProvider::RecordInitialHistogramSnapshots( 63 void MetricsProvider::RecordInitialHistogramSnapshots(
58 base::HistogramSnapshotManager* snapshot_manager) { 64 base::HistogramSnapshotManager* snapshot_manager) {
59 } 65 }
60 66
61 } // namespace metrics 67 } // namespace metrics
OLDNEW
« no previous file with comments | « components/metrics/metrics_provider.h ('k') | components/metrics/metrics_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698