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

Unified Diff: components/metrics/net/network_metrics_provider.cc

Issue 636363004: Make remaining parts of components/metrics use metrics namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cros compile Created 6 years, 2 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: components/metrics/net/network_metrics_provider.cc
diff --git a/components/metrics/net/network_metrics_provider.cc b/components/metrics/net/network_metrics_provider.cc
index c0b38d7b01c89d123802cf045162f6625dc2729a..e845cde5bd511a69bccd4ec4a3f6c5e956bebe17 100644
--- a/components/metrics/net/network_metrics_provider.cc
+++ b/components/metrics/net/network_metrics_provider.cc
@@ -15,9 +15,9 @@
#if defined(OS_CHROMEOS)
#include "components/metrics/net/wifi_access_point_info_provider_chromeos.h"
-#endif // OS_CHROMEOS
+#endif // OS_CHROMEOS
-using metrics::SystemProfileProto;
+namespace metrics {
NetworkMetricsProvider::NetworkMetricsProvider(
base::TaskRunner* io_task_runner)
@@ -62,7 +62,7 @@ void NetworkMetricsProvider::ProvideSystemProfileMetrics(
#else
wifi_access_point_info_provider_.reset(
new WifiAccessPointInfoProvider());
-#endif // OS_CHROMEOS
+#endif // OS_CHROMEOS
}
// Connected wifi access point information.
@@ -226,3 +226,5 @@ void NetworkMetricsProvider::WriteWifiAccessPointProto(
NOTREACHED();
}
}
+
+} // namespace metrics
« no previous file with comments | « components/metrics/net/network_metrics_provider.h ('k') | components/metrics/net/wifi_access_point_info_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698