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

Unified Diff: chrome/common/metrics/metrics_log_base.cc

Issue 9559017: [UMA] Include field trial tuples in the UMA upload. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mock out scree size/count code for testing 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
« no previous file with comments | « chrome/common/metrics/metrics_log_base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/metrics/metrics_log_base.cc
diff --git a/chrome/common/metrics/metrics_log_base.cc b/chrome/common/metrics/metrics_log_base.cc
index d6a467f3e7071941072cc26caa7c7fc2ea43885d..fc0c768de93cb08c8f254b311778f0f4916831b3 100644
--- a/chrome/common/metrics/metrics_log_base.cc
+++ b/chrome/common/metrics/metrics_log_base.cc
@@ -123,12 +123,12 @@ class MetricsLogBase::XmlWrapper {
MetricsLogBase::MetricsLogBase(const std::string& client_id, int session_id,
const std::string& version_string)
- : start_time_(Time::Now()),
+ : num_events_(0),
+ start_time_(Time::Now()),
client_id_(client_id),
session_id_(base::IntToString(session_id)),
locked_(false),
- xml_wrapper_(new XmlWrapper),
- num_events_(0) {
+ xml_wrapper_(new XmlWrapper) {
int64_t build_time = GetBuildTime();
// Write the XML version.
« no previous file with comments | « chrome/common/metrics/metrics_log_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698