From d8eb842474ce559113a9b0ead0610973985bf693 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Sat, 25 Sep 2010 02:25:06 +0000 Subject: net: Append base:: in the StringPrintf calls. (Note: This is a TODO in string_util.h) BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3390026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60555 0039d316-1c4b-4281-b951-d872f2087c98 --- net/websockets/websocket_handshake_unittest.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'net/websockets/websocket_handshake_unittest.cc') diff --git a/net/websockets/websocket_handshake_unittest.cc b/net/websockets/websocket_handshake_unittest.cc index e392cfc..df3914e 100644 --- a/net/websockets/websocket_handshake_unittest.cc +++ b/net/websockets/websocket_handshake_unittest.cc @@ -8,9 +8,10 @@ #include "base/scoped_ptr.h" #include "base/string_split.h" #include "base/string_util.h" +#include "base/stringprintf.h" #include "net/websockets/websocket_handshake.h" -#include "testing/gtest/include/gtest/gtest.h" #include "testing/gmock/include/gmock/gmock.h" +#include "testing/gtest/include/gtest/gtest.h" #include "testing/platform_test.h" namespace net { @@ -86,9 +87,9 @@ class WebSocketHandshakeTest : public testing::Test { std::string s; for (int i = 0; i < len; i++) { if (isprint(buf[i])) - s += StringPrintf("%c", buf[i]); + s += base::StringPrintf("%c", buf[i]); else - s += StringPrintf("\\x%02x", buf[i]); + s += base::StringPrintf("\\x%02x", buf[i]); } return s; } -- cgit v1.1