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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 653039beb183f12bb8a04aed79289e87f0fe49ad..fb81da4d18d6aa4ba6c75c4f292d08d0720ec610 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -984,16 +984,20 @@ const char kMetricsReportingEnabled[] =
// Array of strings that are each UMA logs that were supposed to be sent in the
// first minute of a browser session. These logs include things like crash count
-// info, etc.
-const char kMetricsInitialLogs[] =
+// info, etc. Currently we store both XML and protobuf versions of these logs.
+const char kMetricsInitialLogsXml[] =
"user_experience_metrics.initial_logs";
+const char kMetricsInitialLogsProto[] =
+ "user_experience_metrics.initial_logs_as_protobufs";
// Array of strings that are each UMA logs that were not sent because the
// browser terminated before these accumulated metrics could be sent. These
// logs typically include histograms and memory reports, as well as ongoing
-// user activities.
-const char kMetricsOngoingLogs[] =
+// user activities. Currently we store both XML and protobuf versions.
+const char kMetricsOngoingLogsXml[] =
"user_experience_metrics.ongoing_logs";
+const char kMetricsOngoingLogsProto[] =
+ "user_experience_metrics.ongoing_logs_as_protobufs";
// Where profile specific metrics are placed.
const char kProfileMetrics[] = "user_experience_metrics.profiles";

Powered by Google App Engine
This is Rietveld 408576698