Index: components/sync/driver/data_type_controller.h |
diff --git a/components/sync/driver/data_type_controller.h b/components/sync/driver/data_type_controller.h |
index 76d0c63b060af31ae1feeb17942e3ca35a2c7ac5..1973b84728d929da1300dab6a61ecca3ed04691c 100644 |
--- a/components/sync/driver/data_type_controller.h |
+++ b/components/sync/driver/data_type_controller.h |
@@ -100,9 +100,10 @@ class DataTypeController : public base::SupportsWeakPtr<DataTypeController> { |
// Registers with sync backend if needed. This function is called by |
// DataTypeManager before downloading initial data. Non-blocking types need to |
- // pass activation context containing progress marker to sync backend before |
- // initial download starts. |
- virtual void RegisterWithBackend(ModelTypeConfigurer* configurer) = 0; |
+ // pass activation context containing progress marker to sync backend and use |
+ // |set_downloaded| to inform the manager whether their initial sync is done. |
+ virtual void RegisterWithBackend(base::Callback<void(bool)> set_downloaded, |
+ ModelTypeConfigurer* configurer) = 0; |
// Will start a potentially asynchronous operation to perform the |
// model association. Once the model association is done the callback will |