| Index: chrome/common/extensions/user_script.cc
|
| diff --git a/chrome/common/extensions/user_script.cc b/chrome/common/extensions/user_script.cc
|
| index ca86b9224157dc88d641634e40860b89dee199b5..ca28252b930c211d87b0a761a66465b328232836 100644
|
| --- a/chrome/common/extensions/user_script.cc
|
| +++ b/chrome/common/extensions/user_script.cc
|
| @@ -25,11 +25,6 @@ bool UrlMatchesGlobs(const std::vector<std::string>* globs,
|
| // static
|
| const char UserScript::kFileExtension[] = ".user.js";
|
|
|
| -// static
|
| -const int UserScript::kValidUserScriptSchemes =
|
| - URLPattern::SCHEME_HTTP | URLPattern::SCHEME_HTTPS |
|
| - URLPattern::SCHEME_FILE | URLPattern::SCHEME_FTP;
|
| -
|
| bool UserScript::IsURLUserScript(const GURL& url,
|
| const std::string& mime_type) {
|
| return EndsWith(url.ExtractFileName(), kFileExtension, false) &&
|
|
|