| Index: chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.h
|
| diff --git a/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.h b/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.h
|
| index 976ef13136da75e9c33a032a8c4ccc1f12a8867a..e53c7cc9b5533b135737b3e56309ddb16b5d5285 100644
|
| --- a/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.h
|
| +++ b/chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.h
|
| @@ -38,16 +38,17 @@ class ProfileSigninConfirmationDialogCocoa : ConstrainedWindowMacDelegate {
|
| content::WebContents* web_contents,
|
| Profile* profile,
|
| const std::string& username,
|
| - ui::ProfileSigninConfirmationDelegate* delegate,
|
| + std::unique_ptr<ui::ProfileSigninConfirmationDelegate> delegate,
|
| bool offer_profile_creation);
|
| virtual ~ProfileSigninConfirmationDialogCocoa();
|
|
|
| // Shows the dialog if needed.
|
| - static void Show(Browser* browser,
|
| - content::WebContents* web_contents,
|
| - Profile* profile,
|
| - const std::string& username,
|
| - ui::ProfileSigninConfirmationDelegate* delegate);
|
| + static void Show(
|
| + Browser* browser,
|
| + content::WebContents* web_contents,
|
| + Profile* profile,
|
| + const std::string& username,
|
| + std::unique_ptr<ui::ProfileSigninConfirmationDelegate> delegate);
|
|
|
| // Closes the dialog, which deletes itself.
|
| void Close();
|
|
|