Index: net/spdy/spdy_test_util_common.cc |
diff --git a/net/spdy/spdy_test_util_common.cc b/net/spdy/spdy_test_util_common.cc |
index bd3cf6798ea56c2c191e4c8cc93d4214c35c0ecb..3f4b9e67c0f57c04ee0366c9a852a5dde1e7a9a2 100644 |
--- a/net/spdy/spdy_test_util_common.cc |
+++ b/net/spdy/spdy_test_util_common.cc |
@@ -25,6 +25,7 @@ |
#include "net/socket/ssl_client_socket.h" |
#include "net/socket/transport_client_socket_pool.h" |
#include "net/spdy/buffered_spdy_framer.h" |
+#include "net/spdy/spdy_alt_svc_wire_format.h" |
#include "net/spdy/spdy_framer.h" |
#include "net/spdy/spdy_http_utils.h" |
#include "net/spdy/spdy_session.h" |
@@ -228,6 +229,10 @@ class PriorityGetter : public BufferedSpdyFramerVisitorInterface { |
void OnPushPromise(SpdyStreamId stream_id, |
SpdyStreamId promised_stream_id, |
const SpdyHeaderBlock& headers) override {} |
+ void OnAltSvc(SpdyStreamId stream_id, |
+ base::StringPiece origin, |
+ const SpdyAltSvcWireFormat::AlternativeServiceVector& |
+ altsvc_vector) override {} |
bool OnUnknownFrame(SpdyStreamId stream_id, int frame_type) override { |
return false; |
} |
@@ -1235,6 +1240,10 @@ SpdySerializedFrame* SpdyTestUtil::ConstructWrappedSpdyFrame( |
frame->size(), false); |
} |
+SpdySerializedFrame SpdyTestUtil::SerializeFrame(const SpdyFrameIR& frame_ir) { |
+ return headerless_spdy_framer_.SerializeFrame(frame_ir); |
+} |
+ |
void SpdyTestUtil::UpdateWithStreamDestruction(int stream_id) { |
for (auto priority_it = priority_to_stream_id_list_.begin(); |
priority_it != priority_to_stream_id_list_.end(); ++priority_it) { |