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

Unified Diff: chrome/browser/signin/chrome_signin_client.cc

Issue 2478173003: Lock profile before sign in when force sign in is enabled. (Closed)
Patch Set: fixup 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
Index: chrome/browser/signin/chrome_signin_client.cc
diff --git a/chrome/browser/signin/chrome_signin_client.cc b/chrome/browser/signin/chrome_signin_client.cc
index 3d823cc5a5cf0d803e9c192547c582e761314550..6ed489bc12c966857e3ed93982e0ef4fffbbe6b3 100644
--- a/chrome/browser/signin/chrome_signin_client.cc
+++ b/chrome/browser/signin/chrome_signin_client.cc
@@ -454,7 +454,7 @@ void ChromeSigninClient::LockProfile(const base::FilePath& profile_path) {
.GetProfileAttributesWithPath(profile_->GetPath(), &entry);
if (!has_entry)
return;
- entry->SetIsSigninRequired(true);
+ entry->LockForceSigninProfile(true);
anthonyvd 2016/11/04 21:31:02 Why isn't this still just SetIsSigninRequired cons
zmin 2016/11/04 22:11:53 LockProfile() is a function I added recently and w
}
void ChromeSigninClient::ShowUserManager(const base::FilePath& profile_path) {

Powered by Google App Engine
This is Rietveld 408576698