Index: chrome/browser/profiles/profile.h |
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h |
index 3391c6b1c8cb272ec4a01dc206794dd9519800b8..571e3ef79d52dae6dcc901e58633cc2e4d24f272 100644 |
--- a/chrome/browser/profiles/profile.h |
+++ b/chrome/browser/profiles/profile.h |
@@ -83,7 +83,7 @@ class ProfileSyncFactory; |
class ProfileSyncService; |
class ProfileSyncService; |
class PromoCounter; |
-class PromoCounter; |
+class ProtocolHandlerRegistry; |
class SQLitePersistentCookieStore; |
class SSLConfigServiceManager; |
class SSLHostState; |
@@ -413,6 +413,9 @@ class Profile { |
// Returns the BookmarkModel, creating if not yet created. |
virtual BookmarkModel* GetBookmarkModel() = 0; |
+ // Returns the ProtocolHandlerRegistry, creating if not yet created. |
+ virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() = 0; |
+ |
// Returns the Gaia Token Service, creating if not yet created. |
virtual TokenService* GetTokenService() = 0; |
@@ -477,6 +480,9 @@ class Profile { |
// Start up service that gathers data from a web resource feed. |
virtual void InitWebResources() = 0; |
+ // Register URLRequestFactories for protocols registered with registerProtocolHandler. |
jam
2011/02/15 18:48:39
nit: 80 character limit in chrome code
koz (OOO until 15th September)
2011/02/16 03:37:48
Done.
|
+ virtual void InitRegisteredProtocolHandlers() = 0; |
+ |
// Returns the new tab page resource cache. |
virtual NTPResourceCache* GetNTPResourceCache() = 0; |