Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3211)

Unified Diff: chrome/browser/profiles/gaia_info_update_service_unittest.cc

Issue 8743007: Enable GAIA profile info downloader by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/gaia_info_update_service.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/browser/profiles/gaia_info_update_service.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698