| Index: net/quic/test_tools/quic_test_utils.h
|
| diff --git a/net/quic/test_tools/quic_test_utils.h b/net/quic/test_tools/quic_test_utils.h
|
| index b1fb8dc3e0bd5a61aa0af84ac7fae19d5a051b6d..ffe3b13ac37f58f451401bcf0b706b8d5dfc8c95 100644
|
| --- a/net/quic/test_tools/quic_test_utils.h
|
| +++ b/net/quic/test_tools/quic_test_utils.h
|
| @@ -108,6 +108,7 @@ class MockFramerVisitor : public QuicFramerVisitorInterface {
|
| MOCK_METHOD1(OnAckFrame, bool(const QuicAckFrame& frame));
|
| MOCK_METHOD1(OnCongestionFeedbackFrame,
|
| bool(const QuicCongestionFeedbackFrame& frame));
|
| + MOCK_METHOD1(OnStopWaitingFrame, bool(const QuicStopWaitingFrame& frame));
|
| MOCK_METHOD1(OnFecData, void(const QuicFecData& fec));
|
| MOCK_METHOD1(OnRstStreamFrame, bool(const QuicRstStreamFrame& frame));
|
| MOCK_METHOD1(OnConnectionCloseFrame,
|
| @@ -142,6 +143,8 @@ class NoOpFramerVisitor : public QuicFramerVisitorInterface {
|
| virtual bool OnAckFrame(const QuicAckFrame& frame) OVERRIDE;
|
| virtual bool OnCongestionFeedbackFrame(
|
| const QuicCongestionFeedbackFrame& frame) OVERRIDE;
|
| + virtual bool OnStopWaitingFrame(
|
| + const QuicStopWaitingFrame& frame) OVERRIDE;
|
| virtual void OnFecData(const QuicFecData& fec) OVERRIDE {}
|
| virtual bool OnRstStreamFrame(const QuicRstStreamFrame& frame) OVERRIDE;
|
| virtual bool OnConnectionCloseFrame(
|
| @@ -187,6 +190,8 @@ class FramerVisitorCapturingFrames : public NoOpFramerVisitor {
|
| virtual bool OnAckFrame(const QuicAckFrame& frame) OVERRIDE;
|
| virtual bool OnCongestionFeedbackFrame(
|
| const QuicCongestionFeedbackFrame& frame) OVERRIDE;
|
| + virtual bool OnStopWaitingFrame(
|
| + const QuicStopWaitingFrame& frame) OVERRIDE;
|
| virtual bool OnRstStreamFrame(const QuicRstStreamFrame& frame) OVERRIDE;
|
| virtual bool OnConnectionCloseFrame(
|
| const QuicConnectionCloseFrame& frame) OVERRIDE;
|
| @@ -202,6 +207,7 @@ class FramerVisitorCapturingFrames : public NoOpFramerVisitor {
|
| }
|
| QuicAckFrame* ack() { return ack_.get(); }
|
| QuicCongestionFeedbackFrame* feedback() { return feedback_.get(); }
|
| + QuicStopWaitingFrame* stop_waiting() { return stop_waiting_.get(); }
|
| QuicRstStreamFrame* rst() { return rst_.get(); }
|
| QuicConnectionCloseFrame* close() { return close_.get(); }
|
| QuicGoAwayFrame* goaway() { return goaway_.get(); }
|
| @@ -216,6 +222,7 @@ class FramerVisitorCapturingFrames : public NoOpFramerVisitor {
|
| std::vector<std::string*> stream_data_;
|
| scoped_ptr<QuicAckFrame> ack_;
|
| scoped_ptr<QuicCongestionFeedbackFrame> feedback_;
|
| + scoped_ptr<QuicStopWaitingFrame> stop_waiting_;
|
| scoped_ptr<QuicRstStreamFrame> rst_;
|
| scoped_ptr<QuicConnectionCloseFrame> close_;
|
| scoped_ptr<QuicGoAwayFrame> goaway_;
|
|
|