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

Unified Diff: components/variations/net/variations_http_header_provider.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/variations/net/variations_http_header_provider.cc
diff --git a/components/variations/net/variations_http_header_provider.cc b/components/variations/net/variations_http_header_provider.cc
index fc0e089e7b29b6186a7e28fca4d815ad12371aa8..fae7c955d769aee1670e525cc484c09460eeabc8 100644
--- a/components/variations/net/variations_http_header_provider.cc
+++ b/components/variations/net/variations_http_header_provider.cc
@@ -97,7 +97,7 @@ bool VariationsHttpHeaderProvider::SetDefaultVariationIds(
default_trigger_id_set_.clear();
return false;
}
- bool trigger_id = StartsWithASCII(*it, "t", true);
+ bool trigger_id = base::StartsWithASCII(*it, "t", true);
// Remove the "t" prefix if it's there.
std::string entry = trigger_id ? it->substr(1) : *it;

Powered by Google App Engine
This is Rietveld 408576698