Add settings IDs to SpdyConstants.

Refactor only, no behavioral change.

This lands server change 63167890 by hkhalil.
https://codereview.chromium.org/202383002/


Syntactic-only changes to use protocol_version() over spdy_version_ in SpdyFramer.

Also use the lowest possible enumeration value when doing comparisons,
which makes deprecating older versions easier.

This lands server change 63165647 by hkhalil.
https://codereview.chromium.org/202113002/


Add some break statements in spdy_protocol for clarity.

This lands server change 63158241 by hkhalil.
https://codereview.chromium.org/198213007/


Minor logging change for catching development errors during testing.

This lands server change 63102059 by hkhalil.
https://codereview.chromium.org/201943003/


Introduce new SpdyConstants class

Used for translating between code constants and on-the-wire
representations (which differ from version to version). Currently
only handles SpdyFrameType constants.

This lands server change 62928184 by hkhalil.
https://codereview.chromium.org/202073003/


Fix SpdyFramerTest.ProcessDataFrameWithPadding so it no longer tells SpdyFramer to read past the end of a buffer.

This lands server change 62728542 by elving.
https://codereview.chromium.org/197863004/


Added OverwriteFlags method to SpdyFrameBuilder.

If we find the after-compression payload of a HEADERS or PUSH_PROMISE is too
long, we can go back and turn off the END_HEADERS or END_PUSH_PROMISE flag.

Will be used in a follow-up CL to automatically serialize header blocks across
CONTINUATION frames as needed.

This lands server change 62682641 by mlavan.
https://codereview.chromium.org/202063002/


Update SPDY4 length field to exclude frame prefix length.

Does not enforce the new 16KB max frame size.

This lands server change 62559133 by mlavan.
https://codereview.chromium.org/202033002/


Implement padding for SPDY4/HTTP2 DATA frames.

Padding is correctly interpreted, but not emitted.

This lands server change 62555297 by raullenchai.
https://codereview.chromium.org/199843005/

Review URL: https://codereview.chromium.org/202403002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260477 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed