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

Unified Diff: sync/api/fake_model_type_service.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 | « sync/api/fake_model_type_service.h ('k') | sync/api/fake_sync_change_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/fake_model_type_service.cc
diff --git a/sync/api/fake_model_type_service.cc b/sync/api/fake_model_type_service.cc
deleted file mode 100644
index c281b7e9ef8c1b185b111f1bc70fd15bb858bb4b..0000000000000000000000000000000000000000
--- a/sync/api/fake_model_type_service.cc
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "sync/api/fake_model_type_service.h"
-
-#include <string>
-
-#include "base/bind.h"
-#include "base/memory/ptr_util.h"
-#include "sync/api/fake_model_type_change_processor.h"
-
-namespace syncer_v2 {
-
-FakeModelTypeService::FakeModelTypeService()
- : FakeModelTypeService(base::Bind(&FakeModelTypeChangeProcessor::Create)) {}
-
-FakeModelTypeService::FakeModelTypeService(
- const ChangeProcessorFactory& change_processor_factory)
- : ModelTypeService(change_processor_factory, syncer::PREFERENCES) {}
-
-FakeModelTypeService::~FakeModelTypeService() {}
-
-std::unique_ptr<MetadataChangeList>
-FakeModelTypeService::CreateMetadataChangeList() {
- return std::unique_ptr<MetadataChangeList>();
-}
-
-syncer::SyncError FakeModelTypeService::MergeSyncData(
- std::unique_ptr<MetadataChangeList> metadata_change_list,
- EntityDataMap entity_data_map) {
- return syncer::SyncError();
-}
-
-syncer::SyncError FakeModelTypeService::ApplySyncChanges(
- std::unique_ptr<MetadataChangeList> metadata_change_list,
- EntityChangeList entity_changes) {
- return syncer::SyncError();
-}
-
-void FakeModelTypeService::GetData(ClientTagList client_tags,
- DataCallback callback) {}
-
-void FakeModelTypeService::GetAllData(DataCallback callback) {}
-
-std::string FakeModelTypeService::GetClientTag(const EntityData& entity_data) {
- return std::string();
-}
-
-void FakeModelTypeService::OnChangeProcessorSet() {}
-
-bool FakeModelTypeService::HasChangeProcessor() const {
- return change_processor() != nullptr;
-}
-
-} // namespace syncer_v2
« no previous file with comments | « sync/api/fake_model_type_service.h ('k') | sync/api/fake_sync_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698