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

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

Issue 2175743002: Add MetricsProvider::OnAppEnterBackground callback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 4 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.cc » ('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() {
28 }
29
27 void MetricsProvider::ProvideSystemProfileMetrics( 30 void MetricsProvider::ProvideSystemProfileMetrics(
28 SystemProfileProto* system_profile_proto) { 31 SystemProfileProto* system_profile_proto) {
29 } 32 }
30 33
31 bool MetricsProvider::HasInitialStabilityMetrics() { 34 bool MetricsProvider::HasInitialStabilityMetrics() {
32 return false; 35 return false;
33 } 36 }
34 37
35 void MetricsProvider::ProvideInitialStabilityMetrics( 38 void MetricsProvider::ProvideInitialStabilityMetrics(
36 SystemProfileProto* system_profile_proto) { 39 SystemProfileProto* system_profile_proto) {
(...skipping 15 matching lines...) Expand all
52 55
53 void MetricsProvider::RecordHistogramSnapshots( 56 void MetricsProvider::RecordHistogramSnapshots(
54 base::HistogramSnapshotManager* snapshot_manager) { 57 base::HistogramSnapshotManager* snapshot_manager) {
55 } 58 }
56 59
57 void MetricsProvider::RecordInitialHistogramSnapshots( 60 void MetricsProvider::RecordInitialHistogramSnapshots(
58 base::HistogramSnapshotManager* snapshot_manager) { 61 base::HistogramSnapshotManager* snapshot_manager) {
59 } 62 }
60 63
61 } // namespace metrics 64 } // namespace metrics
OLDNEW
« no previous file with comments | « components/metrics/metrics_provider.h ('k') | components/metrics/metrics_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698