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

Unified Diff: chrome/browser/ui/sync/one_click_signin_sync_starter.cc

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
« no previous file with comments | « chrome/browser/ui/collected_cookies_browsertest.cc ('k') | chrome/browser/ui/tab_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/sync/one_click_signin_sync_starter.cc
diff --git a/chrome/browser/ui/sync/one_click_signin_sync_starter.cc b/chrome/browser/ui/sync/one_click_signin_sync_starter.cc
index 3e08f4677d62cdeb2d87461e2625ec1fa6a2267e..4b36627f5a2fe37738be16ef01465fd7087209dc 100644
--- a/chrome/browser/ui/sync/one_click_signin_sync_starter.cc
+++ b/chrome/browser/ui/sync/one_click_signin_sync_starter.cc
@@ -243,11 +243,11 @@
content::RecordAction(
base::UserMetricsAction("Signin_Show_EnterpriseAccountPrompt"));
- TabDialogs::FromWebContents(web_contents)
- ->ShowProfileSigninConfirmation(browser_, profile_,
- signin->GetUsernameForAuthInProgress(),
- base::MakeUnique<SigninDialogDelegate>(
- weak_pointer_factory_.GetWeakPtr()));
+ TabDialogs::FromWebContents(web_contents)->ShowProfileSigninConfirmation(
+ browser_,
+ profile_,
+ signin->GetUsernameForAuthInProgress(),
+ new SigninDialogDelegate(weak_pointer_factory_.GetWeakPtr()));
}
void OneClickSigninSyncStarter::LoadPolicyWithCachedCredentials() {
« no previous file with comments | « chrome/browser/ui/collected_cookies_browsertest.cc ('k') | chrome/browser/ui/tab_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698