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

Unified Diff: components/sync/api/fake_sync_change_processor.h

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. Created 4 years, 3 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_model_type_service.cc ('k') | components/sync/api/fake_sync_change_processor.cc » ('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.h
diff --git a/components/sync/api/fake_sync_change_processor.h b/components/sync/api/fake_sync_change_processor.h
index 1498b2dd1876060603b02e63223aca60eedc8584..efd5fc3f7f4ec61b4db836d5cb628c220c41c072 100644
--- a/components/sync/api/fake_sync_change_processor.h
+++ b/components/sync/api/fake_sync_change_processor.h
@@ -21,37 +21,35 @@ class FakeSyncChangeProcessor : public SyncChangeProcessor {
//
// ProcessSyncChanges will accumulate changes in changes() until they are
// cleared.
- syncer::SyncError ProcessSyncChanges(
- const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) override;
+ SyncError ProcessSyncChanges(const tracked_objects::Location& from_here,
+ const SyncChangeList& change_list) override;
// SyncChangeProcessor implementation.
//
// Returns data().
- syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const override;
+ SyncDataList GetAllSyncData(ModelType type) const override;
// SyncChangeProcessor implementation.
//
// Updates context().
- syncer::SyncError UpdateDataTypeContext(ModelType type,
- ContextRefreshStatus refresh_status,
- const std::string& context) override;
- void AddLocalChangeObserver(syncer::LocalChangeObserver* observer) override;
- void RemoveLocalChangeObserver(
- syncer::LocalChangeObserver* observer) override;
+ SyncError UpdateDataTypeContext(ModelType type,
+ ContextRefreshStatus refresh_status,
+ const std::string& context) override;
+ void AddLocalChangeObserver(LocalChangeObserver* observer) override;
+ void RemoveLocalChangeObserver(LocalChangeObserver* observer) override;
- virtual const syncer::SyncChangeList& changes() const;
- virtual syncer::SyncChangeList& changes();
+ virtual const SyncChangeList& changes() const;
+ virtual SyncChangeList& changes();
- virtual const syncer::SyncDataList& data() const;
- virtual syncer::SyncDataList& data();
+ virtual const SyncDataList& data() const;
+ virtual SyncDataList& data();
virtual const std::string& context() const;
virtual std::string& context();
private:
- syncer::SyncChangeList changes_;
- syncer::SyncDataList data_;
+ SyncChangeList changes_;
+ SyncDataList data_;
std::string context_;
DISALLOW_COPY_AND_ASSIGN(FakeSyncChangeProcessor);
« no previous file with comments | « components/sync/api/fake_model_type_service.cc ('k') | components/sync/api/fake_sync_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698