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

Unified Diff: net/websockets/websocket_net_log_params.h

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_unittest.cc ('k') | net/websockets/websocket_throttle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/websockets/websocket_net_log_params.h
diff --git a/net/websockets/websocket_net_log_params.h b/net/websockets/websocket_net_log_params.h
index b11cefd3578c16019e86fa0fa44c0ed90b941f08..a5041867a2414a79c17b57498441336ea94e4f24 100644
--- a/net/websockets/websocket_net_log_params.h
+++ b/net/websockets/websocket_net_log_params.h
@@ -13,6 +13,7 @@
#include "base/ref_counted.h"
#include "base/string_split.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/values.h"
#include "net/base/net_log.h"
@@ -37,7 +38,7 @@ class NetLogWebSocketHandshakeParameter : public NetLog::EventParameters {
i = i + 1;
for (; i < lines.size(); ++i) {
for (size_t j = 0; j < lines[i].length(); ++j) {
- key += StringPrintf("\\x%02x", lines[i][j] & 0xff);
+ key += base::StringPrintf("\\x%02x", lines[i][j] & 0xff);
}
key += "\\x0a";
}
« no previous file with comments | « net/websockets/websocket_handshake_unittest.cc ('k') | net/websockets/websocket_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698