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

Unified Diff: net/quic/quic_protocol.h

Issue 330333006: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: net/quic/quic_protocol.h
diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h
index 23bdd3e16e5cb005088d241f24bf9e309d53dcc1..6d0a70313b5c98259fd2ede5fbfcc154406501ae 100644
--- a/net/quic/quic_protocol.h
+++ b/net/quic/quic_protocol.h
@@ -158,7 +158,13 @@ enum IsHandshake {
// Indicates FEC protection level for data being written.
enum FecProtection {
MUST_FEC_PROTECT, // Callee must FEC protect this data.
- MAY_FEC_PROTECT // Callee does not have to but may FEC protect this data.
+ MAY_FEC_PROTECT // Callee does not have to but may FEC protect this data.
+};
+
+// Indicates FEC policy
+enum FecPolicy {
+ PROTECT_ALWAYS, // All data in the stream should be FEC protected.
+ PROTECT_OPTIONAL // Data in the stream does not need FEC protection.
wtc 2014/06/16 19:35:56 I suggest adding the "FEC_" prefix to these two en
ramant (doing other things) 2014/06/16 21:13:52 Added FEC_ prefix. Done.
};
enum QuicFrameType {

Powered by Google App Engine
This is Rietveld 408576698