Chromium Code Reviews| Index: chrome/browser/profiles/profile_io_data.cc |
| diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
| index f1451544737f6d4dfc4d05aa1e665fade4a6f288..bb372a0d3347138b3ab57b198367755dc517ec52 100644 |
| --- a/chrome/browser/profiles/profile_io_data.cc |
| +++ b/chrome/browser/profiles/profile_io_data.cc |
| @@ -286,6 +286,7 @@ bool ProfileIOData::IsHandledProtocol(const std::string& scheme) { |
| #endif // defined(OS_CHROMEOS) |
| chrome::kBlobScheme, |
| chrome::kFileSystemScheme, |
| + chrome::kExtensionResourceScheme, |
| }; |
| for (size_t i = 0; i < arraysize(kProtocolList); ++i) { |
| if (scheme == kProtocolList[i]) |
| @@ -473,6 +474,12 @@ void ProfileIOData::LazyInitialize() const { |
| profile_params_->extension_info_map)); |
| DCHECK(set_protocol); |
| set_protocol = job_factory_->SetProtocolHandler( |
| + chrome::kExtensionResourceScheme, |
| + CreateExtensionResourceProtocolHandler( |
| + profile_params_->is_incognito, |
| + profile_params_->extension_info_map)); |
|
miket_OOO
2012/04/12 18:38:39
See earlier comment -- can we get rid of the param
Peng
2012/04/12 20:13:22
Done.
|
| + DCHECK(set_protocol); |
| + set_protocol = job_factory_->SetProtocolHandler( |
| chrome::kChromeUIScheme, |
| ChromeURLDataManagerBackend::CreateProtocolHandler( |
| chrome_url_data_manager_backend_.get())); |