| Index: chrome/browser/extensions/extension_protocols.cc
|
| diff --git a/chrome/browser/extensions/extension_protocols.cc b/chrome/browser/extensions/extension_protocols.cc
|
| index 3a31b0e7c2b0fb844c3693bd4c1dbd5ab113f50d..3ff9c5100361aa9c76a9480b2b0f4c9af577f24c 100644
|
| --- a/chrome/browser/extensions/extension_protocols.cc
|
| +++ b/chrome/browser/extensions/extension_protocols.cc
|
| @@ -21,8 +21,10 @@ static URLRequestJob* CreateExtensionURLRequestJob(URLRequest* request,
|
|
|
| // chrome-extension://extension-id/resource/path.js
|
| FilePath directory_path = context->GetPathForExtension(request->url().host());
|
| - if (directory_path.value().empty())
|
| + if (directory_path.value().empty()) {
|
| + LOG(WARNING) << "Failed to GetPathForExtension: " << request->url().host();
|
| return NULL;
|
| + }
|
|
|
| std::string resource = request->url().path();
|
| FilePath path = Extension::GetResourcePath(directory_path, resource);
|
|
|