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

Unified Diff: cloud_print/service/win/service_utils.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: cloud_print/service/win/service_utils.cc
diff --git a/cloud_print/service/win/service_utils.cc b/cloud_print/service/win/service_utils.cc
index 6bced8098dd4ffb2c7530ae48847eaeaf69bdad9..69324474d9764b89cf0390d3b580f4e0899c8d81 100644
--- a/cloud_print/service/win/service_utils.cc
+++ b/cloud_print/service/win/service_utils.cc
@@ -28,7 +28,7 @@ base::string16 GetLocalComputerName() {
base::string16 ReplaceLocalHostInName(const base::string16& user_name) {
static const wchar_t kLocalDomain[] = L".\\";
- if (StartsWith(user_name, kLocalDomain, true)) {
+ if (base::StartsWith(user_name, kLocalDomain, true)) {
return GetLocalComputerName() +
user_name.substr(arraysize(kLocalDomain) - 2);
}
« no previous file with comments | « cloud_print/service/service_state.cc ('k') | components/autofill/content/browser/wallet/wallet_service_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698