Index: net/spdy/spdy_session.h |
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h |
index 4037e03601a414373c8d98772e947b100c8080a2..36406b7e614cf526d8ff08a4521a8f0d833aa2b1 100644 |
--- a/net/spdy/spdy_session.h |
+++ b/net/spdy/spdy_session.h |
@@ -536,6 +536,7 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface, |
FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, IgnoreReservedRemoteStreamsCount); |
FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, |
CancelReservedStreamOnHeadersReceived); |
+ FRIEND_TEST_ALL_PREFIXES(SpdySessionTest, RejectInvalidUnknownFrames); |
typedef std::deque<base::WeakPtr<SpdyStreamRequest> > |
PendingStreamRequestQueue; |
@@ -840,6 +841,7 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface, |
SpdyStreamId stream_id, |
bool fin, |
const SpdyHeaderBlock& headers) OVERRIDE; |
+ virtual bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) OVERRIDE; |
// SpdyFramerDebugVisitorInterface |
virtual void OnSendCompressedFrame( |