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

Unified Diff: net/quic/platform/api/quic_endian.h

Issue 2850573002: Landing Recent QUIC changes until 3:35 PM, Apr 26, 2017 UTC-4 (Closed)
Patch Set: Remove Disconnect from ~QuicTestClient Created 3 years, 8 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/core/spdy_utils_test.cc ('k') | net/quic/platform/api/quic_mutex.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/api/quic_endian.h
diff --git a/net/quic/platform/api/quic_endian.h b/net/quic/platform/api/quic_endian.h
index adf5c520a3042a111761968cb3702fccf3f7a257..474143fc43c2a5184bd5b22f242032a9e6d006f1 100644
--- a/net/quic/platform/api/quic_endian.h
+++ b/net/quic/platform/api/quic_endian.h
@@ -9,6 +9,11 @@
namespace net {
+enum Endianness {
+ NETWORK_BYTE_ORDER, // big endian
+ HOST_BYTE_ORDER // little endian
+};
+
// Provide utility functions that convert from/to network order (big endian)
// to/from host order (can be either little or big endian depending on the
// platform).
« no previous file with comments | « net/quic/core/spdy_utils_test.cc ('k') | net/quic/platform/api/quic_mutex.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698