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

Side by Side Diff: components/sync_driver/fake_sync_client.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, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_driver/fake_sync_client.h" 5 #include "components/sync_driver/fake_sync_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "components/sync/base/extensions_activity.h"
9 #include "components/sync_driver/fake_sync_service.h" 10 #include "components/sync_driver/fake_sync_service.h"
10 #include "components/sync_driver/sync_prefs.h" 11 #include "components/sync_driver/sync_prefs.h"
11 #include "sync/util/extensions_activity.h"
12 12
13 namespace sync_driver { 13 namespace sync_driver {
14 14
15 namespace { 15 namespace {
16 16
17 void DummyRegisterPlatformTypesCallback(SyncService* sync_service, 17 void DummyRegisterPlatformTypesCallback(SyncService* sync_service,
18 syncer::ModelTypeSet, 18 syncer::ModelTypeSet,
19 syncer::ModelTypeSet) {} 19 syncer::ModelTypeSet) {}
20 20
21 } // namespace 21 } // namespace
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() { 111 SyncApiComponentFactory* FakeSyncClient::GetSyncApiComponentFactory() {
112 return factory_; 112 return factory_;
113 } 113 }
114 114
115 void FakeSyncClient::SetModelTypeService( 115 void FakeSyncClient::SetModelTypeService(
116 syncer_v2::ModelTypeService* model_type_service) { 116 syncer_v2::ModelTypeService* model_type_service) {
117 model_type_service_ = model_type_service; 117 model_type_service_ = model_type_service;
118 } 118 }
119 119
120 } // namespace sync_driver 120 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/fake_generic_change_processor.cc ('k') | components/sync_driver/fake_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698