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

Unified Diff: base/metrics/histogram_snapshot_manager.cc

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 6 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 | « base/metrics/histogram_samples.h ('k') | base/metrics/histogram_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/metrics/histogram_snapshot_manager.cc
diff --git a/base/metrics/histogram_snapshot_manager.cc b/base/metrics/histogram_snapshot_manager.cc
index b1e26da59dcf30d70be39390e742297e17cb6926..a7605aa14179ac6b89a747a201fe0b285eb6dd2d 100644
--- a/base/metrics/histogram_snapshot_manager.cc
+++ b/base/metrics/histogram_snapshot_manager.cc
@@ -10,9 +10,6 @@
#include "base/metrics/statistics_recorder.h"
#include "base/stl_util.h"
-using std::map;
-using std::string;
-
namespace base {
HistogramSnapshotManager::HistogramSnapshotManager(
@@ -78,7 +75,7 @@ void HistogramSnapshotManager::PrepareDelta(const HistogramBase& histogram) {
}
HistogramSamples* to_log;
- map<string, HistogramSamples*>::iterator it =
+ std::map<std::string, HistogramSamples*>::iterator it =
logged_samples_.find(histogram_name);
if (it == logged_samples_.end()) {
to_log = snapshot.release();
« no previous file with comments | « base/metrics/histogram_samples.h ('k') | base/metrics/histogram_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698