| Index: components/search_engines/search_engine_data_type_controller.h
|
| diff --git a/components/search_engines/search_engine_data_type_controller.h b/components/search_engines/search_engine_data_type_controller.h
|
| index 6ba0967d1414d23b27b9ce5f74bccbb781aef13a..a7925b5c89380687a533589b6003bb55e48c23d0 100644
|
| --- a/components/search_engines/search_engine_data_type_controller.h
|
| +++ b/components/search_engines/search_engine_data_type_controller.h
|
| @@ -10,14 +10,15 @@
|
|
|
| #include "base/macros.h"
|
| #include "components/search_engines/template_url_service.h"
|
| -#include "components/sync/driver/non_ui_data_type_controller.h"
|
| +#include "components/sync/driver/async_directory_type_controller.h"
|
|
|
| namespace browser_sync {
|
|
|
| // Controller for the SEARCH_ENGINES sync data type. This class tells sync
|
| // how to load the model for this data type, and the superclasses manage
|
| // controlling the rest of the state of the datatype with regards to sync.
|
| -class SearchEngineDataTypeController : public syncer::NonUIDataTypeController {
|
| +class SearchEngineDataTypeController
|
| + : public syncer::AsyncDirectoryTypeController {
|
| public:
|
| // |dump_stack| is called when an unrecoverable error occurs.
|
| SearchEngineDataTypeController(const base::Closure& dump_stack,
|
| @@ -28,7 +29,7 @@ class SearchEngineDataTypeController : public syncer::NonUIDataTypeController {
|
| TemplateURLService::Subscription* GetSubscriptionForTesting();
|
|
|
| private:
|
| - // NonUIDataTypeController:
|
| + // AsyncDirectoryTypeController:
|
| bool StartModels() override;
|
| void StopModels() override;
|
|
|
|
|