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

Unified Diff: net/quic/core/quic_multipath_sent_packet_manager.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_headers_stream_test.cc ('k') | net/quic/core/quic_packets.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_multipath_sent_packet_manager.cc
diff --git a/net/quic/core/quic_multipath_sent_packet_manager.cc b/net/quic/core/quic_multipath_sent_packet_manager.cc
index d6366ac0e09ae0729bae04d2de9a3f6e2d35e327..e0173900e9820386e2c1d815ba63dacee882a31d 100644
--- a/net/quic/core/quic_multipath_sent_packet_manager.cc
+++ b/net/quic/core/quic_multipath_sent_packet_manager.cc
@@ -6,7 +6,6 @@
#include <cstdint>
-#include "base/strings/string_number_conversions.h"
#include "net/quic/core/quic_bug_tracker.h"
#include "net/quic/platform/api/quic_str_cat.h"
@@ -327,8 +326,8 @@ string QuicMultipathSentPacketManager::GetDebugState() const {
if (debug_state.empty()) {
continue;
}
- debug_state_by_path =
- debug_state_by_path + "[" + base::IntToString(i) + "]:" + debug_state;
+ debug_state_by_path = QuicStrCat(
+ debug_state_by_path, "[", i, "]:", debug_state);
}
return debug_state_by_path;
}
« no previous file with comments | « net/quic/core/quic_headers_stream_test.cc ('k') | net/quic/core/quic_packets.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698