1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "sync/api/sync_change_processor_wrapper_for_test.h" 6 7 namespace syncer { 8 SyncChangeProcessorWrapperForTest(syncer::SyncChangeProcessor * wrapped)9SyncChangeProcessorWrapperForTest::SyncChangeProcessorWrapperForTest( 10 syncer::SyncChangeProcessor* wrapped) 11 : wrapped_(wrapped) { 12 DCHECK(wrapped_); 13 } 14 ~SyncChangeProcessorWrapperForTest()15SyncChangeProcessorWrapperForTest::~SyncChangeProcessorWrapperForTest() {} 16 ProcessSyncChanges(const tracked_objects::Location & from_here,const syncer::SyncChangeList & change_list)17syncer::SyncError SyncChangeProcessorWrapperForTest::ProcessSyncChanges( 18 const tracked_objects::Location& from_here, 19 const syncer::SyncChangeList& change_list) { 20 return wrapped_->ProcessSyncChanges(from_here, change_list); 21 } 22 GetAllSyncData(syncer::ModelType type) const23syncer::SyncDataList SyncChangeProcessorWrapperForTest::GetAllSyncData( 24 syncer::ModelType type) const { 25 return wrapped_->GetAllSyncData(type); 26 } 27 28 } // namespace syncer 29