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

Unified Diff: components/html_viewer/web_url_loader_impl.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
Index: components/html_viewer/web_url_loader_impl.cc
diff --git a/components/html_viewer/web_url_loader_impl.cc b/components/html_viewer/web_url_loader_impl.cc
index ebaece9a2b1b751934acdc93d5748e996bb1b600..48d291ffb6f68770802f55c464b1001eaaa9ed3c 100644
--- a/components/html_viewer/web_url_loader_impl.cc
+++ b/components/html_viewer/web_url_loader_impl.cc
@@ -30,10 +30,10 @@ blink::WebURLResponse::HTTPVersion StatusLineToHTTPVersion(
if (status_line.is_null())
return blink::WebURLResponse::HTTP_0_9;
- if (StartsWithASCII(status_line, "HTTP/1.0", true))
+ if (base::StartsWithASCII(status_line, "HTTP/1.0", true))
return blink::WebURLResponse::HTTP_1_0;
- if (StartsWithASCII(status_line, "HTTP/1.1", true))
+ if (base::StartsWithASCII(status_line, "HTTP/1.1", true))
return blink::WebURLResponse::HTTP_1_1;
return blink::WebURLResponse::Unknown;
« no previous file with comments | « components/html_viewer/web_mime_registry_impl.cc ('k') | components/invalidation/gcm_network_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698