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

Unified Diff: components/sync/driver/fake_generic_change_processor.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
« no previous file with comments | « components/sync/driver/fake_generic_change_processor.h ('k') | components/sync/driver/fake_sync_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/fake_generic_change_processor.cc
diff --git a/components/sync/driver/fake_generic_change_processor.cc b/components/sync/driver/fake_generic_change_processor.cc
index 79b809151cf3886b968eb3088b2d68510f157fac..2025c326f86e75e7fd8aa44575321c02ecd2aec4 100644
--- a/components/sync/driver/fake_generic_change_processor.cc
+++ b/components/sync/driver/fake_generic_change_processor.cc
@@ -11,14 +11,14 @@
#include "components/sync/api/syncable_service.h"
#include "components/sync/core/attachments/attachment_service_impl.h"
-namespace sync_driver {
+namespace syncer {
-FakeGenericChangeProcessor::FakeGenericChangeProcessor(syncer::ModelType type,
+FakeGenericChangeProcessor::FakeGenericChangeProcessor(ModelType type,
SyncClient* sync_client)
: GenericChangeProcessor(type,
NULL,
- base::WeakPtr<syncer::SyncableService>(),
- base::WeakPtr<syncer::SyncMergeResult>(),
+ base::WeakPtr<SyncableService>(),
+ base::WeakPtr<SyncMergeResult>(),
NULL,
sync_client,
nullptr),
@@ -36,15 +36,15 @@ void FakeGenericChangeProcessor::set_sync_model_has_user_created_nodes_success(
sync_model_has_user_created_nodes_success_ = success;
}
-syncer::SyncError FakeGenericChangeProcessor::ProcessSyncChanges(
+SyncError FakeGenericChangeProcessor::ProcessSyncChanges(
const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) {
- return syncer::SyncError();
+ const SyncChangeList& change_list) {
+ return SyncError();
}
-syncer::SyncError FakeGenericChangeProcessor::GetAllSyncDataReturnError(
- syncer::SyncDataList* current_sync_data) const {
- return syncer::SyncError();
+SyncError FakeGenericChangeProcessor::GetAllSyncDataReturnError(
+ SyncDataList* current_sync_data) const {
+ return SyncError();
}
bool FakeGenericChangeProcessor::GetDataTypeContext(
@@ -73,13 +73,13 @@ FakeGenericChangeProcessorFactory::~FakeGenericChangeProcessorFactory() {}
std::unique_ptr<GenericChangeProcessor>
FakeGenericChangeProcessorFactory::CreateGenericChangeProcessor(
- syncer::ModelType type,
- syncer::UserShare* user_share,
- std::unique_ptr<syncer::DataTypeErrorHandler> error_handler,
- const base::WeakPtr<syncer::SyncableService>& local_service,
- const base::WeakPtr<syncer::SyncMergeResult>& merge_result,
+ ModelType type,
+ UserShare* user_share,
+ std::unique_ptr<DataTypeErrorHandler> error_handler,
+ const base::WeakPtr<SyncableService>& local_service,
+ const base::WeakPtr<SyncMergeResult>& merge_result,
SyncClient* sync_client) {
return std::move(processor_);
}
-} // namespace sync_driver
+} // namespace syncer
« no previous file with comments | « components/sync/driver/fake_generic_change_processor.h ('k') | components/sync/driver/fake_sync_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698