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

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

Issue 8758019: Fix ShouldUseGAIAProfileInfo on ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comments 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 | « no previous file | no next file » | 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 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) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698