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

Unified Diff: components/sync/driver/shared_change_processor_ref.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/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 30b14c722c2b5397285d9488b2d1aa33c5c9512e..a989e1c27339c1a05fa22e06b9f23fa93389eed0 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 syncer {
+namespace sync_driver {
SharedChangeProcessorRef::SharedChangeProcessorRef(
const scoped_refptr<SharedChangeProcessor>& change_processor)
@@ -14,38 +14,39 @@ SharedChangeProcessorRef::SharedChangeProcessorRef(
SharedChangeProcessorRef::~SharedChangeProcessorRef() {}
-SyncError SharedChangeProcessorRef::ProcessSyncChanges(
+syncer::SyncError SharedChangeProcessorRef::ProcessSyncChanges(
const tracked_objects::Location& from_here,
- const SyncChangeList& change_list) {
+ const syncer::SyncChangeList& change_list) {
return change_processor_->ProcessSyncChanges(from_here, change_list);
}
-SyncDataList SharedChangeProcessorRef::GetAllSyncData(ModelType type) const {
+syncer::SyncDataList SharedChangeProcessorRef::GetAllSyncData(
+ syncer::ModelType type) const {
return change_processor_->GetAllSyncData(type);
}
-SyncError SharedChangeProcessorRef::UpdateDataTypeContext(
- ModelType type,
- SyncChangeProcessor::ContextRefreshStatus refresh_status,
+syncer::SyncError SharedChangeProcessorRef::UpdateDataTypeContext(
+ syncer::ModelType type,
+ syncer::SyncChangeProcessor::ContextRefreshStatus refresh_status,
const std::string& context) {
return change_processor_->UpdateDataTypeContext(type, refresh_status,
context);
}
void SharedChangeProcessorRef::AddLocalChangeObserver(
- LocalChangeObserver* observer) {
+ syncer::LocalChangeObserver* observer) {
change_processor_->AddLocalChangeObserver(observer);
}
void SharedChangeProcessorRef::RemoveLocalChangeObserver(
- LocalChangeObserver* observer) {
+ syncer::LocalChangeObserver* observer) {
change_processor_->RemoveLocalChangeObserver(observer);
}
-SyncError SharedChangeProcessorRef::CreateAndUploadError(
+syncer::SyncError SharedChangeProcessorRef::CreateAndUploadError(
const tracked_objects::Location& from_here,
const std::string& message) {
return change_processor_->CreateAndUploadError(from_here, message);
}
-} // namespace syncer
+} // namespace sync_driver
« 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