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

Side by Side Diff: net/quic/test_tools/quic_test_utils.h

Issue 1433783004: Replace QuicEncryptedPacket argument in QuicConnectionDebugVisitor::OnPacketSent with an encrypted … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@106990301
Patch Set: Fix quic_connection_logger Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « net/quic/quic_connection_logger.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Common utilities for Quic tests 5 // Common utilities for Quic tests
6 6
7 #ifndef NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 7 #ifndef NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
8 #define NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 8 #define NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 MockQuicConnectionDebugVisitor(); 685 MockQuicConnectionDebugVisitor();
686 ~MockQuicConnectionDebugVisitor() override; 686 ~MockQuicConnectionDebugVisitor() override;
687 687
688 MOCK_METHOD1(OnFrameAddedToPacket, void(const QuicFrame&)); 688 MOCK_METHOD1(OnFrameAddedToPacket, void(const QuicFrame&));
689 689
690 MOCK_METHOD6(OnPacketSent, 690 MOCK_METHOD6(OnPacketSent,
691 void(const SerializedPacket&, 691 void(const SerializedPacket&,
692 QuicPacketNumber, 692 QuicPacketNumber,
693 EncryptionLevel, 693 EncryptionLevel,
694 TransmissionType, 694 TransmissionType,
695 const QuicEncryptedPacket&, 695 size_t encrypted_length,
696 QuicTime)); 696 QuicTime));
697 697
698 MOCK_METHOD3(OnPacketReceived, 698 MOCK_METHOD3(OnPacketReceived,
699 void(const IPEndPoint&, 699 void(const IPEndPoint&,
700 const IPEndPoint&, 700 const IPEndPoint&,
701 const QuicEncryptedPacket&)); 701 const QuicEncryptedPacket&));
702 702
703 MOCK_METHOD1(OnIncorrectConnectionId, void(QuicConnectionId)); 703 MOCK_METHOD1(OnIncorrectConnectionId, void(QuicConnectionId));
704 704
705 MOCK_METHOD1(OnProtocolVersionMismatch, void(QuicVersion)); 705 MOCK_METHOD1(OnProtocolVersionMismatch, void(QuicVersion));
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 TestQuicSpdyServerSession** server_session); 770 TestQuicSpdyServerSession** server_session);
771 771
772 // Helper to generate client side stream ids, generalizes 772 // Helper to generate client side stream ids, generalizes
773 // kClientDataStreamId1 etc. above. 773 // kClientDataStreamId1 etc. above.
774 QuicStreamId QuicClientDataStreamId(int i); 774 QuicStreamId QuicClientDataStreamId(int i);
775 775
776 } // namespace test 776 } // namespace test
777 } // namespace net 777 } // namespace net
778 778
779 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 779 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « net/quic/quic_connection_logger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698