Index: chrome/browser/chromeos/login/screens/user_image_screen.cc |
diff --git a/chrome/browser/chromeos/login/screens/user_image_screen.cc b/chrome/browser/chromeos/login/screens/user_image_screen.cc |
index 4e4dae9f864221148c2c97283a58d652804586d8..750cee1dc9959e3d5a7a9ded6b0db4a8489a597d 100644 |
--- a/chrome/browser/chromeos/login/screens/user_image_screen.cc |
+++ b/chrome/browser/chromeos/login/screens/user_image_screen.cc |
@@ -52,7 +52,6 @@ constexpr const char kContextKeyIsCameraPresent[] = "isCameraPresent"; |
constexpr const char kContextKeyProfilePictureDataURL[] = |
"profilePictureDataURL"; |
constexpr const char kContextKeySelectedImageURL[] = "selectedImageURL"; |
-constexpr const char kContextKeyHasGaiaAccount[] = "hasGaiaAccount"; |
// Time histogram suffix for profile image download. |
const char kProfileDownloadReason[] = "OOBE"; |
@@ -216,14 +215,8 @@ void UserImageScreen::Show() { |
kContextKeySelectedImageURL, |
default_user_image::GetDefaultImageUrl(selected_image_)); |
- const user_manager::User* user = GetUser(); |
- // Fetch profile image for GAIA accounts. |
- if (user && user->HasGaiaAccount()) { |
- GetContextEditor().SetBoolean(kContextKeyHasGaiaAccount, true); |
- GetUserImageManager()->DownloadProfileImage(kProfileDownloadReason); |
- } else { |
- GetContextEditor().SetBoolean(kContextKeyHasGaiaAccount, false); |
- } |
+ // Start fetching the profile image. |
+ GetUserImageManager()->DownloadProfileImage(kProfileDownloadReason); |
} |
void UserImageScreen::Hide() { |