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

Side by Side Diff: components/sync/driver/glue/sync_backend_host_impl.h

Issue 2276943006: [USS] Move GetAllNodes from backend to controller (Closed)
Patch Set: update for Max 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_
6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 6 #define COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 base::Time GetExplicitPassphraseTime() const override; 133 base::Time GetExplicitPassphraseTime() const override;
134 bool IsCryptographerReady( 134 bool IsCryptographerReady(
135 const syncer::BaseTransaction* trans) const override; 135 const syncer::BaseTransaction* trans) const override;
136 void GetModelSafeRoutingInfo( 136 void GetModelSafeRoutingInfo(
137 syncer::ModelSafeRoutingInfo* out) const override; 137 syncer::ModelSafeRoutingInfo* out) const override;
138 void FlushDirectory() const override; 138 void FlushDirectory() const override;
139 void RequestBufferedProtocolEventsAndEnableForwarding() override; 139 void RequestBufferedProtocolEventsAndEnableForwarding() override;
140 void DisableProtocolEventForwarding() override; 140 void DisableProtocolEventForwarding() override;
141 void EnableDirectoryTypeDebugInfoForwarding() override; 141 void EnableDirectoryTypeDebugInfoForwarding() override;
142 void DisableDirectoryTypeDebugInfoForwarding() override; 142 void DisableDirectoryTypeDebugInfoForwarding() override;
143 void GetAllNodesForTypes(
144 syncer::ModelTypeSet types,
145 base::Callback<void(const std::vector<syncer::ModelType>&,
146 std::vector<std::unique_ptr<base::ListValue>>)> type)
147 override;
148 base::MessageLoop* GetSyncLoopForTesting() override; 143 base::MessageLoop* GetSyncLoopForTesting() override;
149 void RefreshTypesForTest(syncer::ModelTypeSet types) override; 144 void RefreshTypesForTest(syncer::ModelTypeSet types) override;
150 void ClearServerData( 145 void ClearServerData(
151 const syncer::SyncManager::ClearServerDataCallback& callback) override; 146 const syncer::SyncManager::ClearServerDataCallback& callback) override;
152 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override; 147 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override;
153 148
154 // InvalidationHandler implementation. 149 // InvalidationHandler implementation.
155 void OnInvalidatorStateChange(syncer::InvalidatorState state) override; 150 void OnInvalidatorStateChange(syncer::InvalidatorState state) override;
156 void OnIncomingInvalidation( 151 void OnIncomingInvalidation(
157 const syncer::ObjectIdInvalidationMap& invalidation_map) override; 152 const syncer::ObjectIdInvalidationMap& invalidation_map) override;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 bool invalidation_handler_registered_; 369 bool invalidation_handler_registered_;
375 370
376 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 371 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
377 372
378 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 373 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
379 }; 374 };
380 375
381 } // namespace browser_sync 376 } // namespace browser_sync
382 377
383 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 378 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_core.cc ('k') | components/sync/driver/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698