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

Unified Diff: chrome/test/base/testing_profile.h

Issue 10546083: Convert ProtocolHandlerRegistry to be a ProfileKeyedService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor docu-changes. Created 8 years, 5 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/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_profile.h
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index 79af8131b1ca1056b75622cca55919e34db938dd..58ed55145f583208141d97ad07bef20153f27599 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -105,14 +105,6 @@ class TestingProfile : public Profile {
// BlockUntilBookmarkModelLoaded.
void CreateBookmarkModel(bool delete_file);
- // Creates a ProtocolHandlerRegistry. If not invoked the protocol handler
- // registry is NULL.
- void CreateProtocolHandlerRegistry();
-
- // Creates a ProtocolHandlerRegistry with the provided delegate.
- void CreateProtocolHandlerRegistry(
- ProtocolHandlerRegistry::Delegate* delegate);
-
// Creates a WebDataService. If not invoked, the web data service is NULL.
void CreateWebDataService();
@@ -214,7 +206,6 @@ class TestingProfile : public Profile {
virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
virtual void MarkAsCleanShutdown() OVERRIDE {}
virtual void InitPromoResources() OVERRIDE {}
- virtual void InitRegisteredProtocolHandlers() OVERRIDE {}
virtual FilePath last_selected_directory() OVERRIDE;
virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
@@ -269,10 +260,6 @@ class TestingProfile : public Profile {
// The favicon service. Only created if CreateFaviconService is invoked.
scoped_ptr<FaviconService> favicon_service_;
- // The ProtocolHandlerRegistry. Only created if CreateProtocolHandlerRegistry
- // is invoked.
- scoped_refptr<ProtocolHandlerRegistry> protocol_handler_registry_;
-
// The policy service. Lazily created as a stub.
scoped_ptr<policy::PolicyService> policy_service_;
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698