Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: extensions/common/user_script.cc

Issue 1182183003: Move EndsWith to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/api/web_request/web_request_permissions.cc ('k') | google_apis/drive/test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/user_script.cc
diff --git a/extensions/common/user_script.cc b/extensions/common/user_script.cc
index ddcfd8077777e9844c72dc22919c55fa34042993..5be488067e7fece85c8ee7ffbe110d2f7bedf940 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
« no previous file with comments | « extensions/browser/api/web_request/web_request_permissions.cc ('k') | google_apis/drive/test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698