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

Unified Diff: sync/api/fake_sync_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_sync_change_processor.h ('k') | sync/api/fake_syncable_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/api/fake_sync_change_processor.cc
diff --git a/sync/api/fake_sync_change_processor.cc b/sync/api/fake_sync_change_processor.cc
deleted file mode 100644
index b9adf88a7cab65e5dfda9b1a42cc954202d23a8e..0000000000000000000000000000000000000000
--- a/sync/api/fake_sync_change_processor.cc
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright 2013 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_sync_change_processor.h"
-
-#include "sync/api/sync_change.h"
-#include "sync/api/sync_data.h"
-
-namespace syncer {
-
-FakeSyncChangeProcessor::FakeSyncChangeProcessor() {}
-
-FakeSyncChangeProcessor::~FakeSyncChangeProcessor() {}
-
-syncer::SyncError FakeSyncChangeProcessor::ProcessSyncChanges(
- const tracked_objects::Location& from_here,
- const syncer::SyncChangeList& change_list) {
- changes_.insert(
- changes_.end(), change_list.begin(), change_list.end());
- return syncer::SyncError();
-}
-
-syncer::SyncDataList FakeSyncChangeProcessor::GetAllSyncData(
- syncer::ModelType type) const {
- return data_;
-}
-
-syncer::SyncError FakeSyncChangeProcessor::UpdateDataTypeContext(
- ModelType type,
- ContextRefreshStatus refresh_status,
- const std::string& context) {
- context_ = context;
- return syncer::SyncError();
-}
-
-const syncer::SyncChangeList& FakeSyncChangeProcessor::changes() const {
- return changes_;
-}
-
-syncer::SyncChangeList& FakeSyncChangeProcessor::changes() {
- return changes_;
-}
-
-const syncer::SyncDataList& FakeSyncChangeProcessor::data() const {
- return data_;
-}
-
-syncer::SyncDataList& FakeSyncChangeProcessor::data() {
- return data_;
-}
-
-const std::string& FakeSyncChangeProcessor::context() const {
- return context_;
-}
-
-std::string& FakeSyncChangeProcessor::context() {
- return context_;
-}
-
-} // namespace syncer
« no previous file with comments | « sync/api/fake_sync_change_processor.h ('k') | sync/api/fake_syncable_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698