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

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

Issue 9232071: Upload UMA data using protocol buffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 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 | 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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 const char kMetricsClientIDTimestamp[] = 959 const char kMetricsClientIDTimestamp[] =
960 "user_experience_metrics.client_id_timestamp"; 960 "user_experience_metrics.client_id_timestamp";
961 961
962 // Boolean that specifies whether or not crash reporting and metrics reporting 962 // Boolean that specifies whether or not crash reporting and metrics reporting
963 // are sent over the network for analysis. 963 // are sent over the network for analysis.
964 const char kMetricsReportingEnabled[] = 964 const char kMetricsReportingEnabled[] =
965 "user_experience_metrics.reporting_enabled"; 965 "user_experience_metrics.reporting_enabled";
966 966
967 // Array of strings that are each UMA logs that were supposed to be sent in the 967 // Array of strings that are each UMA logs that were supposed to be sent in the
968 // first minute of a browser session. These logs include things like crash count 968 // first minute of a browser session. These logs include things like crash count
969 // info, etc. 969 // info, etc. Currently we store both XML and protobuf versions of these logs.
970 const char kMetricsInitialLogs[] = 970 const char kMetricsInitialLogsXml[] =
971 "user_experience_metrics.initial_logs"; 971 "user_experience_metrics.initial_logs";
972 const char kMetricsInitialLogsProto[] =
973 "user_experience_metrics.initial_logs_as_protobufs";
972 974
973 // Array of strings that are each UMA logs that were not sent because the 975 // Array of strings that are each UMA logs that were not sent because the
974 // browser terminated before these accumulated metrics could be sent. These 976 // browser terminated before these accumulated metrics could be sent. These
975 // logs typically include histograms and memory reports, as well as ongoing 977 // logs typically include histograms and memory reports, as well as ongoing
976 // user activities. 978 // user activities. Currently we store both XML and protobuf versions.
977 const char kMetricsOngoingLogs[] = 979 const char kMetricsOngoingLogsXml[] =
978 "user_experience_metrics.ongoing_logs"; 980 "user_experience_metrics.ongoing_logs";
981 const char kMetricsOngoingLogsProto[] =
982 "user_experience_metrics.ongoing_logs_as_protobufs";
979 983
980 // Where profile specific metrics are placed. 984 // Where profile specific metrics are placed.
981 const char kProfileMetrics[] = "user_experience_metrics.profiles"; 985 const char kProfileMetrics[] = "user_experience_metrics.profiles";
982 986
983 // The metrics for a profile are stored as dictionary values under the 987 // The metrics for a profile are stored as dictionary values under the
984 // path kProfileMetrics. The individual metrics are placed under the path 988 // path kProfileMetrics. The individual metrics are placed under the path
985 // kProfileMetrics.kProfilePrefix<hashed-profile-id>. 989 // kProfileMetrics.kProfilePrefix<hashed-profile-id>.
986 const char kProfilePrefix[] = "profile-"; 990 const char kProfilePrefix[] = "profile-";
987 991
988 // True if the previous run of the program exited cleanly. 992 // True if the previous run of the program exited cleanly.
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
1742 1746
1743 // String that stores the component updater last known state. This is used for 1747 // String that stores the component updater last known state. This is used for
1744 // troubleshooting. 1748 // troubleshooting.
1745 const char kComponentUpdaterState[] = "component_updater.state"; 1749 const char kComponentUpdaterState[] = "component_updater.state";
1746 1750
1747 // Boolean pref indicating whether the session restore dialog has been shown. 1751 // Boolean pref indicating whether the session restore dialog has been shown.
1748 const char kRestoreSessionStateDialogShown[] = 1752 const char kRestoreSessionStateDialogShown[] =
1749 "restore_session_state.dialog_shown"; 1753 "restore_session_state.dialog_shown";
1750 1754
1751 } // namespace prefs 1755 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698