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

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

Issue 1161133004: Delete code corresponding to old UMA prefs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moar comments. Created 5 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_pref_names.h ('k') | components/metrics/metrics_state_manager.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_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 14 matching lines...) Expand all
25 // The metrics entropy source. 25 // The metrics entropy source.
26 // Note: The name low_entropy_source2 is a result of creating 26 // Note: The name low_entropy_source2 is a result of creating
27 // new prefs to do a one-time reset of the previous values. 27 // new prefs to do a one-time reset of the previous values.
28 const char kMetricsLowEntropySource[] = 28 const char kMetricsLowEntropySource[] =
29 "user_experience_metrics.low_entropy_source2"; 29 "user_experience_metrics.low_entropy_source2";
30 30
31 // A machine ID used to detect when underlying hardware changes. It is only 31 // A machine ID used to detect when underlying hardware changes. It is only
32 // stored locally and never transmitted in metrics reports. 32 // stored locally and never transmitted in metrics reports.
33 const char kMetricsMachineId[] = "user_experience_metrics.machine_id"; 33 const char kMetricsMachineId[] = "user_experience_metrics.machine_id";
34 34
35 // Old client id and low entropy source values, cleared the first time this
36 // version is launched.
37 // TODO(asvitkine): Delete these after a few releases have gone by and old
38 // values have been cleaned up. http://crbug.com/357704
39 const char kMetricsOldClientID[] = "user_experience_metrics.client_id";
40 const char kMetricsOldLowEntropySource[] =
41 "user_experience_metrics.low_entropy_source";
42
43 // Array of strings that are each UMA logs that were not sent because the 35 // Array of strings that are each UMA logs that were not sent because the
44 // browser terminated before these accumulated metrics could be sent. These 36 // browser terminated before these accumulated metrics could be sent. These
45 // logs typically include histograms and memory reports, as well as ongoing 37 // logs typically include histograms and memory reports, as well as ongoing
46 // user activities. 38 // user activities.
47 const char kMetricsOngoingLogs[] = 39 const char kMetricsOngoingLogs[] =
48 "user_experience_metrics.ongoing_logs_list"; 40 "user_experience_metrics.ongoing_logs_list";
49 41
50 // Boolean that indicates a cloned install has been detected and the metrics 42 // Boolean that indicates a cloned install has been detected and the metrics
51 // client id and low entropy source should be reset. 43 // client id and low entropy source should be reset.
52 const char kMetricsResetIds[] = "user_experience_metrics.reset_metrics_ids"; 44 const char kMetricsResetIds[] = "user_experience_metrics.reset_metrics_ids";
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 "user_experience_metrics.stability.stats_version"; 120 "user_experience_metrics.stability.stats_version";
129 121
130 // The keys below are strictly increasing counters over the lifetime of 122 // The keys below are strictly increasing counters over the lifetime of
131 // a chrome installation. They are (optionally) sent up to the uninstall 123 // a chrome installation. They are (optionally) sent up to the uninstall
132 // survey in the event of uninstallation. 124 // survey in the event of uninstallation.
133 const char kUninstallLaunchCount[] = "uninstall_metrics.launch_count"; 125 const char kUninstallLaunchCount[] = "uninstall_metrics.launch_count";
134 const char kUninstallMetricsUptimeSec[] = "uninstall_metrics.uptime_sec"; 126 const char kUninstallMetricsUptimeSec[] = "uninstall_metrics.uptime_sec";
135 127
136 } // namespace prefs 128 } // namespace prefs
137 } // namespace metrics 129 } // namespace metrics
OLDNEW
« no previous file with comments | « components/metrics/metrics_pref_names.h ('k') | components/metrics/metrics_state_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698