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

Side by Side Diff: components/sync/driver/fake_sync_service.cc

Issue 2407163004: [Sync] Move some directory-related things from core/ to syncable/. (Closed)
Patch Set: 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 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_service.h" 5 #include "components/sync/driver/fake_sync_service.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "components/sync/core/base_transaction.h"
10 #include "components/sync/core/user_share.h"
11 #include "components/sync/driver/data_type_controller.h" 9 #include "components/sync/driver/data_type_controller.h"
10 #include "components/sync/syncable/base_transaction.h"
11 #include "components/sync/syncable/user_share.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 14
15 FakeSyncService::FakeSyncService() 15 FakeSyncService::FakeSyncService()
16 : error_(GoogleServiceAuthError::NONE), 16 : error_(GoogleServiceAuthError::NONE),
17 user_share_(base::MakeUnique<UserShare>()) {} 17 user_share_(base::MakeUnique<UserShare>()) {}
18 18
19 FakeSyncService::~FakeSyncService() {} 19 FakeSyncService::~FakeSyncService() {}
20 20
21 bool FakeSyncService::IsFirstSetupComplete() const { 21 bool FakeSyncService::IsFirstSetupComplete() const {
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 TypeDebugInfoObserver* observer) {} 204 TypeDebugInfoObserver* observer) {}
205 205
206 base::WeakPtr<JsController> FakeSyncService::GetJsController() { 206 base::WeakPtr<JsController> FakeSyncService::GetJsController() {
207 return base::WeakPtr<JsController>(); 207 return base::WeakPtr<JsController>();
208 } 208 }
209 209
210 void FakeSyncService::GetAllNodes( 210 void FakeSyncService::GetAllNodes(
211 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} 211 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {}
212 212
213 } // namespace syncer 213 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/driver/directory_data_type_controller.cc ('k') | components/sync/driver/generic_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698