Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 7a2a57b93c031f9438de8e89df21b49d6b741320..fd22daf0125dbdc93baa89405a4ec373759433a5 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -56,7 +56,6 @@ |
#include "chrome/browser/prefs/scoped_user_pref_update.h" |
#include "chrome/browser/prerender/prerender_manager_factory.h" |
#include "chrome/browser/profiles/chrome_version_service.h" |
-#include "chrome/browser/profiles/gaia_info_update_service.h" |
#include "chrome/browser/profiles/profile_dependency_manager.h" |
#include "chrome/browser/profiles/profile_destroyer.h" |
#include "chrome/browser/profiles/profile_info_cache.h" |
@@ -434,7 +433,6 @@ void ProfileImpl::DoFinalInit(bool is_new_profile) { |
// kGoogleServicesUsername, initialize components that depend on it to reflect |
// the current value. |
UpdateProfileUserNameCache(); |
- GetGAIAInfoUpdateService(); |
#if !defined(OS_CHROMEOS) |
// Listen for bookmark model load, to bootstrap the sync service. |
@@ -873,14 +871,6 @@ ProfileImpl::GetSpeechRecognitionPreferences() { |
#endif |
} |
-GAIAInfoUpdateService* ProfileImpl::GetGAIAInfoUpdateService() { |
- if (!gaia_info_update_service_.get() && |
- GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(this)) { |
- gaia_info_update_service_.reset(new GAIAInfoUpdateService(this)); |
- } |
- return gaia_info_update_service_.get(); |
-} |
- |
DownloadManagerDelegate* ProfileImpl::GetDownloadManagerDelegate() { |
return DownloadServiceFactory::GetForProfile(this)-> |
GetDownloadManagerDelegate(); |