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

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

Issue 2945023002: Introduce profile for lock screen apps (Closed)
Patch Set: rebase Created 3 years, 6 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/signin/easy_unlock_service_factory.cc
diff --git a/chrome/browser/signin/easy_unlock_service_factory.cc b/chrome/browser/signin/easy_unlock_service_factory.cc
index 9c68aed27545ffefbd962f14cc652d726267c133..5e54dddf70ce4d7e5e148178be005290cc544395 100644
--- a/chrome/browser/signin/easy_unlock_service_factory.cc
+++ b/chrome/browser/signin/easy_unlock_service_factory.cc
@@ -84,6 +84,10 @@ KeyedService* EasyUnlockServiceFactory::BuildServiceInstanceFor(
int manifest_id = 0;
#if defined(OS_CHROMEOS)
+ if (chromeos::ProfileHelper::IsLockScreenAppProfile(
+ Profile::FromBrowserContext(context))) {
+ return nullptr;
+ }
if (chromeos::ProfileHelper::IsSigninProfile(
Profile::FromBrowserContext(context))) {
if (!context->IsOffTheRecord())
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/supervised_user/child_accounts/child_account_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698