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

Unified Diff: components/metrics/metrics_log.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
« no previous file with comments | « components/metrics/metrics_log.h ('k') | components/metrics/metrics_reporting_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/metrics_log.cc
diff --git a/components/metrics/metrics_log.cc b/components/metrics/metrics_log.cc
index 6076f88a82966bc3b1d21bb3c3a728af4e4954d0..314200d8f07231accc9e84d733c92070b15c20b4 100644
--- a/components/metrics/metrics_log.cc
+++ b/components/metrics/metrics_log.cc
@@ -43,12 +43,10 @@ extern "C" IMAGE_DOS_HEADER __ImageBase;
#endif
using base::SampleCountIterator;
-using metrics::HistogramEventProto;
-using metrics::ProfilerEventProto;
-using metrics::SystemProfileProto;
-using metrics::UserActionEventProto;
typedef variations::ActiveGroupId ActiveGroupId;
+namespace metrics {
+
namespace {
// Any id less than 16 bytes is considered to be a testing id.
@@ -435,3 +433,5 @@ void MetricsLog::GetEncodedLog(std::string* encoded_log) {
DCHECK(closed_);
uma_proto_.SerializeToString(encoded_log);
}
+
+} // namespace metrics
« no previous file with comments | « components/metrics/metrics_log.h ('k') | components/metrics/metrics_reporting_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698