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

Unified Diff: rlz/win/lib/machine_deal.cc

Issue 1242023005: Remove legacy StartsWithASCII function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: y Created 5 years, 5 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 | « rlz/lib/rlz_lib.cc ('k') | sandbox/linux/services/yama_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: rlz/win/lib/machine_deal.cc
diff --git a/rlz/win/lib/machine_deal.cc b/rlz/win/lib/machine_deal.cc
index 7c8bbaa30fb0b1cd625e41272c985c10cf651451..8d6d369e095aec24a4d619e02587932df0e3393b 100644
--- a/rlz/win/lib/machine_deal.cc
+++ b/rlz/win/lib/machine_deal.cc
@@ -103,7 +103,8 @@ bool GetResponseValue(const std::string& response_line,
value->clear();
- if (!base::StartsWithASCII(response_line, response_key, true))
+ if (!base::StartsWith(response_line, response_key,
+ base::CompareCase::SENSITIVE))
return false;
std::vector<std::string> tokens;
« no previous file with comments | « rlz/lib/rlz_lib.cc ('k') | sandbox/linux/services/yama_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698