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

Unified Diff: net/spdy/spdy_framer.h

Issue 1997863002: Revert of Avoids the "re-encode HPACK as SPDY3" step. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/spdy/mock_spdy_framer_visitor.cc ('k') | net/spdy/spdy_framer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_framer.h
diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
index c90cb07bc575a148e14a3a03880eb954e09409b5..6d0b78b2b98b0b70f8d47119a8fb4f12308a4793 100644
--- a/net/spdy/spdy_framer.h
+++ b/net/spdy/spdy_framer.h
@@ -20,7 +20,6 @@
#include "net/spdy/hpack/hpack_encoder.h"
#include "net/spdy/spdy_alt_svc_wire_format.h"
#include "net/spdy/spdy_header_block.h"
-#include "net/spdy/spdy_headers_block_parser.h"
#include "net/spdy/spdy_protocol.h"
typedef struct z_stream_s z_stream; // Forward declaration for zlib.
@@ -128,9 +127,9 @@
// Called just before processing the payload of a frame containing header
// data. Should return an implementation of SpdyHeadersHandlerInterface that
// will receive headers for stream |stream_id|. The caller will not take
- // ownership of the headers handler. The same instance should remain live
- // and be returned for all header frames comprising a logical header block
- // (i.e. until OnHeaderFrameEnd() is called with end_headers == true).
+ // ownership of the headers handler. The same instance should be returned
+ // for all header frames comprising a logical header block (i.e. until
+ // OnHeaderFrameEnd() is called with end_headers == true).
virtual SpdyHeadersHandlerInterface* OnHeaderFrameStart(
SpdyStreamId stream_id) = 0;
@@ -339,7 +338,6 @@
SPDY_INVALID_DATA_FRAME_FLAGS, // Data frame has invalid flags.
SPDY_INVALID_CONTROL_FRAME_FLAGS, // Control frame has invalid flags.
SPDY_UNEXPECTED_FRAME, // Frame received out of order.
- SPDY_INTERNAL_FRAMER_ERROR, // SpdyFramer was used incorrectly.
SPDY_INVALID_CONTROL_FRAME_SIZE, // Control frame not sized to spec
LAST_ERROR, // Must be the last entry in the enum.
@@ -570,7 +568,6 @@
size_t header_encoder_table_size() const;
protected:
- friend class BufferedSpdyFramer;
friend class HttpNetworkLayer; // This is temporary for the server.
friend class HttpNetworkTransactionTest;
friend class HttpProxyClientSocketPoolTest;
@@ -770,9 +767,6 @@
SpdyFramerVisitorInterface* visitor_;
SpdyFramerDebugVisitorInterface* debug_visitor_;
- std::unique_ptr<SpdyHeadersBlockParser> header_parser_;
- SpdyHeadersHandlerInterface* header_handler_;
-
std::string display_protocol_;
// The protocol version to be spoken/understood by this framer.
« no previous file with comments | « net/spdy/mock_spdy_framer_visitor.cc ('k') | net/spdy/spdy_framer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698