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

Unified Diff: components/sync/api/stub_model_type_service.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/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 a77a794e172c73f4edccceccca86f68140693184..0665f3883cdce197c3781b6b87aa6d77e1c2b525 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_v2 {
+namespace syncer {
StubModelTypeService::StubModelTypeService()
: StubModelTypeService(base::Bind(&FakeModelTypeChangeProcessor::Create)) {}
StubModelTypeService::StubModelTypeService(
const ChangeProcessorFactory& change_processor_factory)
- : ModelTypeService(change_processor_factory, syncer::PREFERENCES) {}
+ : ModelTypeService(change_processor_factory, PREFERENCES) {}
StubModelTypeService::~StubModelTypeService() {}
@@ -24,16 +24,16 @@ StubModelTypeService::CreateMetadataChangeList() {
return std::unique_ptr<MetadataChangeList>();
}
-syncer::SyncError StubModelTypeService::MergeSyncData(
+SyncError StubModelTypeService::MergeSyncData(
std::unique_ptr<MetadataChangeList> metadata_change_list,
EntityDataMap entity_data_map) {
- return syncer::SyncError();
+ return SyncError();
}
-syncer::SyncError StubModelTypeService::ApplySyncChanges(
+SyncError StubModelTypeService::ApplySyncChanges(
std::unique_ptr<MetadataChangeList> metadata_change_list,
EntityChangeList entity_changes) {
- return syncer::SyncError();
+ return SyncError();
}
void StubModelTypeService::GetData(StorageKeyList storage_keys,
@@ -55,4 +55,4 @@ bool StubModelTypeService::HasChangeProcessor() const {
return change_processor() != nullptr;
}
-} // namespace syncer_v2
+} // namespace syncer
« 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