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

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

Issue 718673002: New user type introduced. Combines regular and supervised features. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Logical expression fixed. Created 6 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/easy_unlock_service_regular.cc
diff --git a/chrome/browser/signin/easy_unlock_service_regular.cc b/chrome/browser/signin/easy_unlock_service_regular.cc
index fb027f3dd0998c8a35989ce79d9548b9616dda98..7da355779344898b68782f203c8f7ac687f241d6 100644
--- a/chrome/browser/signin/easy_unlock_service_regular.cc
+++ b/chrome/browser/signin/easy_unlock_service_regular.cc
@@ -270,7 +270,7 @@ void EasyUnlockServiceRegular::ShutdownInternal() {
bool EasyUnlockServiceRegular::IsAllowedInternal() {
#if defined(OS_CHROMEOS)
- if (!user_manager::UserManager::Get()->IsLoggedInAsRegularUser())
+ if (!user_manager::UserManager::Get()->IsLoggedInAsUserWithGaiaAccount())
return false;
if (!chromeos::ProfileHelper::IsPrimaryProfile(profile()))

Powered by Google App Engine
This is Rietveld 408576698