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

Unified Diff: content/common/appcache_interfaces.cc

Issue 1200393002: Add more string_util functions to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string
Patch Set: Android 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 | « content/browser/geolocation/wifi_data_provider_linux.cc ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/appcache_interfaces.cc
diff --git a/content/common/appcache_interfaces.cc b/content/common/appcache_interfaces.cc
index c2c619249e976a941c80033a0adb1809e6311d3d..fc1cb2bf402f81313b5538b2639b37ca239da9fa 100644
--- a/content/common/appcache_interfaces.cc
+++ b/content/common/appcache_interfaces.cc
@@ -104,7 +104,7 @@ bool AppCacheNamespace::IsMatch(const GURL& url) const {
// as wildcards which we don't want here, we only do '*'s.
std::string pattern = namespace_url.spec();
if (namespace_url.has_query())
- ReplaceSubstringsAfterOffset(&pattern, 0, "?", "\\?");
+ base::ReplaceSubstringsAfterOffset(&pattern, 0, "?", "\\?");
return MatchPattern(url.spec(), pattern);
}
return base::StartsWithASCII(url.spec(), namespace_url.spec(), true);
« no previous file with comments | « content/browser/geolocation/wifi_data_provider_linux.cc ('k') | content/public/test/test_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698