Index: chrome/browser/profiles/profile_info_cache_unittest.cc |
diff --git a/chrome/browser/profiles/profile_info_cache_unittest.cc b/chrome/browser/profiles/profile_info_cache_unittest.cc |
index 309c24aa7c5d03038c7217a9cebb50afdd6a725b..82c1f3f1d30e7a29a1a678d4a373910424f2be56 100644 |
--- a/chrome/browser/profiles/profile_info_cache_unittest.cc |
+++ b/chrome/browser/profiles/profile_info_cache_unittest.cc |
@@ -532,6 +532,8 @@ TEST_F(ProfileInfoCacheTest, AddStubProfile) { |
ASSERT_FALSE(names[i].empty()); |
} |
+// High res avatar downloading is only supported on desktop. |
+#if !defined(OS_ANDROID) && !defined(OS_IOS) && !defined(OS_CHROMEOS) |
TEST_F(ProfileInfoCacheTest, DownloadHighResAvatarTest) { |
switches::EnableNewAvatarMenuForTesting(CommandLine::ForCurrentProcess()); |
@@ -585,3 +587,4 @@ TEST_F(ProfileInfoCacheTest, DownloadHighResAvatarTest) { |
EXPECT_TRUE(base::DeleteFile(icon_path, true)); |
EXPECT_FALSE(base::PathExists(icon_path)); |
} |
+#endif |