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

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

Issue 6894027: Initial refactoring complete Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed some tests that were broken by previous refactoring Created 9 years, 8 months 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 | « chrome/browser/profiles/profile_impl.h ('k') | chrome/browser/remoting/setup_flow_login_step.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « chrome/browser/profiles/profile_impl.h ('k') | chrome/browser/remoting/setup_flow_login_step.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698