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

Unified Diff: sync/api/fake_model_type_change_processor.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_change_processor.h ('k') | sync/api/fake_model_type_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/fake_model_type_change_processor.cc
diff --git a/sync/api/fake_model_type_change_processor.cc b/sync/api/fake_model_type_change_processor.cc
deleted file mode 100644
index c8932e23880cc23bcae201e2647df9a940b883c5..0000000000000000000000000000000000000000
--- a/sync/api/fake_model_type_change_processor.cc
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2016 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_change_processor.h"
-
-#include <memory>
-#include <string>
-
-#include "base/callback.h"
-#include "base/memory/ptr_util.h"
-#include "sync/api/metadata_batch.h"
-#include "sync/api/metadata_change_list.h"
-#include "sync/api/model_type_service.h"
-#include "sync/api/sync_error.h"
-
-namespace syncer_v2 {
-
-// static
-std::unique_ptr<ModelTypeChangeProcessor> FakeModelTypeChangeProcessor::Create(
- syncer::ModelType type,
- ModelTypeService* service) {
- return base::WrapUnique(new FakeModelTypeChangeProcessor());
-}
-
-FakeModelTypeChangeProcessor::FakeModelTypeChangeProcessor() {}
-FakeModelTypeChangeProcessor::~FakeModelTypeChangeProcessor() {}
-
-void FakeModelTypeChangeProcessor::Put(
- const std::string& client_tag,
- std::unique_ptr<EntityData> entity_data,
- MetadataChangeList* metadata_change_list) {}
-
-void FakeModelTypeChangeProcessor::Delete(
- const std::string& client_tag,
- MetadataChangeList* metadata_change_list) {}
-
-void FakeModelTypeChangeProcessor::OnMetadataLoaded(
- syncer::SyncError error,
- std::unique_ptr<MetadataBatch> batch) {}
-
-void FakeModelTypeChangeProcessor::OnSyncStarting(
- syncer::DataTypeErrorHandler* error_handler,
- const StartCallback& callback) {
- if (!callback.is_null()) {
- callback.Run(syncer::SyncError(), nullptr);
- }
-}
-
-void FakeModelTypeChangeProcessor::DisableSync() {}
-
-syncer::SyncError FakeModelTypeChangeProcessor::CreateAndUploadError(
- const tracked_objects::Location& location,
- const std::string& message) {
- return syncer::SyncError();
-}
-
-} // namespace syncer_v2
« no previous file with comments | « sync/api/fake_model_type_change_processor.h ('k') | sync/api/fake_model_type_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698