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

Unified Diff: chrome/browser/sync/glue/shared_change_processor_ref.cc

Issue 303263002: sync: move SharedChangeProcessor to components/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 6 years, 7 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: chrome/browser/sync/glue/shared_change_processor_ref.cc
diff --git a/chrome/browser/sync/glue/shared_change_processor_ref.cc b/chrome/browser/sync/glue/shared_change_processor_ref.cc
deleted file mode 100644
index 632ec85111f665024e90b78b12a079755886dee3..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/glue/shared_change_processor_ref.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 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 "chrome/browser/sync/glue/shared_change_processor_ref.h"
-
-namespace browser_sync {
-
-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 browser_sync
« no previous file with comments | « chrome/browser/sync/glue/shared_change_processor_ref.h ('k') | chrome/browser/sync/glue/shared_change_processor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698