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