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

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

Issue 2542773002: UnlockProfileAndHideLoginUI() will be called once the sign in is almost finished. This function wil… (Closed)
Patch Set: Created 4 years 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 e32cbf93cc8d881fd9da02fec1ad9329316fcb0a..1c0a30f31bb2ffaa5aabd8b9f98062094a3f071a 100644
--- a/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
+++ b/chrome/browser/ui/webui/signin/inline_login_handler_impl.cc
@@ -317,7 +317,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