summaryrefslogtreecommitdiffstats
path: root/jingle/notifier
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 /jingle/notifier
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 'jingle/notifier')
-rw-r--r--jingle/notifier/listener/notification_defines_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/jingle/notifier/listener/notification_defines_unittest.cc b/jingle/notifier/listener/notification_defines_unittest.cc
index 389f3cc..d783239 100644
--- a/jingle/notifier/listener/notification_defines_unittest.cc
+++ b/jingle/notifier/listener/notification_defines_unittest.cc
@@ -17,7 +17,7 @@ class NotificationTest : public testing::Test {};
// Converting it to string shouldn't cause a crash.
TEST_F(NotificationTest, BinaryData) {
const char kNonUtf8Data[] = { '\xff', '\0' };
- EXPECT_FALSE(IsStringUTF8(kNonUtf8Data));
+ EXPECT_FALSE(base::IsStringUTF8(kNonUtf8Data));
Notification notification;
notification.data = kNonUtf8Data;
EXPECT_EQ("{ channel: \"\", data: \"\\u00FF\" }", notification.ToString());