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

Unified Diff: components/sync/engine_impl/cycle/nudge_tracker.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/engine_impl/cycle/nudge_tracker.cc
diff --git a/components/sync/engine_impl/cycle/nudge_tracker.cc b/components/sync/engine_impl/cycle/nudge_tracker.cc
index b4d9b41b5d01fdcbd02e55b0f4024da0169ddb84..2d3f754f4b5fcb29aedefb5e3d4343c978aef7dd 100644
--- a/components/sync/engine_impl/cycle/nudge_tracker.cc
+++ b/components/sync/engine_impl/cycle/nudge_tracker.cc
@@ -154,7 +154,7 @@ base::TimeDelta NudgeTracker::RecordLocalRefreshRequest(ModelTypeSet types) {
}
base::TimeDelta NudgeTracker::RecordRemoteInvalidation(
- ModelType type,
+ syncer::ModelType type,
std::unique_ptr<InvalidationInterface> invalidation) {
// Forward the invalidations to the proper recipient.
TypeTrackerMap::const_iterator tracker_it = type_trackers_.find(type);
@@ -163,13 +163,13 @@ base::TimeDelta NudgeTracker::RecordRemoteInvalidation(
return remote_invalidation_nudge_delay_;
}
-void NudgeTracker::RecordInitialSyncRequired(ModelType type) {
+void NudgeTracker::RecordInitialSyncRequired(syncer::ModelType type) {
TypeTrackerMap::const_iterator tracker_it = type_trackers_.find(type);
DCHECK(tracker_it != type_trackers_.end());
tracker_it->second->RecordInitialSyncRequired();
}
-void NudgeTracker::RecordCommitConflict(ModelType type) {
+void NudgeTracker::RecordCommitConflict(syncer::ModelType type) {
TypeTrackerMap::const_iterator tracker_it = type_trackers_.find(type);
DCHECK(tracker_it != type_trackers_.end());
tracker_it->second->RecordCommitConflict();
@@ -384,7 +384,7 @@ void NudgeTracker::OnReceivedCustomNudgeDelays(
delay_map.begin();
iter != delay_map.end(); ++iter) {
ModelType type = iter->first;
- DCHECK(ProtocolTypes().Has(type));
+ DCHECK(syncer::ProtocolTypes().Has(type));
TypeTrackerMap::const_iterator type_iter = type_trackers_.find(type);
if (type_iter == type_trackers_.end())
continue;
« no previous file with comments | « components/sync/engine_impl/cycle/nudge_tracker.h ('k') | components/sync/engine_impl/cycle/nudge_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698