| Index: chrome/browser/ui/webui/signin/sync_confirmation_handler.h
|
| diff --git a/chrome/browser/ui/webui/signin/sync_confirmation_handler.h b/chrome/browser/ui/webui/signin/sync_confirmation_handler.h
|
| index 8953681eb80fb6a5796b90111bc26bb483e66101..5792dbc37999fcee1b3d17acb948e9ecf695321e 100644
|
| --- a/chrome/browser/ui/webui/signin/sync_confirmation_handler.h
|
| +++ b/chrome/browser/ui/webui/signin/sync_confirmation_handler.h
|
| @@ -8,7 +8,6 @@
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| -#include "chrome/browser/ui/browser_list_observer.h"
|
| #include "chrome/browser/ui/webui/signin/login_ui_service.h"
|
| #include "components/signin/core/browser/account_tracker_service.h"
|
| #include "content/public/browser/web_ui_message_handler.h"
|
| @@ -18,10 +17,9 @@
|
| }
|
|
|
| class SyncConfirmationHandler : public content::WebUIMessageHandler,
|
| - public AccountTrackerService::Observer,
|
| - public chrome::BrowserListObserver {
|
| + public AccountTrackerService::Observer {
|
| public:
|
| - explicit SyncConfirmationHandler(Browser* browser);
|
| + SyncConfirmationHandler();
|
| ~SyncConfirmationHandler() override;
|
|
|
| // content::WebUIMessageHandler:
|
| @@ -29,9 +27,6 @@
|
|
|
| // AccountTrackerService::Observer:
|
| void OnAccountUpdated(const AccountInfo& info) override;
|
| -
|
| - // chrome::BrowserListObserver:
|
| - void OnBrowserRemoved(Browser* browser) override;
|
|
|
| protected:
|
| // Handles "confirm" message from the page. No arguments.
|
| @@ -65,11 +60,6 @@
|
| LoginUIService::SyncConfirmationUIClosedResult result);
|
|
|
| private:
|
| - Profile* profile_;
|
| -
|
| - // Weak reference to the browser that showed the sync confirmation dialog.
|
| - Browser* browser_;
|
| -
|
| // Records whether the user clicked on Undo, Ok, or Settings.
|
| bool did_user_explicitly_interact;
|
|
|
|
|