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

Unified Diff: components/metrics/metrics_log_base.cc

Issue 292113003: Remove num_events_ member from MetricsLogBase. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 7 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 | « components/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: components/metrics/metrics_log_base.cc
===================================================================
--- components/metrics/metrics_log_base.cc (revision 271493)
+++ components/metrics/metrics_log_base.cc (working copy)
@@ -35,8 +35,7 @@
int session_id,
LogType log_type,
const std::string& version_string)
- : num_events_(0),
- locked_(false),
+ : locked_(false),
log_type_(log_type) {
DCHECK_NE(NO_LOG, log_type);
if (IsTestingID(client_id))
@@ -100,8 +99,6 @@
UserActionEventProto* user_action = uma_proto_.add_user_action_event();
user_action->set_name_hash(Hash(key));
user_action->set_time(GetCurrentTime());
-
- ++num_events_;
}
void MetricsLogBase::RecordHistogramDelta(const std::string& histogram_name,
« no previous file with comments | « components/metrics/metrics_log_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698