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

Side by Side Diff: components/sync/api/sync_change_processor_wrapper_for_test.cc

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/sync/api/sync_change_processor_wrapper_for_test.h" 5 #include "components/sync/api/sync_change_processor_wrapper_for_test.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 SyncChangeProcessorWrapperForTest::SyncChangeProcessorWrapperForTest( 9 SyncChangeProcessorWrapperForTest::SyncChangeProcessorWrapperForTest(
10 syncer::SyncChangeProcessor* wrapped) 10 SyncChangeProcessor* wrapped)
11 : wrapped_(wrapped) { 11 : wrapped_(wrapped) {
12 DCHECK(wrapped_); 12 DCHECK(wrapped_);
13 } 13 }
14 14
15 SyncChangeProcessorWrapperForTest::~SyncChangeProcessorWrapperForTest() {} 15 SyncChangeProcessorWrapperForTest::~SyncChangeProcessorWrapperForTest() {}
16 16
17 syncer::SyncError SyncChangeProcessorWrapperForTest::ProcessSyncChanges( 17 SyncError SyncChangeProcessorWrapperForTest::ProcessSyncChanges(
18 const tracked_objects::Location& from_here, 18 const tracked_objects::Location& from_here,
19 const syncer::SyncChangeList& change_list) { 19 const SyncChangeList& change_list) {
20 return wrapped_->ProcessSyncChanges(from_here, change_list); 20 return wrapped_->ProcessSyncChanges(from_here, change_list);
21 } 21 }
22 22
23 syncer::SyncDataList SyncChangeProcessorWrapperForTest::GetAllSyncData( 23 SyncDataList SyncChangeProcessorWrapperForTest::GetAllSyncData(
24 syncer::ModelType type) const { 24 ModelType type) const {
25 return wrapped_->GetAllSyncData(type); 25 return wrapped_->GetAllSyncData(type);
26 } 26 }
27 27
28 } // namespace syncer 28 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/api/sync_change_processor_wrapper_for_test.h ('k') | components/sync/api/sync_change_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698