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

Unified Diff: components/sync/api/stub_model_type_service.cc

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Fix tools and iOS. 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
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 ce6bf9091247611957afc2b3ff901344a7722c3d..778e2a1cfe00c381db31ce313ae89910137234fd 100644
--- a/components/sync/api/stub_model_type_service.cc
+++ b/components/sync/api/stub_model_type_service.cc
@@ -10,14 +10,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() {}
@@ -26,16 +26,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,
@@ -57,4 +57,4 @@ bool StubModelTypeService::HasChangeProcessor() const {
return change_processor() != nullptr;
}
-} // namespace syncer_v2
+} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698