| Index: chrome/test/base/testing_profile.cc
|
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
|
| index 129ecc13b99b8beceeca6a462ddb6f2e28a8f6de..5e8f30ccb2beb4bdfeaf213faf5ea62c7c6404ee 100644
|
| --- a/chrome/test/base/testing_profile.cc
|
| +++ b/chrome/test/base/testing_profile.cc
|
| @@ -368,16 +368,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,8 @@ base::Time TestingProfile::GetStartTime() const {
|
| }
|
|
|
| ProtocolHandlerRegistry* TestingProfile::GetProtocolHandlerRegistry() {
|
| - return protocol_handler_registry_.get();
|
| + NOTREACHED() << "ProtocolHandlerRegistry not available via testing profile.";
|
| + return NULL;
|
| }
|
|
|
| FilePath TestingProfile::last_selected_directory() {
|
|
|