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

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

Issue 10546083: Convert ProtocolHandlerRegistry to be a ProfileKeyedService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reduce differences between orig and updated test. Trying to figure out why tests fail on try server… Created 8 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: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index a39d31f38e1be65912df1ddbfcbf4551b46a712d..fb310680cd53475fc0698f7006c24e55725cce8e 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -290,6 +290,7 @@ class Profile : public content::BrowserContext {
virtual BookmarkModel* GetBookmarkModel() = 0;
// Returns the ProtocolHandlerRegistry, creating if not yet created.
+ // TODO(smckay): replace this with access via ProtocolHandlerRegistryFactory.
virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() = 0;
// Return whether 2 profiles are the same. 2 profiles are the same if they
@@ -313,10 +314,6 @@ class Profile : public content::BrowserContext {
// Start up service that gathers data from a promo resource feed.
virtual void InitPromoResources() = 0;
- // Register URLRequestFactories for protocols registered with
- // registerProtocolHandler.
- virtual void InitRegisteredProtocolHandlers() = 0;
-
// Returns the last directory that was chosen for uploading or opening a file.
virtual FilePath last_selected_directory() = 0;
virtual void set_last_selected_directory(const FilePath& path) = 0;

Powered by Google App Engine
This is Rietveld 408576698