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

Unified Diff: net/quic/quic_utils.h

Issue 196053008: Add varz to track QUIC packets and bytes sent by transmission type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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/quic/quic_packet_generator.h ('k') | net/quic/quic_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_utils.h
diff --git a/net/quic/quic_utils.h b/net/quic/quic_utils.h
index 05d88ca61dd2b7d5489d832173d29e49433071b1..39a9a5ce8ded69ddb08bdc4f355cf7c835e9b43d 100644
--- a/net/quic/quic_utils.h
+++ b/net/quic/quic_utils.h
@@ -59,6 +59,9 @@ class NET_EXPORT_PRIVATE QuicUtils {
// Returns the level of encryption as a char*
static const char* EncryptionLevelToString(EncryptionLevel level);
+ // Returns TransmissionType as a char*
+ static const char* TransmissionTypeToString(TransmissionType type);
+
// TagToString is a utility function for pretty-printing handshake messages
// that converts a tag to a string. It will try to maintain the human friendly
// name if possible (i.e. kABCD -> "ABCD"), or will just treat it as a number
« no previous file with comments | « net/quic/quic_packet_generator.h ('k') | net/quic/quic_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698