Index: chrome/browser/profiles/gaia_info_update_service_unittest.cc |
diff --git a/chrome/browser/profiles/gaia_info_update_service_unittest.cc b/chrome/browser/profiles/gaia_info_update_service_unittest.cc |
index 4f4d0616e4e53ff05c0cecf3a982a3a6ec71e83a..93d401fb7c1773dc4eca06b6f9835fa9f8f0c7d1 100644 |
--- a/chrome/browser/profiles/gaia_info_update_service_unittest.cc |
+++ b/chrome/browser/profiles/gaia_info_update_service_unittest.cc |
@@ -153,9 +153,14 @@ TEST_F(GAIAInfoUpdateServiceTest, NoMigration) { |
} |
TEST_F(GAIAInfoUpdateServiceTest, ShouldUseGAIAProfileInfo) { |
+#if defined(OS_CHROMEOS) |
+ // This feature should never be enabled on ChromeOS. |
+ EXPECT_FALSE(GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(profile())); |
+#else |
bool sync_enabled = profile()->GetOriginalProfile()->IsSyncAccessible(); |
EXPECT_EQ(sync_enabled, |
GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(profile())); |
+#endif |
} |
TEST_F(GAIAInfoUpdateServiceTest, ScheduleUpdate) { |