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

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

Issue 2687393004: Gather stability prefs into managing objects. (Closed)
Patch Set: Incorporate Feedback Created 3 years, 10 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_pref_names.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_pref_names.h" 5 #include "components/metrics/metrics_pref_names.h"
6 6
7 namespace metrics { 7 namespace metrics {
8 namespace prefs { 8 namespace prefs {
9 9
10 // Set once, to the current epoch time, on the first run of chrome on this 10 // Set once, to the current epoch time, on the first run of chrome on this
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 // Number of times an extension renderer process successfully launched since the 122 // Number of times an extension renderer process successfully launched since the
123 // last report. 123 // last report.
124 const char kStabilityExtensionRendererLaunchCount[] = 124 const char kStabilityExtensionRendererLaunchCount[] =
125 "user_experience_metrics.stability.extension_renderer_launch_count"; 125 "user_experience_metrics.stability.extension_renderer_launch_count";
126 126
127 // Number of times the session end did not complete. 127 // Number of times the session end did not complete.
128 const char kStabilityIncompleteSessionEndCount[] = 128 const char kStabilityIncompleteSessionEndCount[] =
129 "user_experience_metrics.stability.incomplete_session_end_count"; 129 "user_experience_metrics.stability.incomplete_session_end_count";
130 130
131 // Time when the app was last known to be running, in seconds since
132 // the epoch.
133 const char kStabilityLastTimestampSec[] =
134 "user_experience_metrics.stability.last_timestamp_sec";
135
136 // Number of times the application was launched since last report. 131 // Number of times the application was launched since last report.
137 const char kStabilityLaunchCount[] = 132 const char kStabilityLaunchCount[] =
138 "user_experience_metrics.stability.launch_count"; 133 "user_experience_metrics.stability.launch_count";
139 134
140 // Time when the app was last launched, in seconds since the epoch.
141 const char kStabilityLaunchTimeSec[] =
142 "user_experience_metrics.stability.launch_time_sec";
143
144 // Number of times a page load event occurred since the last report. 135 // Number of times a page load event occurred since the last report.
145 const char kStabilityPageLoadCount[] = 136 const char kStabilityPageLoadCount[] =
146 "user_experience_metrics.stability.page_load_count"; 137 "user_experience_metrics.stability.page_load_count";
147 138
148 // Number of times a renderer process crashed since the last report. 139 // Number of times a renderer process crashed since the last report.
149 const char kStabilityRendererCrashCount[] = 140 const char kStabilityRendererCrashCount[] =
150 "user_experience_metrics.stability.renderer_crash_count"; 141 "user_experience_metrics.stability.renderer_crash_count";
151 142
152 // Number of times a renderer process failed to launch since the last report. 143 // Number of times a renderer process failed to launch since the last report.
153 const char kStabilityRendererFailedLaunchCount[] = 144 const char kStabilityRendererFailedLaunchCount[] =
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // Dictionary for measuring cellular data used by UMA service during last 7 193 // Dictionary for measuring cellular data used by UMA service during last 7
203 // days. 194 // days.
204 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause"; 195 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause";
205 196
206 // Dictionary for measuring cellular data used by user including chrome services 197 // Dictionary for measuring cellular data used by user including chrome services
207 // per day. 198 // per day.
208 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause"; 199 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause";
209 200
210 } // namespace prefs 201 } // namespace prefs
211 } // namespace metrics 202 } // namespace metrics
OLDNEW
« no previous file with comments | « components/metrics/metrics_pref_names.h ('k') | components/metrics/metrics_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698