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

Unified Diff: net/websockets/websocket_handshake_unittest.cc

Issue 3390026: net: Append base:: in the StringPrintf calls. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix include order Created 10 years, 3 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 | « net/websockets/websocket_handshake.cc ('k') | net/websockets/websocket_net_log_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_handshake_unittest.cc
diff --git a/net/websockets/websocket_handshake_unittest.cc b/net/websockets/websocket_handshake_unittest.cc
index e392cfc27a8a980f1f5004b7c342017a74971506..df3914e7e0611011777330a6adb4dd7edc51d91d 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;
}
« no previous file with comments | « net/websockets/websocket_handshake.cc ('k') | net/websockets/websocket_net_log_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698