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

Unified Diff: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h

Issue 2632123003: Revert of MacViews: Allow the toolkit-views Enterprise Signin Confirmation Dialog to be used (Closed)
Patch Set: 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/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_;

Powered by Google App Engine
This is Rietveld 408576698