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

Unified Diff: components/sync/driver/shared_change_processor_ref.cc

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.cc
diff --git a/components/sync/driver/shared_change_processor_ref.cc b/components/sync/driver/shared_change_processor_ref.cc
index a989e1c27339c1a05fa22e06b9f23fa93389eed0..30b14c722c2b5397285d9488b2d1aa33c5c9512e 100644
--- a/components/sync/driver/shared_change_processor_ref.cc
+++ b/components/sync/driver/shared_change_processor_ref.cc
@@ -4,7 +4,7 @@
#include "components/sync/driver/shared_change_processor_ref.h"
-namespace sync_driver {
+namespace syncer {
SharedChangeProcessorRef::SharedChangeProcessorRef(
const scoped_refptr<SharedChangeProcessor>& change_processor)
@@ -14,39 +14,38 @@ SharedChangeProcessorRef::SharedChangeProcessorRef(
SharedChangeProcessorRef::~SharedChangeProcessorRef() {}
-syncer::SyncError SharedChangeProcessorRef::ProcessSyncChanges(
+SyncError SharedChangeProcessorRef::ProcessSyncChanges(
const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) {
+ const SyncChangeList& change_list) {
return change_processor_->ProcessSyncChanges(from_here, change_list);
}
-syncer::SyncDataList SharedChangeProcessorRef::GetAllSyncData(
- syncer::ModelType type) const {
+SyncDataList SharedChangeProcessorRef::GetAllSyncData(ModelType type) const {
return change_processor_->GetAllSyncData(type);
}
-syncer::SyncError SharedChangeProcessorRef::UpdateDataTypeContext(
- syncer::ModelType type,
- syncer::SyncChangeProcessor::ContextRefreshStatus refresh_status,
+SyncError SharedChangeProcessorRef::UpdateDataTypeContext(
+ ModelType type,
+ SyncChangeProcessor::ContextRefreshStatus refresh_status,
const std::string& context) {
return change_processor_->UpdateDataTypeContext(type, refresh_status,
context);
}
void SharedChangeProcessorRef::AddLocalChangeObserver(
- syncer::LocalChangeObserver* observer) {
+ LocalChangeObserver* observer) {
change_processor_->AddLocalChangeObserver(observer);
}
void SharedChangeProcessorRef::RemoveLocalChangeObserver(
- syncer::LocalChangeObserver* observer) {
+ LocalChangeObserver* observer) {
change_processor_->RemoveLocalChangeObserver(observer);
}
-syncer::SyncError SharedChangeProcessorRef::CreateAndUploadError(
+SyncError SharedChangeProcessorRef::CreateAndUploadError(
const tracked_objects::Location& from_here,
const std::string& message) {
return change_processor_->CreateAndUploadError(from_here, message);
}
-} // namespace sync_driver
+} // namespace syncer
« no previous file with comments | « components/sync/driver/shared_change_processor_ref.h ('k') | components/sync/driver/shared_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698