summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:13:58 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-17 23:13:58 +0000
commitb75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5 (patch)
tree72b910f29af445511e233ed76806de0e4b8bd51a /remoting
parentf90c870feb546e5e11481c8835329cf0efc8733d (diff)
downloadchromium_src-b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5.zip
chromium_src-b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5.tar.gz
chromium_src-b75d4baceaa3fb0c3be1aad851e9cb594e1ce4f5.tar.bz2
Move IsStringASCII/UTF8 to base namespace.
Use StringPiece for IsStringUTF8. TBR=sky Review URL: https://codereview.chromium.org/196793010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/protocol/me2me_host_authenticator_factory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/me2me_host_authenticator_factory.cc b/remoting/protocol/me2me_host_authenticator_factory.cc
index 24c0ca4..91ef82d 100644
--- a/remoting/protocol/me2me_host_authenticator_factory.cc
+++ b/remoting/protocol/me2me_host_authenticator_factory.cc
@@ -137,7 +137,7 @@ scoped_ptr<Authenticator> Me2MeHostAuthenticatorFactory::CreateAuthenticator(
// Verify that the client's jid is an ASCII string, and then check that the
// client JID has the expected prefix. Comparison is case insensitive.
- if (!IsStringASCII(remote_jid) ||
+ if (!base::IsStringASCII(remote_jid) ||
!StartsWithASCII(remote_jid, remote_jid_prefix + '/', false)) {
LOG(ERROR) << "Rejecting incoming connection from " << remote_jid;
return scoped_ptr<Authenticator>(new RejectingAuthenticator());