Index: components/sync_driver/backend_data_type_configurer.h |
diff --git a/components/sync_driver/backend_data_type_configurer.h b/components/sync_driver/backend_data_type_configurer.h |
index 964f63c62c1116fb9dc98f07bac1fce17f26317f..dec42bb34df53b162066848483d1719818fc64ea 100644 |
--- a/components/sync_driver/backend_data_type_configurer.h |
+++ b/components/sync_driver/backend_data_type_configurer.h |
@@ -42,17 +42,19 @@ class BackendDataTypeConfigurer { |
// is called when configuration is done with the set of data types |
// that succeeded/failed configuration (i.e., configuration succeeded iff |
// the failed set is empty). |
+ // Returns: the set of types that are already configured and are ready to |
+ // start. |
// |
// TODO(akalin): Use a Delegate class with |
// OnConfigureSuccess/OnConfigureFailure/OnConfigureRetry instead of |
// a pair of callbacks. The awkward part is handling when |
// SyncBackendHost calls ConfigureDataTypes on itself to configure |
// Nigori. |
- virtual void ConfigureDataTypes( |
+ virtual syncer::ModelTypeSet ConfigureDataTypes( |
syncer::ConfigureReason reason, |
const DataTypeConfigStateMap& config_state_map, |
- const base::Callback<void(syncer::ModelTypeSet, |
- syncer::ModelTypeSet)>& ready_task, |
+ const base::Callback<void(syncer::ModelTypeSet, syncer::ModelTypeSet)>& |
+ ready_task, |
const base::Callback<void()>& retry_callback) = 0; |
// Return model types in |state_map| that match |state|. |