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

Side by Side Diff: chrome/common/pref_names.cc

Issue 9474041: Upload UMA data using protocol buffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix crash in test Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 const char kMetricsClientIDTimestamp[] = 977 const char kMetricsClientIDTimestamp[] =
978 "user_experience_metrics.client_id_timestamp"; 978 "user_experience_metrics.client_id_timestamp";
979 979
980 // Boolean that specifies whether or not crash reporting and metrics reporting 980 // Boolean that specifies whether or not crash reporting and metrics reporting
981 // are sent over the network for analysis. 981 // are sent over the network for analysis.
982 const char kMetricsReportingEnabled[] = 982 const char kMetricsReportingEnabled[] =
983 "user_experience_metrics.reporting_enabled"; 983 "user_experience_metrics.reporting_enabled";
984 984
985 // Array of strings that are each UMA logs that were supposed to be sent in the 985 // Array of strings that are each UMA logs that were supposed to be sent in the
986 // first minute of a browser session. These logs include things like crash count 986 // first minute of a browser session. These logs include things like crash count
987 // info, etc. 987 // info, etc. Currently we store both XML and protobuf versions of these logs.
988 const char kMetricsInitialLogs[] = 988 const char kMetricsInitialLogsXml[] =
989 "user_experience_metrics.initial_logs"; 989 "user_experience_metrics.initial_logs";
990 const char kMetricsInitialLogsProto[] =
991 "user_experience_metrics.initial_logs_as_protobufs";
990 992
991 // Array of strings that are each UMA logs that were not sent because the 993 // Array of strings that are each UMA logs that were not sent because the
992 // browser terminated before these accumulated metrics could be sent. These 994 // browser terminated before these accumulated metrics could be sent. These
993 // logs typically include histograms and memory reports, as well as ongoing 995 // logs typically include histograms and memory reports, as well as ongoing
994 // user activities. 996 // user activities. Currently we store both XML and protobuf versions.
995 const char kMetricsOngoingLogs[] = 997 const char kMetricsOngoingLogsXml[] =
996 "user_experience_metrics.ongoing_logs"; 998 "user_experience_metrics.ongoing_logs";
999 const char kMetricsOngoingLogsProto[] =
1000 "user_experience_metrics.ongoing_logs_as_protobufs";
997 1001
998 // Where profile specific metrics are placed. 1002 // Where profile specific metrics are placed.
999 const char kProfileMetrics[] = "user_experience_metrics.profiles"; 1003 const char kProfileMetrics[] = "user_experience_metrics.profiles";
1000 1004
1001 // The metrics for a profile are stored as dictionary values under the 1005 // The metrics for a profile are stored as dictionary values under the
1002 // path kProfileMetrics. The individual metrics are placed under the path 1006 // path kProfileMetrics. The individual metrics are placed under the path
1003 // kProfileMetrics.kProfilePrefix<hashed-profile-id>. 1007 // kProfileMetrics.kProfilePrefix<hashed-profile-id>.
1004 const char kProfilePrefix[] = "profile-"; 1008 const char kProfilePrefix[] = "profile-";
1005 1009
1006 // True if the previous run of the program exited cleanly. 1010 // True if the previous run of the program exited cleanly.
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
1767 const char kWebIntentsEnabled[] = "webintents.enabled"; 1771 const char kWebIntentsEnabled[] = "webintents.enabled";
1768 1772
1769 #if defined(USE_AURA) 1773 #if defined(USE_AURA)
1770 const char kPinnedLauncherApps[] = "pinned_launcher_apps"; 1774 const char kPinnedLauncherApps[] = "pinned_launcher_apps";
1771 #endif 1775 #endif
1772 1776
1773 // Indicates whether the browser is in managed mode. 1777 // Indicates whether the browser is in managed mode.
1774 const char kInManagedMode[] = "managed_mode"; 1778 const char kInManagedMode[] = "managed_mode";
1775 1779
1776 } // namespace prefs 1780 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698