OLD | NEW |
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 "chromecast/base/pref_names.h" | 5 #include "chromecast/base/pref_names.h" |
6 | 6 |
7 namespace chromecast { | 7 namespace chromecast { |
8 namespace prefs { | 8 namespace prefs { |
9 | 9 |
| 10 // List of experiments enabled by DCS. For metrics purposes only. |
| 11 const char kActiveDCSExperiments[] = "experiments.ids"; |
| 12 |
10 // Boolean which specifies if remote debugging is enabled | 13 // Boolean which specifies if remote debugging is enabled |
11 const char kEnableRemoteDebugging[] = "enable_remote_debugging"; | 14 const char kEnableRemoteDebugging[] = "enable_remote_debugging"; |
12 | 15 |
13 // Boolean that specifies whether or not the client_id has been regenerated | 16 // Boolean that specifies whether or not the client_id has been regenerated |
14 // due to bug b/9487011. | 17 // due to bug b/9487011. |
15 const char kMetricsIsNewClientID[] = "user_experience_metrics.is_new_client_id"; | 18 const char kMetricsIsNewClientID[] = "user_experience_metrics.is_new_client_id"; |
16 | 19 |
| 20 // Dictionary of remotely-enabled features from the latest DCS config fetch. |
| 21 const char kLatestDCSFeatures[] = "experiments.features"; |
| 22 |
17 // Whether or not to report metrics and crashes. | 23 // Whether or not to report metrics and crashes. |
18 const char kOptInStats[] = "opt-in.stats"; | 24 const char kOptInStats[] = "opt-in.stats"; |
19 | 25 |
20 // Total number of child process crashes (other than renderer / extension | 26 // Total number of child process crashes (other than renderer / extension |
21 // renderer ones, and plugin children, which are counted separately) since the | 27 // renderer ones, and plugin children, which are counted separately) since the |
22 // last report. | 28 // last report. |
23 const char kStabilityChildProcessCrashCount[] = | 29 const char kStabilityChildProcessCrashCount[] = |
24 "user_experience_metrics.stability.child_process_crash_count"; | 30 "user_experience_metrics.stability.child_process_crash_count"; |
25 | 31 |
26 // Total number of kernel crashes since the last report. | 32 // Total number of kernel crashes since the last report. |
(...skipping 16 matching lines...) Expand all Loading... |
43 // report. | 49 // report. |
44 const char kStabilityRendererHangCount[] = | 50 const char kStabilityRendererHangCount[] = |
45 "user_experience_metrics.stability.renderer_hang_count"; | 51 "user_experience_metrics.stability.renderer_hang_count"; |
46 | 52 |
47 // Total number of unclean system shutdowns since the last report. | 53 // Total number of unclean system shutdowns since the last report. |
48 const char kStabilitySystemUncleanShutdownCount[] = | 54 const char kStabilitySystemUncleanShutdownCount[] = |
49 "user_experience_metrics.stability.system_unclean_shutdowns"; | 55 "user_experience_metrics.stability.system_unclean_shutdowns"; |
50 | 56 |
51 } // namespace prefs | 57 } // namespace prefs |
52 } // namespace chromecast | 58 } // namespace chromecast |
OLD | NEW |