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

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm

Issue 2785753003: Exclude building signin view controller and its delegate on ChromeOS (Closed)
Patch Set: Exclude SigninViewController on ChromeOS Created 3 years, 9 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_chooser_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
index 8dc8a3d47188c40c8e8999edfe51288d96d34e88..7b024df01e7a7ea5a371ff61700f5811a0ff7d4b 100644
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
@@ -1132,7 +1132,8 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
- (void)showSigninUIForMode:(profiles::BubbleViewMode)mode {
if (SigninViewController::ShouldShowModalSigninForMode(mode)) {
- browser_->ShowModalSigninWindow(mode, accessPoint_);
+ browser_->signin_view_controller()->ShowModalSignin(mode, browser_,
+ accessPoint_);
} else {
[self initMenuContentsWithView:mode];
}
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/sync/one_click_signin_sync_starter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698