Index: chrome/browser/signin/signin_manager_factory.cc |
diff --git a/chrome/browser/signin/signin_manager_factory.cc b/chrome/browser/signin/signin_manager_factory.cc |
index 436467825484a9ddd2a80d33ad66e6fb2aaf7c66..f8ba7feb2d573ee5bac1f153488777f1cb14ef12 100644 |
--- a/chrome/browser/signin/signin_manager_factory.cc |
+++ b/chrome/browser/signin/signin_manager_factory.cc |
@@ -7,6 +7,7 @@ |
#include "base/prefs/pref_registry_simple.h" |
#include "chrome/browser/browser_process.h" |
#include "chrome/browser/profiles/profile.h" |
+#include "chrome/browser/signin/account_fetcher_service_factory.h" |
#include "chrome/browser/signin/account_tracker_service_factory.h" |
#include "chrome/browser/signin/chrome_signin_client_factory.h" |
#include "chrome/browser/signin/gaia_cookie_manager_service_factory.h" |
@@ -22,6 +23,7 @@ SigninManagerFactory::SigninManagerFactory() |
DependsOn(ChromeSigninClientFactory::GetInstance()); |
DependsOn(GaiaCookieManagerServiceFactory::GetInstance()); |
DependsOn(ProfileOAuth2TokenServiceFactory::GetInstance()); |
+ DependsOn(AccountFetcherServiceFactory::GetInstance()); |
DependsOn(AccountTrackerServiceFactory::GetInstance()); |
} |
@@ -117,6 +119,7 @@ KeyedService* SigninManagerFactory::BuildServiceInstanceFor( |
ProfileOAuth2TokenServiceFactory::GetForProfile(profile), |
AccountTrackerServiceFactory::GetForProfile(profile), |
GaiaCookieManagerServiceFactory::GetForProfile(profile)); |
+ AccountFetcherServiceFactory::GetForProfile(profile); |
#endif |
service->Initialize(g_browser_process->local_state()); |
FOR_EACH_OBSERVER(Observer, observer_list_, SigninManagerCreated(service)); |