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

Unified Diff: components/sync_driver/shared_change_processor_ref.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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_driver/shared_change_processor_ref.cc
diff --git a/components/sync_driver/shared_change_processor_ref.cc b/components/sync_driver/shared_change_processor_ref.cc
deleted file mode 100644
index 0ba26057f402ef6a5b4ea6afc06a587431e69b98..0000000000000000000000000000000000000000
--- a/components/sync_driver/shared_change_processor_ref.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2014 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 "components/sync_driver/shared_change_processor_ref.h"
-
-namespace sync_driver {
-
-SharedChangeProcessorRef::SharedChangeProcessorRef(
- const scoped_refptr<SharedChangeProcessor>& change_processor)
- : change_processor_(change_processor) {
- DCHECK(change_processor_.get());
-}
-
-SharedChangeProcessorRef::~SharedChangeProcessorRef() {}
-
-syncer::SyncError SharedChangeProcessorRef::ProcessSyncChanges(
- const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) {
- return change_processor_->ProcessSyncChanges(from_here, change_list);
-}
-
-syncer::SyncDataList SharedChangeProcessorRef::GetAllSyncData(
- syncer::ModelType type) const {
- return change_processor_->GetAllSyncData(type);
-}
-
-syncer::SyncError SharedChangeProcessorRef::UpdateDataTypeContext(
- syncer::ModelType type,
- syncer::SyncChangeProcessor::ContextRefreshStatus refresh_status,
- const std::string& context) {
- return change_processor_->UpdateDataTypeContext(
- type, refresh_status, context);
-}
-
-syncer::SyncError SharedChangeProcessorRef::CreateAndUploadError(
- const tracked_objects::Location& from_here,
- const std::string& message) {
- return change_processor_->CreateAndUploadError(from_here, message);
-}
-
-} // namespace sync_driver
« no previous file with comments | « components/sync_driver/shared_change_processor_ref.h ('k') | components/sync_driver/shared_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698