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

Unified Diff: components/sync/driver/fake_generic_change_processor.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
« 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 2025c326f86e75e7fd8aa44575321c02ecd2aec4..79b809151cf3886b968eb3088b2d68510f157fac 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 syncer {
+namespace sync_driver {
-FakeGenericChangeProcessor::FakeGenericChangeProcessor(ModelType type,
+FakeGenericChangeProcessor::FakeGenericChangeProcessor(syncer::ModelType type,
SyncClient* sync_client)
: GenericChangeProcessor(type,
NULL,
- base::WeakPtr<SyncableService>(),
- base::WeakPtr<SyncMergeResult>(),
+ base::WeakPtr<syncer::SyncableService>(),
+ base::WeakPtr<syncer::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;
}
-SyncError FakeGenericChangeProcessor::ProcessSyncChanges(
+syncer::SyncError FakeGenericChangeProcessor::ProcessSyncChanges(
const tracked_objects::Location& from_here,
- const SyncChangeList& change_list) {
- return SyncError();
+ const syncer::SyncChangeList& change_list) {
+ return syncer::SyncError();
}
-SyncError FakeGenericChangeProcessor::GetAllSyncDataReturnError(
- SyncDataList* current_sync_data) const {
- return SyncError();
+syncer::SyncError FakeGenericChangeProcessor::GetAllSyncDataReturnError(
+ syncer::SyncDataList* current_sync_data) const {
+ return syncer::SyncError();
}
bool FakeGenericChangeProcessor::GetDataTypeContext(
@@ -73,13 +73,13 @@ FakeGenericChangeProcessorFactory::~FakeGenericChangeProcessorFactory() {}
std::unique_ptr<GenericChangeProcessor>
FakeGenericChangeProcessorFactory::CreateGenericChangeProcessor(
- ModelType type,
- UserShare* user_share,
- std::unique_ptr<DataTypeErrorHandler> error_handler,
- const base::WeakPtr<SyncableService>& local_service,
- const base::WeakPtr<SyncMergeResult>& merge_result,
+ 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,
SyncClient* sync_client) {
return std::move(processor_);
}
-} // namespace syncer
+} // namespace sync_driver
« 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