| Index: net/spdy/spdy_framer.h
|
| diff --git a/net/spdy/spdy_framer.h b/net/spdy/spdy_framer.h
|
| index 218423424fba612648742a4721f3d892e8ecaf40..7ade08012e05d3573d6266281da86669c494ce35 100644
|
| --- a/net/spdy/spdy_framer.h
|
| +++ b/net/spdy/spdy_framer.h
|
| @@ -284,6 +284,12 @@ class NET_EXPORT_PRIVATE SpdyFramerVisitorInterface {
|
| base::StringPiece protocol_id,
|
| base::StringPiece host,
|
| base::StringPiece origin) {}
|
| +
|
| + // Called when a PRIORITY frame is received.
|
| + virtual void OnPriority(SpdyStreamId stream_id,
|
| + SpdyStreamId parent_stream_id,
|
| + uint8 weight,
|
| + bool exclusive) {};
|
| };
|
|
|
| // Optionally, and in addition to SpdyFramerVisitorInterface, a class supporting
|
| @@ -478,6 +484,10 @@ class NET_EXPORT_PRIVATE SpdyFramer {
|
| // availability of an alternative service to the client.
|
| SpdySerializedFrame* SerializeAltSvc(const SpdyAltSvcIR& altsvc);
|
|
|
| + // Serializes a PRIORITY frame. The PRIORITY frame advises a change in
|
| + // the relative priority of the given stream.
|
| + SpdySerializedFrame* SerializePriority(const SpdyPriorityIR& priority);
|
| +
|
| // Serialize a frame of unknown type.
|
| SpdySerializedFrame* SerializeFrame(const SpdyFrameIR& frame);
|
|
|
|
|