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 be1cd3e8d1225777f42d2dd4802e5e97968c91f5..a4c1c08daecde8bc77d9fcc7911fd710cdd1e58f 100644 |
--- a/chrome/browser/profiles/gaia_info_update_service_unittest.cc |
+++ b/chrome/browser/profiles/gaia_info_update_service_unittest.cc |
@@ -137,8 +137,9 @@ TEST_F(GAIAInfoUpdateServiceTest, NoMigration) { |
} |
TEST_F(GAIAInfoUpdateServiceTest, ShouldUseGAIAProfileInfo) { |
- // Currently this is disabled by default. |
- EXPECT_FALSE(GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(profile())); |
+ bool sync_enabled = profile()->GetOriginalProfile()->IsSyncAccessible(); |
+ EXPECT_EQ(sync_enabled, |
+ GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(profile())); |
} |
TEST_F(GAIAInfoUpdateServiceTest, ScheduleUpdate) { |