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

Side by Side Diff: components/sync_driver/fake_sync_service.cc

Issue 2044303004: Sync: Support multiple setup UIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename variable Created 4 years, 6 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 "sync/internal_api/public/base_transaction.h"
10 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" 10 #include "sync/internal_api/public/sessions/sync_session_snapshot.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void FakeSyncService::OnUserChoseDatatypes(bool sync_everything, 72 void FakeSyncService::OnUserChoseDatatypes(bool sync_everything,
73 syncer::ModelTypeSet chosen_types) { 73 syncer::ModelTypeSet chosen_types) {
74 } 74 }
75 75
76 void FakeSyncService::SetFirstSetupComplete() {} 76 void FakeSyncService::SetFirstSetupComplete() {}
77 77
78 bool FakeSyncService::IsFirstSetupInProgress() const { 78 bool FakeSyncService::IsFirstSetupInProgress() const {
79 return false; 79 return false;
80 } 80 }
81 81
82 void FakeSyncService::SetSetupInProgress(bool setup_in_progress) { 82 std::unique_ptr<SyncSetupInProgressHandle>
83 FakeSyncService::GetSetupInProgressHandle() {
84 return nullptr;
83 } 85 }
84 86
85 bool FakeSyncService::IsSetupInProgress() const { 87 bool FakeSyncService::IsSetupInProgress() const {
86 return false; 88 return false;
87 } 89 }
88 90
89 bool FakeSyncService::ConfigurationDone() const { 91 bool FakeSyncService::ConfigurationDone() const {
90 return false; 92 return false;
91 } 93 }
92 94
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 syncer::TypeDebugInfoObserver* observer) {} 217 syncer::TypeDebugInfoObserver* observer) {}
216 218
217 base::WeakPtr<syncer::JsController> FakeSyncService::GetJsController() { 219 base::WeakPtr<syncer::JsController> FakeSyncService::GetJsController() {
218 return base::WeakPtr<syncer::JsController>(); 220 return base::WeakPtr<syncer::JsController>();
219 } 221 }
220 222
221 void FakeSyncService::GetAllNodes( 223 void FakeSyncService::GetAllNodes(
222 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} 224 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {}
223 225
224 } // namespace sync_driver 226 } // namespace sync_driver
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698