| Index: net/spdy/buffered_spdy_framer.h
|
| diff --git a/net/spdy/buffered_spdy_framer.h b/net/spdy/buffered_spdy_framer.h
|
| index 8f04d9ecb2cc482ab9b5eb650212174a30899e16..48bc4a51c8e5e2fe5c826b038ede1552dd66f721 100644
|
| --- a/net/spdy/buffered_spdy_framer.h
|
| +++ b/net/spdy/buffered_spdy_framer.h
|
| @@ -13,7 +13,6 @@
|
|
|
| #include "base/macros.h"
|
| #include "net/base/net_export.h"
|
| -#include "net/socket/next_proto.h"
|
| #include "net/spdy/header_coalescer.h"
|
| #include "net/spdy/spdy_alt_svc_wire_format.h"
|
| #include "net/spdy/spdy_framer.h"
|
| @@ -22,11 +21,6 @@
|
|
|
| namespace net {
|
|
|
| -// Returns the SPDY major version corresponding to the given NextProto
|
| -// value, which must represent a SPDY-like protocol.
|
| -NET_EXPORT_PRIVATE SpdyMajorVersion NextProtoToSpdyMajorVersion(
|
| - NextProto next_proto);
|
| -
|
| class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface {
|
| public:
|
| BufferedSpdyFramerVisitorInterface() {}
|
| @@ -38,19 +32,6 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface {
|
| virtual void OnStreamError(SpdyStreamId stream_id,
|
| const std::string& description) = 0;
|
|
|
| - // Called after all the header data for SYN_STREAM control frame is received.
|
| - virtual void OnSynStream(SpdyStreamId stream_id,
|
| - SpdyStreamId associated_stream_id,
|
| - SpdyPriority priority,
|
| - bool fin,
|
| - bool unidirectional,
|
| - const SpdyHeaderBlock& headers) = 0;
|
| -
|
| - // Called after all the header data for SYN_REPLY control frame is received.
|
| - virtual void OnSynReply(SpdyStreamId stream_id,
|
| - bool fin,
|
| - const SpdyHeaderBlock& headers) = 0;
|
| -
|
| // Called after all the header data for HEADERS control frame is received.
|
| virtual void OnHeaders(SpdyStreamId stream_id,
|
| bool has_priority,
|
| @@ -140,7 +121,7 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramerVisitorInterface {
|
| class NET_EXPORT_PRIVATE BufferedSpdyFramer
|
| : public SpdyFramerVisitorInterface {
|
| public:
|
| - explicit BufferedSpdyFramer(SpdyMajorVersion version);
|
| + BufferedSpdyFramer();
|
| ~BufferedSpdyFramer() override;
|
|
|
| // Sets callbacks to be called from the buffered spdy framer. A visitor must
|
| @@ -205,7 +186,6 @@ class NET_EXPORT_PRIVATE BufferedSpdyFramer
|
|
|
| // SpdyFramer methods.
|
| size_t ProcessInput(const char* data, size_t len);
|
| - SpdyMajorVersion protocol_version();
|
| void Reset();
|
| SpdyFramer::SpdyError error_code() const;
|
| SpdyFramer::SpdyState state() const;
|
|
|