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

Unified Diff: components/sync/api/stub_model_type_service.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/api/stub_model_type_service.h ('k') | components/sync/api/sync_change_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/stub_model_type_service.cc
diff --git a/components/sync/api/stub_model_type_service.cc b/components/sync/api/stub_model_type_service.cc
index 0665f3883cdce197c3781b6b87aa6d77e1c2b525..a77a794e172c73f4edccceccca86f68140693184 100644
--- a/components/sync/api/stub_model_type_service.cc
+++ b/components/sync/api/stub_model_type_service.cc
@@ -8,14 +8,14 @@
#include "base/memory/ptr_util.h"
#include "components/sync/api/fake_model_type_change_processor.h"
-namespace syncer {
+namespace syncer_v2 {
StubModelTypeService::StubModelTypeService()
: StubModelTypeService(base::Bind(&FakeModelTypeChangeProcessor::Create)) {}
StubModelTypeService::StubModelTypeService(
const ChangeProcessorFactory& change_processor_factory)
- : ModelTypeService(change_processor_factory, PREFERENCES) {}
+ : ModelTypeService(change_processor_factory, syncer::PREFERENCES) {}
StubModelTypeService::~StubModelTypeService() {}
@@ -24,16 +24,16 @@ StubModelTypeService::CreateMetadataChangeList() {
return std::unique_ptr<MetadataChangeList>();
}
-SyncError StubModelTypeService::MergeSyncData(
+syncer::SyncError StubModelTypeService::MergeSyncData(
std::unique_ptr<MetadataChangeList> metadata_change_list,
EntityDataMap entity_data_map) {
- return SyncError();
+ return syncer::SyncError();
}
-SyncError StubModelTypeService::ApplySyncChanges(
+syncer::SyncError StubModelTypeService::ApplySyncChanges(
std::unique_ptr<MetadataChangeList> metadata_change_list,
EntityChangeList entity_changes) {
- return SyncError();
+ return syncer::SyncError();
}
void StubModelTypeService::GetData(StorageKeyList storage_keys,
@@ -55,4 +55,4 @@ bool StubModelTypeService::HasChangeProcessor() const {
return change_processor() != nullptr;
}
-} // namespace syncer
+} // namespace syncer_v2
« no previous file with comments | « components/sync/api/stub_model_type_service.h ('k') | components/sync/api/sync_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698