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

Unified Diff: chrome/browser/metrics/extensions_metrics_provider.cc

Issue 502173002: Move more metrics classes to metrics namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit test compile. Created 6 years, 4 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/browser/metrics/extensions_metrics_provider.cc
diff --git a/chrome/browser/metrics/extensions_metrics_provider.cc b/chrome/browser/metrics/extensions_metrics_provider.cc
index 41f13596bc260a33a7b966ee9a97033f694fe618..62b4b9a39fb163f1bc3f9ab99786e7b6bcd51c2b 100644
--- a/chrome/browser/metrics/extensions_metrics_provider.cc
+++ b/chrome/browser/metrics/extensions_metrics_provider.cc
@@ -4,7 +4,9 @@
#include "chrome/browser/metrics/extensions_metrics_provider.h"
+#include <algorithm>
#include <set>
+#include <vector>
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
@@ -167,7 +169,7 @@ uint64 ExtensionsMetricsProvider::GetClientID() {
// TODO(blundell): Create a MetricsLog::ClientIDAsInt() API and call it
// here as well as in MetricsLog's population of the client_id field of
// the uma_proto.
- return MetricsLog::Hash(metrics_state_manager_->client_id());
+ return metrics::MetricsLog::Hash(metrics_state_manager_->client_id());
}
void ExtensionsMetricsProvider::ProvideSystemProfileMetrics(

Powered by Google App Engine
This is Rietveld 408576698