Index: chrome/browser/profiles/profile_info_cache.cc |
diff --git a/chrome/browser/profiles/profile_info_cache.cc b/chrome/browser/profiles/profile_info_cache.cc |
index cfaba750321956e90de9f87d83f70f26007be741..3b17078a58201fc4ba3664889f1c8da6bc2f772b 100644 |
--- a/chrome/browser/profiles/profile_info_cache.cc |
+++ b/chrome/browser/profiles/profile_info_cache.cc |
@@ -832,6 +832,11 @@ void ProfileInfoCache::RegisterPrefs(PrefRegistrySimple* registry) { |
void ProfileInfoCache::DownloadHighResAvatar( |
size_t icon_index, |
const base::FilePath& profile_path) { |
+ // Downloading is only supported on desktop. |
+#if defined(OS_ANDROID) || defined(OS_IOS) || defined(OS_CHROMEOS) |
+ return; |
+#endif |
+ |
// TODO(noms): We should check whether the file already exists on disk |
// before trying to re-download it. For now, since this is behind a flag and |
// the resources are still changing, re-download it every time the profile |