Move more metrics classes to metrics namespace.
BUG=374763
TBR=jam@chromium.org
Review URL: https://codereview.chromium.org/502173002
Cr-Commit-Position: refs/heads/master@{#291994}
CrOS-Libchrome-Original-Commit: cbd420738577e75f86d88d81da65661b588aa950
diff --git a/base/threading/thread_restrictions.h b/base/threading/thread_restrictions.h
index 2288049..3c8612d 100644
--- a/base/threading/thread_restrictions.h
+++ b/base/threading/thread_restrictions.h
@@ -18,7 +18,6 @@
class AcceleratedPresenter;
class BrowserProcessImpl;
class HistogramSynchronizer;
-class MetricsService;
class NativeBackendKWallet;
class ScopedAllowWaitForLegacyWebViewApi;
class TestingAutomationProvider;
@@ -61,6 +60,9 @@
namespace media {
class AudioOutputController;
}
+namespace metrics {
+class MetricsService;
+}
namespace mojo {
namespace common {
class WatcherThreadManager;
@@ -223,7 +225,7 @@
friend class net::internal::AddressTrackerLinux; // http://crbug.com/125097
friend class ::AcceleratedPresenter; // http://crbug.com/125391
friend class ::BrowserProcessImpl; // http://crbug.com/125207
- friend class ::MetricsService; // http://crbug.com/124954
+ friend class metrics::MetricsService; // http://crbug.com/124954
friend class ::NativeBackendKWallet; // http://crbug.com/125331
// END USAGE THAT NEEDS TO BE FIXED.