Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6799)

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.h

Issue 2625813003: MacViews: Allow the toolkit-views Enterprise Signin Confirmation Dialog to be used (Closed)
Patch Set: Rebase (DID NOT LAND) Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/cocoa/profiles/profile_signin_confirmation_dialog_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698