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

Unified Diff: components/sync/driver/non_blocking_data_type_controller.h

Issue 2276943006: [USS] Move GetAllNodes from backend to controller (Closed)
Patch Set: 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/non_blocking_data_type_controller.h
diff --git a/components/sync/driver/non_blocking_data_type_controller.h b/components/sync/driver/non_blocking_data_type_controller.h
index f98661e0b5e92e7010cb3cd55180d25d552c2821..5dc1993a355714a3858815f160a99a84c930c7bb 100644
--- a/components/sync/driver/non_blocking_data_type_controller.h
+++ b/components/sync/driver/non_blocking_data_type_controller.h
@@ -43,6 +43,8 @@ class NonBlockingDataTypeController : public sync_driver::DataTypeController {
// DataTypeController interface.
bool ShouldLoadModelBeforeConfigure() const override;
void LoadModels(const ModelLoadCallback& model_load_callback) override;
+ void GetAllNodes(scoped_refptr<base::SequencedTaskRunner> task_runner,
+ const AllNodesCallback& callback) override;
// Registers non-blocking data type with sync backend. In the process the
// activation context is passed to ModelTypeRegistry, where ModelTypeWorker

Powered by Google App Engine
This is Rietveld 408576698