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

Unified Diff: components/sync/driver/glue/sync_backend_host_impl.cc

Issue 2276943006: [USS] Move GetAllNodes from backend to controller (Closed)
Patch Set: update for Max Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: components/sync/driver/glue/sync_backend_host_impl.cc
diff --git a/components/sync/driver/glue/sync_backend_host_impl.cc b/components/sync/driver/glue/sync_backend_host_impl.cc
index 4e9d782461178c760deb0eecf4dfde550c2f9c80..340ed57481a86fc7414a50f9fd7161db74280d58 100644
--- a/components/sync/driver/glue/sync_backend_host_impl.cc
+++ b/components/sync/driver/glue/sync_backend_host_impl.cc
@@ -520,17 +520,6 @@ void SyncBackendHostImpl::DisableDirectoryTypeDebugInfoForwarding() {
core_));
}
-void SyncBackendHostImpl::GetAllNodesForTypes(
- syncer::ModelTypeSet types,
- base::Callback<void(const std::vector<syncer::ModelType>&,
- std::vector<std::unique_ptr<base::ListValue>>)>
- callback) {
- DCHECK(initialized());
- registrar_->sync_thread()->task_runner()->PostTask(
- FROM_HERE, base::Bind(&SyncBackendHostCore::GetAllNodesForTypes, core_,
- types, frontend_task_runner_, callback));
-}
-
void SyncBackendHostImpl::InitCore(
std::unique_ptr<DoInitializeOptions> options) {
registrar_->sync_thread()->task_runner()->PostTask(
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl.h ('k') | components/sync/driver/glue/sync_backend_host_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698