Move more metrics classes to metrics namespace.

BUG=374763
[email protected]

Review URL: https://codereview.chromium.org/502173002

Cr-Commit-Position: refs/heads/master@{#291994}
diff --git a/components/metrics/metrics_log.cc b/components/metrics/metrics_log.cc
index 6076f88..314200d 100644
--- a/components/metrics/metrics_log.cc
+++ b/components/metrics/metrics_log.cc
@@ -43,12 +43,10 @@
 #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 @@
   DCHECK(closed_);
   uma_proto_.SerializeToString(encoded_log);
 }
+
+}  // namespace metrics