| Index: components/history/core/browser/typed_url_data_type_controller.h
|
| diff --git a/components/history/core/browser/typed_url_data_type_controller.h b/components/history/core/browser/typed_url_data_type_controller.h
|
| index 92dd02760aee14d398b3dad37b179a8a625d5a8d..9d51bbf3645a1014c34dfa63f866004f7d70195a 100644
|
| --- a/components/history/core/browser/typed_url_data_type_controller.h
|
| +++ b/components/history/core/browser/typed_url_data_type_controller.h
|
| @@ -26,35 +26,27 @@ class ControlTask;
|
| // A class that manages the startup and shutdown of typed_url sync.
|
| class TypedUrlDataTypeController : public sync_driver::NonUIDataTypeController {
|
| public:
|
| - explicit TypedUrlDataTypeController(
|
| - const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
|
| - const base::Closure& error_callback,
|
| - sync_driver::SyncClient* sync_client,
|
| - const char* history_disabled_pref_name);
|
| + // |dump_stack| is called when an unrecoverable error occurs.
|
| + TypedUrlDataTypeController(const base::Closure& dump_stack,
|
| + sync_driver::SyncClient* sync_client,
|
| + const char* history_disabled_pref_name);
|
| + ~TypedUrlDataTypeController() override;
|
|
|
| // NonUIDataTypeController implementation
|
| - syncer::ModelType type() const override;
|
| syncer::ModelSafeGroup model_safe_group() const override;
|
| bool ReadyForStart() const override;
|
|
|
| - // Invoked on the history thread to set our history backend - must be called
|
| - // before CreateSyncComponents() is invoked.
|
| - void SetBackend(history::HistoryBackend* backend);
|
| -
|
| protected:
|
| // NonUIDataTypeController interface.
|
| bool PostTaskOnBackendThread(const tracked_objects::Location& from_here,
|
| const base::Closure& task) override;
|
|
|
| private:
|
| - ~TypedUrlDataTypeController() override;
|
| -
|
| void OnSavingBrowserHistoryDisabledChanged();
|
|
|
| // Name of the pref that indicates whether saving history is disabled.
|
| const char* history_disabled_pref_name_;
|
|
|
| - history::HistoryBackend* backend_;
|
| PrefChangeRegistrar pref_registrar_;
|
|
|
| // Helper object to make sure we don't leave tasks running on the history
|
|
|