Chromium Code Reviews| 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..07f2a2bdb91863f7bcab5bd5a5e58b0a05877242 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,26 @@ 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); |
| + explicit TypedUrlDataTypeController(const base::Closure& dump_stack, |
|
sky
2016/09/02 14:06:28
no explicit.
maxbogue
2016/09/02 21:15:08
Done.
|
| + 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 |