| Index: chrome/browser/extensions/updater/extension_downloader.cc
|
| diff --git a/chrome/browser/extensions/updater/extension_downloader.cc b/chrome/browser/extensions/updater/extension_downloader.cc
|
| index c9aca17928425e3bcb25ace00eb0dbbef5c8e235..2c0e6fa7006c0aa233438d5cda3493c0ede569de 100644
|
| --- a/chrome/browser/extensions/updater/extension_downloader.cc
|
| +++ b/chrome/browser/extensions/updater/extension_downloader.cc
|
| @@ -542,6 +542,12 @@ void ExtensionDownloader::FetchUpdatedExtension(const std::string& id,
|
| const GURL& url,
|
| const std::string& hash,
|
| const std::string& version) {
|
| + if (!url.is_valid()) {
|
| + // TODO(asargent): This can sometimes be invalid. See crbug.com/130881.
|
| + LOG(ERROR) << "Invalid URL: " << url.spec();
|
| + return;
|
| + }
|
| +
|
| for (std::deque<ExtensionFetch>::const_iterator iter =
|
| extensions_pending_.begin();
|
| iter != extensions_pending_.end(); ++iter) {
|
|
|