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

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: Respond to Will's comments. 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/test/base/testing_profile.h
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h
index ceba5cdea9ba264144f4a47e4e28d027d928cdc7..7fae690995616e7c08b173f2ef6e928cc2c91a79 100644
--- a/chrome/test/base/testing_profile.h
+++ b/chrome/test/base/testing_profile.h
@@ -94,10 +94,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 WebDataService. If not invoked, the web data service is NULL.
void CreateWebDataService();
@@ -200,7 +196,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;
@@ -255,10 +250,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_;

Powered by Google App Engine
This is Rietveld 408576698