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

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

Issue 2343463003: [Sync] Fix namespaces for the sync_sessions component. (Closed)
Patch Set: Fix gn. Created 4 years, 3 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 "components/sync/core/base_transaction.h" 9 #include "components/sync/core/base_transaction.h"
10 #include "components/sync/core/user_share.h" 10 #include "components/sync/core/user_share.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 92
93 bool FakeSyncService::HasUnrecoverableError() const { 93 bool FakeSyncService::HasUnrecoverableError() const {
94 return false; 94 return false;
95 } 95 }
96 96
97 bool FakeSyncService::IsBackendInitialized() const { 97 bool FakeSyncService::IsBackendInitialized() const {
98 return false; 98 return false;
99 } 99 }
100 100
101 OpenTabsUIDelegate* FakeSyncService::GetOpenTabsUIDelegate() { 101 sync_sessions::OpenTabsUIDelegate* FakeSyncService::GetOpenTabsUIDelegate() {
102 return nullptr; 102 return nullptr;
103 } 103 }
104 104
105 bool FakeSyncService::IsPassphraseRequiredForDecryption() const { 105 bool FakeSyncService::IsPassphraseRequiredForDecryption() const {
106 return false; 106 return false;
107 } 107 }
108 108
109 base::Time FakeSyncService::GetExplicitPassphraseTime() const { 109 base::Time FakeSyncService::GetExplicitPassphraseTime() const {
110 return base::Time(); 110 return base::Time();
111 } 111 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 syncer::TypeDebugInfoObserver* observer) {} 207 syncer::TypeDebugInfoObserver* observer) {}
208 208
209 base::WeakPtr<syncer::JsController> FakeSyncService::GetJsController() { 209 base::WeakPtr<syncer::JsController> FakeSyncService::GetJsController() {
210 return base::WeakPtr<syncer::JsController>(); 210 return base::WeakPtr<syncer::JsController>();
211 } 211 }
212 212
213 void FakeSyncService::GetAllNodes( 213 void FakeSyncService::GetAllNodes(
214 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {} 214 const base::Callback<void(std::unique_ptr<base::ListValue>)>& callback) {}
215 215
216 } // namespace sync_driver 216 } // 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