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

Unified Diff: net/base/net_util.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 | « net/base/mime_util.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_util.cc
diff --git a/net/base/net_util.cc b/net/base/net_util.cc
index 04733a8259695129bfde4997aad48574ba9d0280..2239cc433ba0bccf33d1a6b686606ba0368d527f 100644
--- a/net/base/net_util.cc
+++ b/net/base/net_util.cc
@@ -794,7 +794,7 @@ bool HasGoogleHost(const GURL& url) {
};
const std::string& host = url.host();
for (const char* suffix : kGoogleHostSuffixes) {
- if (EndsWith(host, suffix, false))
+ if (base::EndsWith(host, suffix, false))
return true;
}
return false;
« no previous file with comments | « net/base/mime_util.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698