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

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

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. 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 db81975ba2d49159773d63d4173d018f2eb8fcfe..7a14e1e500b721dcc7f6b48d6b179dabb89a3255 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 sync_driver {
+namespace syncer {
DeviceCountMetricsProvider::DeviceCountMetricsProvider(
const ProvideTrackersCallback& provide_trackers)
@@ -18,7 +18,7 @@ DeviceCountMetricsProvider::DeviceCountMetricsProvider(
DeviceCountMetricsProvider::~DeviceCountMetricsProvider() {}
int DeviceCountMetricsProvider::MaxActiveDeviceCount() const {
- std::vector<const sync_driver::DeviceInfoTracker*> trackers;
+ std::vector<const 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 sync_driver
+} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698