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

Unified Diff: chrome/browser/net/chrome_network_delegate.cc

Issue 1172183002: Move StartsWith[ASCII] to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string_util3
Patch Set: merger 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 | « chrome/browser/net/async_dns_field_trial.cc ('k') | chrome/browser/net/safe_search_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4953a723c0be1b94cbeacbbb1f9434a0b6732ac4..50f83bbeaafcc588fb4ff3b1cf12fbf181a885d5 100644
--- a/chrome/browser/net/chrome_network_delegate.cc
+++ b/chrome/browser/net/chrome_network_delegate.cc
@@ -187,7 +187,7 @@ bool CanRequestBeDeltaEncoded(const net::URLRequest* request) {
for (size_t i = 0; i < arraysize(kEligibleMasks); i++) {
const char *prefix = kEligibleMasks[i].prefix;
const char *suffix = kEligibleMasks[i].suffix;
- if (prefix && !StartsWithASCII(mime_type, prefix, kCaseSensitive))
+ if (prefix && !base::StartsWithASCII(mime_type, prefix, kCaseSensitive))
continue;
if (suffix && !EndsWith(mime_type, suffix, kCaseSensitive))
continue;
« no previous file with comments | « chrome/browser/net/async_dns_field_trial.cc ('k') | chrome/browser/net/safe_search_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698