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

Unified Diff: chrome/browser/profiles/profile.h

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/net/gaia/token_service.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index e7d17413022b3c83a04b35134a4f354de5dfa16f..aa89e941013ce8c08f49fe2f70ccddf25d54a43b 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -41,6 +41,7 @@ namespace webkit_database {
class DatabaseTracker;
}
+class AuthenticationService;
class AutocompleteClassifier;
class BackgroundContentsService;
class BookmarkModel;
@@ -410,8 +411,13 @@ class Profile {
virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() = 0;
// Returns the Gaia Token Service, creating if not yet created.
+ // New use-cases should begin with GetAuthenticationService().
virtual TokenService* GetTokenService() = 0;
+ // Returns the default Authentication Service, creating if not yet created.
+ // Intended to replace GetTokenService()
+ virtual AuthenticationService* GetAuthenticationService() = 0;
+
// Returns the ProfileSyncService, creating if not yet created.
virtual ProfileSyncService* GetProfileSyncService() = 0;
« no previous file with comments | « chrome/browser/net/gaia/token_service.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698