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

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: clean code 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 ScopedVector<base::ListValue>)> type) override;
147 base::MessageLoop* GetSyncLoopForTesting() override; 143 base::MessageLoop* GetSyncLoopForTesting() override;
148 void RefreshTypesForTest(syncer::ModelTypeSet types) override; 144 void RefreshTypesForTest(syncer::ModelTypeSet types) override;
149 void ClearServerData( 145 void ClearServerData(
150 const syncer::SyncManager::ClearServerDataCallback& callback) override; 146 const syncer::SyncManager::ClearServerDataCallback& callback) override;
151 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override; 147 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override;
152 148
153 // InvalidationHandler implementation. 149 // InvalidationHandler implementation.
154 void OnInvalidatorStateChange(syncer::InvalidatorState state) override; 150 void OnInvalidatorStateChange(syncer::InvalidatorState state) override;
155 void OnIncomingInvalidation( 151 void OnIncomingInvalidation(
156 const syncer::ObjectIdInvalidationMap& invalidation_map) override; 152 const syncer::ObjectIdInvalidationMap& invalidation_map) override;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 bool invalidation_handler_registered_; 368 bool invalidation_handler_registered_;
373 369
374 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 370 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
375 371
376 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 372 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
377 }; 373 };
378 374
379 } // namespace browser_sync 375 } // namespace browser_sync
380 376
381 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 377 #endif // COMPONENTS_SYNC_DRIVER_GLUE_SYNC_BACKEND_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698