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

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

Issue 198353003: Land Recent QUIC Changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/quic/quic_utils.cc ('k') | net/tools/quic/test_tools/quic_test_utils.h » ('j') | 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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 479
480 MOCK_CONST_METHOD1( 480 MOCK_CONST_METHOD1(
481 EntropyHash, 481 EntropyHash,
482 QuicPacketEntropyHash(QuicPacketSequenceNumber sequence_number)); 482 QuicPacketEntropyHash(QuicPacketSequenceNumber sequence_number));
483 }; 483 };
484 484
485 class MockAckNotifierDelegate : public QuicAckNotifier::DelegateInterface { 485 class MockAckNotifierDelegate : public QuicAckNotifier::DelegateInterface {
486 public: 486 public:
487 MockAckNotifierDelegate(); 487 MockAckNotifierDelegate();
488 488
489 MOCK_METHOD0(OnAckNotification, void()); 489 MOCK_METHOD4(OnAckNotification, void(int num_original_packets,
490 int num_original_bytes,
491 int num_retransmitted_packets,
492 int num_retransmitted_bytes));
490 493
491 protected: 494 protected:
492 // Object is ref counted. 495 // Object is ref counted.
493 virtual ~MockAckNotifierDelegate(); 496 virtual ~MockAckNotifierDelegate();
494 }; 497 };
495 498
496 } // namespace test 499 } // namespace test
497 } // namespace net 500 } // namespace net
498 501
499 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_ 502 #endif // NET_QUIC_TEST_TOOLS_QUIC_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « net/quic/quic_utils.cc ('k') | net/tools/quic/test_tools/quic_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698