Index: net/spdy/spdy_framer_test.cc |
diff --git a/net/spdy/spdy_framer_test.cc b/net/spdy/spdy_framer_test.cc |
index 9c19520884f879dd8db64683217ed64c572008c6..c2979131cf9d1e03845340d26c073061b5682797 100644 |
--- a/net/spdy/spdy_framer_test.cc |
+++ b/net/spdy/spdy_framer_test.cc |
@@ -3283,19 +3283,18 @@ |
const char kDescription[] = "CONTINUATION frame"; |
const unsigned char kFrameData[] = { |
- 0x00, 0x00, 0x12, 0x09, // CONTINUATION |
- 0x04, 0x00, 0x00, 0x00, // end_headers = true |
- 0x2a, 0x00, 0x03, 0x62, // Stream 42, @.b |
- 0x61, 0x72, 0x03, 0x66, // ar.f |
- 0x6f, 0x6f, 0x00, 0x03, // oo@. |
- 0x66, 0x6f, 0x6f, 0x03, // foo. |
- 0x62, 0x61, 0x72, // bar |
+ 0x00, 0x00, 0x12, 0x09, 0x00, // CONTINUATION |
+ 0x00, 0x00, 0x00, 0x2a, // Stream 42 |
+ 0x00, 0x03, 0x62, 0x61, // @.ba |
+ 0x72, 0x03, 0x66, 0x6f, // r.fo |
+ 0x6f, 0x00, 0x03, 0x66, // o@.f |
+ 0x6f, 0x6f, 0x03, 0x62, // oo.b |
+ 0x61, 0x72, // ar |
}; |
SpdyContinuationIR continuation(42); |
continuation.SetHeader("bar", "foo"); |
continuation.SetHeader("foo", "bar"); |
- continuation.set_end_headers(true); |
scoped_ptr<SpdySerializedFrame> frame( |
framer.SerializeContinuation(continuation)); |
CompareFrame(kDescription, *frame, kFrameData, arraysize(kFrameData)); |
@@ -3451,12 +3450,6 @@ |
}; |
SpdyPriorityIR priority_ir(2, 1, 16, true); |
scoped_ptr<SpdySerializedFrame> frame(framer.SerializeFrame(priority_ir)); |
- CompareFrame(kDescription, *frame, kFrameData, arraysize(kFrameData)); |
- SpdyPriorityIR priority2(2); |
- priority2.set_parent_stream_id(1); |
- priority2.set_weight(16); |
- priority2.set_exclusive(true); |
- frame.reset(framer.SerializeFrame(priority2)); |
CompareFrame(kDescription, *frame, kFrameData, arraysize(kFrameData)); |
} |