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

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

Issue 2066493003: Revert of Sync: Support multiple setup UIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « components/sync_driver/fake_sync_service.h ('k') | components/sync_driver/sync_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 std::unique_ptr<SyncSetupInProgressHandle> 82 void FakeSyncService::SetSetupInProgress(bool setup_in_progress) {
83 FakeSyncService::GetSetupInProgressHandle() {
84 return nullptr;
85 } 83 }
86 84
87 bool FakeSyncService::IsSetupInProgress() const { 85 bool FakeSyncService::IsSetupInProgress() const {
88 return false; 86 return false;
89 } 87 }
90 88
91 bool FakeSyncService::ConfigurationDone() const { 89 bool FakeSyncService::ConfigurationDone() const {
92 return false; 90 return false;
93 } 91 }
94 92
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 syncer::TypeDebugInfoObserver* observer) {} 215 syncer::TypeDebugInfoObserver* observer) {}
218 216
219 base::WeakPtr<syncer::JsController> FakeSyncService::GetJsController() { 217 base::WeakPtr<syncer::JsController> FakeSyncService::GetJsController() {
220 return base::WeakPtr<syncer::JsController>(); 218 return base::WeakPtr<syncer::JsController>();
221 } 219 }
222 220
223 void FakeSyncService::GetAllNodes( 221 void FakeSyncService::GetAllNodes(
224 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} 222 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {}
225 223
226 } // namespace sync_driver 224 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/fake_sync_service.h ('k') | components/sync_driver/sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698