Index: net/quic/test_tools/simple_quic_framer.cc |
diff --git a/net/quic/test_tools/simple_quic_framer.cc b/net/quic/test_tools/simple_quic_framer.cc |
index ca3a16b37f90a40a1f8e9513a30a3331064f7ce9..38b5399a421ac31d534baff3ea19bfbe9657b592 100644 |
--- a/net/quic/test_tools/simple_quic_framer.cc |
+++ b/net/quic/test_tools/simple_quic_framer.cc |
@@ -41,16 +41,19 @@ class SimpleFramerVisitor : public QuicFramerVisitorInterface { |
const QuicVersionNegotiationPacket& packet) OVERRIDE {} |
virtual void OnRevivedPacket() OVERRIDE {} |
- virtual bool OnPacketHeader(const QuicPacketHeader& header) OVERRIDE { |
- has_header_ = true; |
- header_ = header; |
+ virtual bool OnUnauthenticatedPublicHeader( |
+ const QuicPacketPublicHeader& header) OVERRIDE { |
return true; |
} |
- |
virtual bool OnUnauthenticatedHeader( |
const QuicPacketHeader& header) OVERRIDE { |
return true; |
} |
+ virtual bool OnPacketHeader(const QuicPacketHeader& header) OVERRIDE { |
+ has_header_ = true; |
+ header_ = header; |
+ return true; |
+ } |
virtual void OnFecProtectedPayload(StringPiece payload) OVERRIDE {} |