Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 0726777f222eb16bbdee47ecdd48f5cffa70e37b..6141fc3d84b34b56c54793fffc4115cb58771c69 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -42,6 +42,7 @@ |
#include "chrome/browser/history/top_sites.h" |
#include "chrome/browser/instant/instant_controller.h" |
#include "chrome/browser/net/chrome_url_request_context.h" |
+#include "chrome/browser/net/gaia/authentication_service.h" |
#include "chrome/browser/net/gaia/token_service.h" |
#include "chrome/browser/net/net_pref_observer.h" |
#include "chrome/browser/net/pref_proxy_config_service.h" |
@@ -1293,6 +1294,13 @@ void ProfileImpl::StopCreateSessionServiceTimer() { |
create_session_service_timer_.Stop(); |
} |
+AuthenticationService* ProfileImpl::GetAuthenticationService() { |
+ if (!authentication_service_.get()) { |
+ authentication_service_.reset(new AuthenticationService()); |
+ } |
+ return authentication_service_.get(); |
+} |
+ |
TokenService* ProfileImpl::GetTokenService() { |
if (!token_service_.get()) { |
token_service_.reset(new TokenService()); |