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

Unified Diff: chrome/browser/ui/webui/signin/inline_login_handler_impl.cc

Issue 2519123003: Fix issue that closes sync confirm window after second sign-in in one profile. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
diff --git a/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc b/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
index d11ab2c86aaea1e4e7a66e01f0e6fe1df0bf11e4..01b5876f7d3ba18c25505214b7a9164c62a1b937 100644
--- a/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
+++ b/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
@@ -201,7 +201,8 @@ void InlineSigninHelper::OnClientOAuthSuccessAndBrowserOpened(
const ClientOAuthResult& result,
Profile* profile,
Profile::CreateStatus status) {
- UnlockProfileAndHideLoginUI(profile_->GetPath(), handler_.get());
+ if (signin::IsForceSigninEnabled())
+ UnlockProfileAndHideLoginUI(profile_->GetPath(), handler_.get());
content::WebContents* contents = NULL;
Browser* browser = NULL;
if (handler_) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698