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

Unified Diff: net/tools/quic/crypto_message_printer_bin.cc

Issue 2603723002: Add a new QUIC platform API for text utilities. (Closed)
Patch Set: Tests Created 4 years 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
Index: net/tools/quic/crypto_message_printer_bin.cc
diff --git a/net/tools/quic/crypto_message_printer_bin.cc b/net/tools/quic/crypto_message_printer_bin.cc
index 11eb8f834106ba3ef729033118d83415804d2b1b..d0b46c60e9cdccfbd02e1ff1b950094448471542 100644
--- a/net/tools/quic/crypto_message_printer_bin.cc
+++ b/net/tools/quic/crypto_message_printer_bin.cc
@@ -11,7 +11,7 @@
#include "base/command_line.h"
#include "net/quic/core/crypto/crypto_framer.h"
-#include "net/quic/core/quic_utils.h"
+#include "net/quic/platform/api/quic_text_utils.h"
using std::cerr;
using std::cout;
@@ -44,7 +44,7 @@ int main(int argc, char* argv[]) {
net::CryptoMessagePrinter printer;
net::CryptoFramer framer;
framer.set_visitor(&printer);
- std::string input = net::QuicUtils::HexDecode(argv[1]);
+ std::string input = net::QuicTextUtils::HexDecode(argv[1]);
if (!framer.ProcessInput(input)) {
return 1;
}

Powered by Google App Engine
This is Rietveld 408576698