| Index: chrome/browser/ui/webui/history_login_handler.h
|
| diff --git a/chrome/browser/ui/webui/history_login_handler.h b/chrome/browser/ui/webui/history_login_handler.h
|
| index f10ab5259490ca892b6ede7097ea9e3550d082eb..0d2cc590d6c4c4d089f82d46d63e762ce2c85b90 100644
|
| --- a/chrome/browser/ui/webui/history_login_handler.h
|
| +++ b/chrome/browser/ui/webui/history_login_handler.h
|
| @@ -12,10 +12,15 @@
|
|
|
| class ProfileInfoWatcher;
|
|
|
| +namespace content {
|
| +class WebUIDataSource;
|
| +}
|
| +
|
| // The handler for login-related messages from chrome://history.
|
| class HistoryLoginHandler : public content::WebUIMessageHandler {
|
| public:
|
| - HistoryLoginHandler();
|
| + explicit HistoryLoginHandler(
|
| + const base::Callback<void(bool)>& signin_callback);
|
| ~HistoryLoginHandler() override;
|
|
|
| // WebUIMessageHandler implementation.
|
| @@ -35,6 +40,8 @@ class HistoryLoginHandler : public content::WebUIMessageHandler {
|
| // changes).
|
| std::unique_ptr<ProfileInfoWatcher> profile_info_watcher_;
|
|
|
| + base::Callback<void(bool)> signin_callback_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(HistoryLoginHandler);
|
| };
|
|
|
|
|