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

Unified Diff: ios/public/provider/chrome/browser/keyed_service_provider.h

Issue 1143323005: Refactor AO2TS to make it easier to componentize. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address final comments Created 5 years, 6 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
Index: ios/public/provider/chrome/browser/keyed_service_provider.h
diff --git a/ios/public/provider/chrome/browser/keyed_service_provider.h b/ios/public/provider/chrome/browser/keyed_service_provider.h
index 52547daf9fbf7ed31c3f699f0fcfbff1c22928d2..045cde03fe1d4d865530587044c71684e34e81d0 100644
--- a/ios/public/provider/chrome/browser/keyed_service_provider.h
+++ b/ios/public/provider/chrome/browser/keyed_service_provider.h
@@ -11,7 +11,7 @@
enum class ServiceAccessType;
class KeyedServiceBaseFactory;
-class ProfileOAuth2TokenServiceIOS;
+class ProfileOAuth2TokenService;
class SigninManager;
namespace autofill {
@@ -55,13 +55,13 @@ class KeyedServiceProvider {
virtual bookmarks::BookmarkModel* GetBookmarkModelForBrowserState(
ChromeBrowserState* browser_state) = 0;
- // Returns the ProfileOAuth2TokenServiceIOS factory for dependencies.
- virtual KeyedServiceBaseFactory* GetProfileOAuth2TokenServiceIOSFactory() = 0;
+ // Returns the ProfileOAuth2TokenService factory for dependencies.
+ virtual KeyedServiceBaseFactory* GetProfileOAuth2TokenServiceFactory() = 0;
- // Returns an instance of ProfileOAuth2TokenServiceIOS tied to
+ // Returns an instance of ProfileOAuth2TokenService tied to
// |browser_state|.
- virtual ProfileOAuth2TokenServiceIOS*
- GetProfileOAuth2TokenServiceIOSForBrowserState(
+ virtual ProfileOAuth2TokenService*
+ GetProfileOAuth2TokenServiceForBrowserState(
ChromeBrowserState* browser_state) = 0;
// Returns the SigninManager factory for dependencies.

Powered by Google App Engine
This is Rietveld 408576698