Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Unified Diff: net/spdy/mock_spdy_framer_visitor.h

Issue 1171183002: Use struct AlternativeService in OnAltSvc() and OnSpdyAltSvc() methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_headers_stream_test.cc ('k') | net/spdy/spdy_alt_svc_wire_format.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/mock_spdy_framer_visitor.h
diff --git a/net/spdy/mock_spdy_framer_visitor.h b/net/spdy/mock_spdy_framer_visitor.h
index ea59d7d8406417beb14412ffda47cd6e2b4ad89e..6437651fb8b13b15efc69e2bfdae34a3119aedf4 100644
--- a/net/spdy/mock_spdy_framer_visitor.h
+++ b/net/spdy/mock_spdy_framer_visitor.h
@@ -52,12 +52,10 @@ class MockSpdyFramerVisitor : public SpdyFramerVisitorInterface {
SpdyStreamId promised_stream_id,
bool end));
MOCK_METHOD2(OnContinuation, void(SpdyStreamId stream_id, bool end));
- MOCK_METHOD6(OnAltSvc, void(SpdyStreamId stream_id,
- uint32 max_age,
- uint16 port,
- base::StringPiece protocol_id,
- base::StringPiece host,
- base::StringPiece origin));
+ MOCK_METHOD3(OnAltSvc,
+ void(SpdyStreamId stream_id,
+ base::StringPiece origin,
+ const SpdyAltSvcWireFormat::AlternativeService& altsvc));
MOCK_METHOD4(OnPriority,
void(SpdyStreamId stream_id,
SpdyStreamId parent_stream_id,
« no previous file with comments | « net/quic/quic_headers_stream_test.cc ('k') | net/spdy/spdy_alt_svc_wire_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698