Index: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h |
diff --git a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h |
index a466abdbf426a2318be87bda6d0d6ff4d2bd0543..ffa5f5792f24a509871a0f78512dc49a6a6bfe4f 100644 |
--- a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h |
+++ b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h |
@@ -4,8 +4,6 @@ |
#ifndef CHROME_BROWSER_UI_VIEWS_SYNC_PROFILE_SIGNIN_CONFIRMATION_DIALOG_VIEWS_H_ |
#define CHROME_BROWSER_UI_VIEWS_SYNC_PROFILE_SIGNIN_CONFIRMATION_DIALOG_VIEWS_H_ |
- |
-#include <memory> |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
@@ -25,17 +23,16 @@ |
public views::ButtonListener { |
public: |
// Create and show the dialog, which owns itself. |
- static void ShowDialog( |
- Browser* browser, |
- Profile* profile, |
- const std::string& username, |
- std::unique_ptr<ui::ProfileSigninConfirmationDelegate> delegate); |
+ static void ShowDialog(Browser* browser, |
+ Profile* profile, |
+ const std::string& username, |
+ ui::ProfileSigninConfirmationDelegate* delegate); |
private: |
ProfileSigninConfirmationDialogViews( |
Browser* browser, |
const std::string& username, |
- std::unique_ptr<ui::ProfileSigninConfirmationDelegate> delegate); |
+ ui::ProfileSigninConfirmationDelegate* delegate); |
~ProfileSigninConfirmationDialogViews() override; |
// views::DialogDelegateView: |
@@ -72,7 +69,7 @@ |
std::string username_; |
// Dialog button handler. |
- std::unique_ptr<ui::ProfileSigninConfirmationDelegate> delegate_; |
+ ui::ProfileSigninConfirmationDelegate* delegate_; |
// Whether the user should be prompted to create a new profile. |
bool prompt_for_new_profile_; |