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

Unified Diff: net/quic/core/quic_tag.cc

Issue 2603723002: Add a new QUIC platform API for text utilities. (Closed)
Patch Set: net/tools/quic/quic_packet_printer_bin.cc 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
« no previous file with comments | « net/quic/core/quic_stream_sequencer_buffer.cc ('k') | net/quic/core/quic_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_tag.cc
diff --git a/net/quic/core/quic_tag.cc b/net/quic/core/quic_tag.cc
index 584f582ebb49934d2563cbd3e9f06338fc6b03af..1bb93351a7731913e2f5048cc2d7806500ad6cc8 100644
--- a/net/quic/core/quic_tag.cc
+++ b/net/quic/core/quic_tag.cc
@@ -7,7 +7,7 @@
#include <algorithm>
#include "base/macros.h"
-#include "base/strings/string_number_conversions.h"
+#include "net/quic/platform/api/quic_text_utils.h"
namespace net {
@@ -56,7 +56,7 @@ std::string QuicTagToString(QuicTag tag) {
return std::string(chars, sizeof(chars));
}
- return base::UintToString(orig_tag);
+ return QuicTextUtils::Uint64ToString(orig_tag);
}
uint32_t MakeQuicTag(char a, char b, char c, char d) {
« no previous file with comments | « net/quic/core/quic_stream_sequencer_buffer.cc ('k') | net/quic/core/quic_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698