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

Unified Diff: remoting/host/it2me/it2me_native_messaging_host.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 | « pdf/pdfium/pdfium_engine.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me/it2me_native_messaging_host.cc
diff --git a/remoting/host/it2me/it2me_native_messaging_host.cc b/remoting/host/it2me/it2me_native_messaging_host.cc
index 4c2cb3baac9f08130fa4f0ce2d209d35c1e1d96a..c1841f08fa835d0921452e2e99b8ba3d42d13843 100644
--- a/remoting/host/it2me/it2me_native_messaging_host.cc
+++ b/remoting/host/it2me/it2me_native_messaging_host.cc
@@ -168,7 +168,8 @@ void It2MeNativeMessagingHost::ProcessConnect(
// the authServiceWithToken field. But auth service part is always expected to
// be set to oauth2.
const char kOAuth2ServicePrefix[] = "oauth2:";
- if (!StartsWithASCII(auth_service_with_token, kOAuth2ServicePrefix, true)) {
+ if (!base::StartsWithASCII(auth_service_with_token, kOAuth2ServicePrefix,
+ true)) {
SendErrorAndExit(response.Pass(), "Invalid 'authServiceWithToken': " +
auth_service_with_token);
return;
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | remoting/host/remoting_me2me_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698