Index: chrome/browser/chromeos/arc/arc_auth_service.cc |
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc |
index 58f9a48b753f1bd729de483e9859e22e348e6e31..abf672ad9e24cac70f241e72df4f13726e99c154 100644 |
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc |
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc |
@@ -230,6 +230,12 @@ void ArcAuthService::OnPrimaryUserProfilePrepared(Profile* profile) { |
return; |
} |
+ if (user_manager::UserManager::Get() |
+ ->IsCurrentUserCryptohomeDataEphemeral()) { |
+ VLOG(2) << "Users with ephemeral data are not supported in Arc."; |
+ return; |
+ } |
+ |
profile_ = profile; |
PrefServiceSyncableFromProfile(profile_)->AddSyncedPrefObserver( |
prefs::kArcEnabled, this); |