diff options
author | jgraettinger@chromium.org <jgraettinger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-27 18:22:42 +0000 |
---|---|---|
committer | jgraettinger@chromium.org <jgraettinger@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-27 18:22:42 +0000 |
commit | fd567fbda7bb74541b9672f18bb0987aef878352 (patch) | |
tree | 0f019f0bb9766e1657c7fb0c96d2bf7a0bd0f78a /net/net.gyp | |
parent | 544cfcf4e09dfe00ddcf34cbe2605452053e5559 (diff) | |
download | chromium_src-fd567fbda7bb74541b9672f18bb0987aef878352.zip chromium_src-fd567fbda7bb74541b9672f18bb0987aef878352.tar.gz chromium_src-fd567fbda7bb74541b9672f18bb0987aef878352.tar.bz2 |
Extract buffer management logic from SpdyHeadersBlockParser.
Reader concept is extracted into new class SpdyPrefixedBufferReader
and companion class SpdyPinnableBufferPiece, which manage details
of non-copying reads across disjoint buffers.
SpdyHeadersBlockParser is given its own error enum to
remove dependency on a Google-internal enum, and to treat insufficient
data as a recoverable error in the SpdyHeadersBlockParser state machine.
SpdyHeadersBlockParser tests are updated to
correctly retain storage of mock arguments on the stack.
This lands server change 61753532 by jgraettinger.
This skips over server change 59584319 by ygi.
BUG=345769
Review URL: https://codereview.chromium.org/181683003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp index 6ef3937..9067910 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -1066,6 +1066,10 @@ 'spdy/spdy_http_stream.h', 'spdy/spdy_http_utils.cc', 'spdy/spdy_http_utils.h', + 'spdy/spdy_pinnable_buffer_piece.cc', + 'spdy/spdy_pinnable_buffer_piece.h', + 'spdy/spdy_prefixed_buffer_reader.cc', + 'spdy/spdy_prefixed_buffer_reader.h', 'spdy/spdy_priority_forest.h', 'spdy/spdy_protocol.cc', 'spdy/spdy_protocol.h', @@ -2011,6 +2015,8 @@ 'spdy/spdy_http_stream_unittest.cc', 'spdy/spdy_http_utils_unittest.cc', 'spdy/spdy_network_transaction_unittest.cc', + 'spdy/spdy_pinnable_buffer_piece_test.cc', + 'spdy/spdy_prefixed_buffer_reader_test.cc', 'spdy/spdy_priority_forest_test.cc', 'spdy/spdy_protocol_test.cc', 'spdy/spdy_proxy_client_socket_unittest.cc', |