summaryrefslogtreecommitdiffstats
path: root/extensions/common/user_script.cc
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-06-12 16:46:41 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-12 23:47:38 +0000
commit17b32adf2de02e5a4cdf1c0195bb3b06c721b2ca (patch)
treee9f2d2a996fcf9f5f77a548f8471b0b5a5ac4142 /extensions/common/user_script.cc
parentb8cce88bf27fe0bb4614c401d7c5bdbf193c587f (diff)
downloadchromium_src-17b32adf2de02e5a4cdf1c0195bb3b06c721b2ca.zip
chromium_src-17b32adf2de02e5a4cdf1c0195bb3b06c721b2ca.tar.gz
chromium_src-17b32adf2de02e5a4cdf1c0195bb3b06c721b2ca.tar.bz2
Move EndsWith to base namespace.
TBR=jschuh@chromium.org Review URL: https://codereview.chromium.org/1182183003 Cr-Commit-Position: refs/heads/master@{#334284}
Diffstat (limited to 'extensions/common/user_script.cc')
-rw-r--r--extensions/common/user_script.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/common/user_script.cc b/extensions/common/user_script.cc
index ddcfd80..5be4880 100644
--- a/extensions/common/user_script.cc
+++ b/extensions/common/user_script.cc
@@ -51,8 +51,8 @@ int UserScript::GenerateUserScriptID() {
bool UserScript::IsURLUserScript(const GURL& url,
const std::string& mime_type) {
- return EndsWith(url.ExtractFileName(), kFileExtension, false) &&
- mime_type != "text/html";
+ return base::EndsWith(url.ExtractFileName(), kFileExtension, false) &&
+ mime_type != "text/html";
}
// static