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

Unified Diff: components/sync/device_info/device_count_metrics_provider.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 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/sync/device_info/device_count_metrics_provider.cc
diff --git a/components/sync/device_info/device_count_metrics_provider.cc b/components/sync/device_info/device_count_metrics_provider.cc
index 7a14e1e500b721dcc7f6b48d6b179dabb89a3255..db81975ba2d49159773d63d4173d018f2eb8fcfe 100644
--- a/components/sync/device_info/device_count_metrics_provider.cc
+++ b/components/sync/device_info/device_count_metrics_provider.cc
@@ -9,7 +9,7 @@
#include "base/metrics/sparse_histogram.h"
#include "components/sync/device_info/device_info_tracker.h"
-namespace syncer {
+namespace sync_driver {
DeviceCountMetricsProvider::DeviceCountMetricsProvider(
const ProvideTrackersCallback& provide_trackers)
@@ -18,7 +18,7 @@ DeviceCountMetricsProvider::DeviceCountMetricsProvider(
DeviceCountMetricsProvider::~DeviceCountMetricsProvider() {}
int DeviceCountMetricsProvider::MaxActiveDeviceCount() const {
- std::vector<const DeviceInfoTracker*> trackers;
+ std::vector<const sync_driver::DeviceInfoTracker*> trackers;
provide_trackers_.Run(&trackers);
int max = 0;
for (auto* tracker : trackers) {
@@ -33,4 +33,4 @@ void DeviceCountMetricsProvider::ProvideGeneralMetrics(
std::min(MaxActiveDeviceCount(), 100));
}
-} // namespace syncer
+} // namespace sync_driver

Powered by Google App Engine
This is Rietveld 408576698