diff options
Diffstat (limited to 'chrome/test/base/testing_profile.cc')
-rw-r--r-- | chrome/test/base/testing_profile.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc index 487dffa..27a2dcc 100644 --- a/chrome/test/base/testing_profile.cc +++ b/chrome/test/base/testing_profile.cc @@ -369,16 +369,6 @@ void TestingProfile::CreateBookmarkModel(bool delete_file) { } } -void TestingProfile::CreateProtocolHandlerRegistry() { - CreateProtocolHandlerRegistry( - new ProtocolHandlerRegistry::Delegate()); -} - -void TestingProfile::CreateProtocolHandlerRegistry( - ProtocolHandlerRegistry::Delegate* delegate) { - protocol_handler_registry_ = new ProtocolHandlerRegistry(this, delegate); -} - static scoped_refptr<RefcountedProfileKeyedService> BuildWebDataService( Profile* profile) { WebDataService* web_data_service = new WebDataService(); @@ -688,7 +678,7 @@ base::Time TestingProfile::GetStartTime() const { } ProtocolHandlerRegistry* TestingProfile::GetProtocolHandlerRegistry() { - return protocol_handler_registry_.get(); + return NULL; } FilePath TestingProfile::last_selected_directory() { |