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

Unified Diff: components/sync/driver/change_processor.cc

Issue 2508003002: [Sync] Move ChangeProcessor to model/. (Closed)
Patch Set: Created 4 years, 1 month 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 | « components/sync/driver/change_processor.h ('k') | components/sync/driver/change_processor_mock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/change_processor.cc
diff --git a/components/sync/driver/change_processor.cc b/components/sync/driver/change_processor.cc
deleted file mode 100644
index 9d81f145269bd538bd1899fba5f4ad4b26c772d3..0000000000000000000000000000000000000000
--- a/components/sync/driver/change_processor.cc
+++ /dev/null
@@ -1,34 +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/change_processor.h"
-
-#include <utility>
-
-namespace syncer {
-
-ChangeProcessor::ChangeProcessor(
- std::unique_ptr<DataTypeErrorHandler> error_handler)
- : error_handler_(std::move(error_handler)), share_handle_(nullptr) {}
-
-ChangeProcessor::~ChangeProcessor() {}
-
-void ChangeProcessor::Start(UserShare* share_handle) {
- DCHECK(!share_handle_);
- share_handle_ = share_handle;
- StartImpl();
-}
-
-// Not implemented by default.
-void ChangeProcessor::CommitChangesFromSyncModel() {}
-
-DataTypeErrorHandler* ChangeProcessor::error_handler() const {
- return error_handler_.get();
-}
-
-UserShare* ChangeProcessor::share_handle() const {
- return share_handle_;
-}
-
-} // namespace syncer
« no previous file with comments | « components/sync/driver/change_processor.h ('k') | components/sync/driver/change_processor_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698