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

Unified Diff: chrome/browser/net/chrome_network_delegate.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
Index: chrome/browser/net/chrome_network_delegate.cc
diff --git a/chrome/browser/net/chrome_network_delegate.cc b/chrome/browser/net/chrome_network_delegate.cc
index 50f83bbeaafcc588fb4ff3b1cf12fbf181a885d5..737317effc28e60cf8be848558337ce5ccd60a7d 100644
--- a/chrome/browser/net/chrome_network_delegate.cc
+++ b/chrome/browser/net/chrome_network_delegate.cc
@@ -189,7 +189,7 @@ bool CanRequestBeDeltaEncoded(const net::URLRequest* request) {
const char *suffix = kEligibleMasks[i].suffix;
if (prefix && !base::StartsWithASCII(mime_type, prefix, kCaseSensitive))
continue;
- if (suffix && !EndsWith(mime_type, suffix, kCaseSensitive))
+ if (suffix && !base::EndsWith(mime_type, suffix, kCaseSensitive))
continue;
return true;
}
« no previous file with comments | « chrome/browser/metrics/chromeos_metrics_provider.cc ('k') | chrome/browser/net/pref_proxy_config_tracker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698