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

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: Split off NWM stuff 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 d23724f5f27c735741a1a460f99e2e558edadb3c..a596b90e4289b5ecf4d41a482420a04fe8e2891b 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();

Powered by Google App Engine
This is Rietveld 408576698