| Index: chrome/test/base/testing_profile.cc
 | 
| diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc
 | 
| index 2431224771c80f0de1723ad89655c22125378f6f..129ecc13b99b8beceeca6a462ddb6f2e28a8f6de 100644
 | 
| --- a/chrome/test/base/testing_profile.cc
 | 
| +++ b/chrome/test/base/testing_profile.cc
 | 
| @@ -18,7 +18,6 @@
 | 
|  #include "chrome/browser/bookmarks/bookmark_model_factory.h"
 | 
|  #include "chrome/browser/browser_process.h"
 | 
|  #include "chrome/browser/content_settings/host_content_settings_map.h"
 | 
| -#include "chrome/browser/custom_handlers/protocol_handler_registry.h"
 | 
|  #include "chrome/browser/extensions/extension_service.h"
 | 
|  #include "chrome/browser/extensions/extension_special_storage_policy.h"
 | 
|  #include "chrome/browser/extensions/extension_system.h"
 | 
| @@ -370,10 +369,15 @@ void TestingProfile::CreateBookmarkModel(bool delete_file) {
 | 
|  }
 | 
|  
 | 
|  void TestingProfile::CreateProtocolHandlerRegistry() {
 | 
| -  protocol_handler_registry_ = new ProtocolHandlerRegistry(this,
 | 
| +  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();
 | 
| 
 |