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

Side by Side Diff: components/sync_driver/fake_sync_service.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_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 "sync/internal_api/public/base_transaction.h" 9 #include "components/sync/core/base_transaction.h"
10 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" 10 #include "components/sync/core/user_share.h"
11 #include "sync/internal_api/public/user_share.h" 11 #include "components/sync/sessions/sync_session_snapshot.h"
12 12
13 namespace sync_driver { 13 namespace sync_driver {
14 14
15 FakeSyncService::FakeSyncService() 15 FakeSyncService::FakeSyncService()
16 : error_(GoogleServiceAuthError::NONE), 16 : error_(GoogleServiceAuthError::NONE),
17 user_share_(base::WrapUnique(new syncer::UserShare())) {} 17 user_share_(base::WrapUnique(new syncer::UserShare())) {}
18 18
19 FakeSyncService::~FakeSyncService() { 19 FakeSyncService::~FakeSyncService() {
20 } 20 }
21 21
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 syncer::TypeDebugInfoObserver* observer) {} 217 syncer::TypeDebugInfoObserver* observer) {}
218 218
219 base::WeakPtr<syncer::JsController> FakeSyncService::GetJsController() { 219 base::WeakPtr<syncer::JsController> FakeSyncService::GetJsController() {
220 return base::WeakPtr<syncer::JsController>(); 220 return base::WeakPtr<syncer::JsController>();
221 } 221 }
222 222
223 void FakeSyncService::GetAllNodes( 223 void FakeSyncService::GetAllNodes(
224 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} 224 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {}
225 225
226 } // namespace sync_driver 226 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/fake_sync_service.h ('k') | components/sync_driver/frontend_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698