| Index: chrome/browser/download/download_crx_util.cc
|
| diff --git a/chrome/browser/download/download_crx_util.cc b/chrome/browser/download/download_crx_util.cc
|
| index 95d38437b102c3882f59a3b89e50a4559a211675..1fde0454362f1ff849dadb98b6807930a4b58aac 100644
|
| --- a/chrome/browser/download/download_crx_util.cc
|
| +++ b/chrome/browser/download/download_crx_util.cc
|
| @@ -91,8 +91,8 @@ scoped_refptr<CrxInstaller> OpenChromeExtension(
|
| CrxInstaller::OffStoreInstallAllowedBecausePref);
|
| }
|
|
|
| - if (UserScript::IsURLUserScript(download_item.GetURL(),
|
| - download_item.GetMimeType())) {
|
| + if (extensions::UserScript::IsURLUserScript(download_item.GetURL(),
|
| + download_item.GetMimeType())) {
|
| installer->InstallUserScript(download_item.GetFullPath(),
|
| download_item.GetURL());
|
| } else {
|
| @@ -117,8 +117,8 @@ bool IsExtensionDownload(const DownloadItem& download_item) {
|
| return false;
|
|
|
| if (download_item.GetMimeType() == extensions::Extension::kMimeType ||
|
| - UserScript::IsURLUserScript(download_item.GetURL(),
|
| - download_item.GetMimeType())) {
|
| + extensions::UserScript::IsURLUserScript(download_item.GetURL(),
|
| + download_item.GetMimeType())) {
|
| return true;
|
| } else {
|
| return false;
|
|
|