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

Unified Diff: chrome/browser/local_discovery/device_description.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/google/google_brand.cc ('k') | chrome/browser/media/router/media_source_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/local_discovery/device_description.cc
diff --git a/chrome/browser/local_discovery/device_description.cc b/chrome/browser/local_discovery/device_description.cc
index 71e748dbcc1a98c205027e4ea0b14276ef508516..b9a3dda6cac28775a3cc7a990d24842be8243c63 100644
--- a/chrome/browser/local_discovery/device_description.cc
+++ b/chrome/browser/local_discovery/device_description.cc
@@ -19,7 +19,7 @@ std::string GetValueByName(const std::vector<std::string>& metadata,
const std::string& name) {
std::string prefix(name + "=");
for (const std::string& record : metadata) {
- if (StartsWithASCII(record, prefix, false)) {
+ if (base::StartsWithASCII(record, prefix, false)) {
return record.substr(prefix.size());
}
}
« no previous file with comments | « chrome/browser/google/google_brand.cc ('k') | chrome/browser/media/router/media_source_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698