Index: chrome/browser/profiles/gaia_info_update_service.cc |
diff --git a/chrome/browser/profiles/gaia_info_update_service.cc b/chrome/browser/profiles/gaia_info_update_service.cc |
index 80163241a7fbfd3b805f577211e1eb895c7d0a87..083e21db4168cd2bae61de94c9afe53917fb4ca3 100644 |
--- a/chrome/browser/profiles/gaia_info_update_service.cc |
+++ b/chrome/browser/profiles/gaia_info_update_service.cc |
@@ -14,7 +14,6 @@ |
#include "chrome/browser/profiles/profile_metrics.h" |
#include "chrome/browser/profiles/profiles_state.h" |
#include "chrome/browser/signin/signin_manager_factory.h" |
-#include "chrome/browser/sync/profile_sync_service.h" |
#include "chrome/common/pref_names.h" |
#include "components/signin/core/common/profile_management_switches.h" |
#include "content/public/browser/notification_details.h" |
@@ -70,10 +69,6 @@ bool GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(Profile* profile) { |
return false; |
#endif |
- // Sync must be allowed. |
- if (!profile->GetOriginalProfile()->IsSyncAccessible()) |
- return false; |
- |
// To enable this feature for testing pass "--google-profile-info". |
if (switches::IsGoogleProfileInfo()) |
return true; |