| 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 d7369ac4a3a39c6b3275f96466e2e863c64ee17c..f6f713f6163b07316ee298fbff1760812a29be96 100644
|
| --- a/components/sync_driver/non_blocking_data_type_controller.h
|
| +++ b/components/sync_driver/non_blocking_data_type_controller.h
|
| @@ -16,6 +16,8 @@ class SyncClient;
|
|
|
| namespace syncer_v2 {
|
| struct ActivationContext;
|
| +class ModelTypeChangeProcessor;
|
| +class ModelTypeService;
|
| class SharedModelTypeProcessor;
|
| }
|
|
|
| @@ -106,6 +108,16 @@ class NonBlockingDataTypeController : public sync_driver::DataTypeController {
|
| syncer::SyncError error,
|
| scoped_ptr<syncer_v2::ActivationContext> activation_context);
|
|
|
| + // The function will do the work on model thread for function LoadModels().
|
| + void LoadModelsOnModelThread();
|
| +
|
| + // The function will do the work on model thread for function Stop().
|
| + void StopOnModelThread();
|
| +
|
| + // The function will create SharedModelTypeProcessor.
|
| + scoped_ptr<syncer_v2::ModelTypeChangeProcessor>
|
| + CreateSharedModelTypeProcessor(syncer_v2::ModelTypeService* service);
|
| +
|
| // Model Type for this controller
|
| syncer::ModelType model_type_;
|
|
|
|
|