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

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

Issue 2276943006: [USS] Move GetAllNodes from backend to controller (Closed)
Patch Set: remove task runnner 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 122d4803dbe7924eb11aac70fbcf42314a0078e6..667e7b8ecab46164767a28c9c71ed3652c5e0475 100644
--- a/components/sync/driver/glue/sync_backend_host_impl.cc
+++ b/components/sync/driver/glue/sync_backend_host_impl.cc
@@ -519,16 +519,6 @@ void SyncBackendHostImpl::DisableDirectoryTypeDebugInfoForwarding() {
core_));
}
-void SyncBackendHostImpl::GetAllNodesForTypes(
- syncer::ModelTypeSet types,
- base::Callback<void(const std::vector<syncer::ModelType>&,
- ScopedVector<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(

Powered by Google App Engine
This is Rietveld 408576698