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

Unified Diff: net/http/http_stream_factory.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 | « net/http/http_response_headers.cc ('k') | net/http/http_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_factory.cc
diff --git a/net/http/http_stream_factory.cc b/net/http/http_stream_factory.cc
index 35083f0429cde0513686a9c2a588b7d41614aaa7..e3d35b74abe641227b91ef9c115939a14627e300 100644
--- a/net/http/http_stream_factory.cc
+++ b/net/http/http_stream_factory.cc
@@ -39,7 +39,7 @@ void HttpStreamFactory::ProcessAlternateProtocol(
bool is_valid = true;
for (size_t i = 0; i < alternate_protocol_values.size(); ++i) {
const std::string& alternate_protocol_str = alternate_protocol_values[i];
- if (StartsWithASCII(alternate_protocol_str, "p=", true)) {
+ if (base::StartsWithASCII(alternate_protocol_str, "p=", true)) {
if (!base::StringToDouble(alternate_protocol_str.substr(2),
&probability) ||
probability < 0 || probability > 1) {
« no previous file with comments | « net/http/http_response_headers.cc ('k') | net/http/http_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698