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

Unified Diff: components/sync/api/fake_sync_change_processor.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
« no previous file with comments | « components/sync/api/fake_sync_change_processor.h ('k') | components/sync/api/metadata_batch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/fake_sync_change_processor.cc
diff --git a/components/sync/api/fake_sync_change_processor.cc b/components/sync/api/fake_sync_change_processor.cc
index a675151e6c64c73663664367c7af1dea26c2e348..2487849a40490a87bab5cac6284c331519fb860f 100644
--- a/components/sync/api/fake_sync_change_processor.cc
+++ b/components/sync/api/fake_sync_change_processor.cc
@@ -13,45 +13,44 @@ FakeSyncChangeProcessor::FakeSyncChangeProcessor() {}
FakeSyncChangeProcessor::~FakeSyncChangeProcessor() {}
-syncer::SyncError FakeSyncChangeProcessor::ProcessSyncChanges(
+SyncError FakeSyncChangeProcessor::ProcessSyncChanges(
const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) {
+ const SyncChangeList& change_list) {
changes_.insert(changes_.end(), change_list.begin(), change_list.end());
- return syncer::SyncError();
+ return SyncError();
}
-syncer::SyncDataList FakeSyncChangeProcessor::GetAllSyncData(
- syncer::ModelType type) const {
+SyncDataList FakeSyncChangeProcessor::GetAllSyncData(ModelType type) const {
return data_;
}
-syncer::SyncError FakeSyncChangeProcessor::UpdateDataTypeContext(
+SyncError FakeSyncChangeProcessor::UpdateDataTypeContext(
ModelType type,
ContextRefreshStatus refresh_status,
const std::string& context) {
context_ = context;
- return syncer::SyncError();
+ return SyncError();
}
void FakeSyncChangeProcessor::AddLocalChangeObserver(
- syncer::LocalChangeObserver* observer) {}
+ LocalChangeObserver* observer) {}
void FakeSyncChangeProcessor::RemoveLocalChangeObserver(
- syncer::LocalChangeObserver* observer) {}
+ LocalChangeObserver* observer) {}
-const syncer::SyncChangeList& FakeSyncChangeProcessor::changes() const {
+const SyncChangeList& FakeSyncChangeProcessor::changes() const {
return changes_;
}
-syncer::SyncChangeList& FakeSyncChangeProcessor::changes() {
+SyncChangeList& FakeSyncChangeProcessor::changes() {
return changes_;
}
-const syncer::SyncDataList& FakeSyncChangeProcessor::data() const {
+const SyncDataList& FakeSyncChangeProcessor::data() const {
return data_;
}
-syncer::SyncDataList& FakeSyncChangeProcessor::data() {
+SyncDataList& FakeSyncChangeProcessor::data() {
return data_;
}
« no previous file with comments | « components/sync/api/fake_sync_change_processor.h ('k') | components/sync/api/metadata_batch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698