| 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 be6e65a9b92a068bb70f758e083749afd376a1f8..acceace2c60d69ae689df49b8e6b88ed6f54a6e1 100644
|
| --- a/components/sync_driver/data_type_controller.h
|
| +++ b/components/sync_driver/data_type_controller.h
|
| @@ -136,6 +136,13 @@ class DataTypeController
|
| // UserShare handle to associate model data with.
|
| void OnUserShareReady(syncer::UserShare* share);
|
|
|
| + // Whether the DataTypeController is ready to start. This is useful if the
|
| + // datatype itself must make the decision about whether it should be enabled
|
| + // at all (and therefore whether the initial download of the sync data for
|
| + // the type should be performed).
|
| + // Returns true by default.
|
| + virtual bool ReadyForStart() const;
|
| +
|
| protected:
|
| friend class base::RefCountedDeleteOnMessageLoop<DataTypeController>;
|
| friend class base::DeleteHelper<DataTypeController>;
|
|
|