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

Unified Diff: remoting/host/remoting_me2me_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
Index: remoting/host/remoting_me2me_host.cc
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc
index 6035c17c0b6a50335026de8f00b98d8dc08070ee..eeb65be313347ece9609b881b945df9ef6bf28c2 100644
--- a/remoting/host/remoting_me2me_host.cc
+++ b/remoting/host/remoting_me2me_host.cc
@@ -1119,9 +1119,9 @@ void HostProcess::ApplyUsernamePolicy() {
}
std::string username = GetUsername();
- bool shutdown = username.empty() ||
- !StartsWithASCII(host_owner_, username + std::string("@"),
- false);
+ bool shutdown =
+ username.empty() ||
+ !base::StartsWithASCII(host_owner_, username + std::string("@"), false);
#if defined(OS_MACOSX)
// On Mac, we run as root at the login screen, so the username won't match.
« no previous file with comments | « remoting/host/it2me/it2me_native_messaging_host.cc ('k') | remoting/protocol/me2me_host_authenticator_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698