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

Unified Diff: components/sync/driver/shared_change_processor_ref.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
Index: components/sync/driver/shared_change_processor_ref.h
diff --git a/components/sync/driver/shared_change_processor_ref.h b/components/sync/driver/shared_change_processor_ref.h
index a8a9b9b7b09955b56aa5a977f1893623aaf65463..047c8ece728aeb8e4a2fe4e40b2aa7c3cb61a4be 100644
--- a/components/sync/driver/shared_change_processor_ref.h
+++ b/components/sync/driver/shared_change_processor_ref.h
@@ -13,34 +13,31 @@
#include "components/sync/api/sync_error_factory.h"
#include "components/sync/driver/shared_change_processor.h"
-namespace sync_driver {
+namespace syncer {
-// A syncer::SyncChangeProcessor stub for interacting with a refcounted
+// A SyncChangeProcessor stub for interacting with a refcounted
// SharedChangeProcessor.
-class SharedChangeProcessorRef : public syncer::SyncChangeProcessor,
- public syncer::SyncErrorFactory {
+class SharedChangeProcessorRef : public SyncChangeProcessor,
+ public SyncErrorFactory {
public:
SharedChangeProcessorRef(
const scoped_refptr<SharedChangeProcessor>& change_processor);
~SharedChangeProcessorRef() override;
- // syncer::SyncChangeProcessor implementation.
- syncer::SyncError ProcessSyncChanges(
- const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) override;
- syncer::SyncDataList GetAllSyncData(syncer::ModelType type) const override;
- syncer::SyncError UpdateDataTypeContext(
- syncer::ModelType type,
- syncer::SyncChangeProcessor::ContextRefreshStatus refresh_status,
+ // SyncChangeProcessor implementation.
+ SyncError ProcessSyncChanges(const tracked_objects::Location& from_here,
+ const SyncChangeList& change_list) override;
+ SyncDataList GetAllSyncData(ModelType type) const override;
+ SyncError UpdateDataTypeContext(
+ ModelType type,
+ SyncChangeProcessor::ContextRefreshStatus refresh_status,
const std::string& context) override;
- void AddLocalChangeObserver(syncer::LocalChangeObserver* observer) override;
- void RemoveLocalChangeObserver(
- syncer::LocalChangeObserver* observer) override;
+ void AddLocalChangeObserver(LocalChangeObserver* observer) override;
+ void RemoveLocalChangeObserver(LocalChangeObserver* observer) override;
- // syncer::SyncErrorFactory implementation.
- syncer::SyncError CreateAndUploadError(
- const tracked_objects::Location& from_here,
- const std::string& message) override;
+ // SyncErrorFactory implementation.
+ SyncError CreateAndUploadError(const tracked_objects::Location& from_here,
+ const std::string& message) override;
// Default copy and assign welcome (and safe due to refcounted-ness).
@@ -48,6 +45,6 @@ class SharedChangeProcessorRef : public syncer::SyncChangeProcessor,
scoped_refptr<SharedChangeProcessor> change_processor_;
};
-} // namespace sync_driver
+} // namespace syncer
#endif // COMPONENTS_SYNC_DRIVER_SHARED_CHANGE_PROCESSOR_REF_H_
« no previous file with comments | « components/sync/driver/shared_change_processor.cc ('k') | components/sync/driver/shared_change_processor_ref.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698