1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MEDIA_CAST_PACING_MOCK_PACED_PACKET_SENDER_H_
6 #define MEDIA_CAST_PACING_MOCK_PACED_PACKET_SENDER_H_
8 #include "media/cast/pacing/paced_sender.h"
9 #include "testing/gmock/include/gmock/gmock.h"
14 class MockPacedPacketSender
: public PacedPacketSender
{
16 MockPacedPacketSender();
17 virtual ~MockPacedPacketSender();
19 MOCK_METHOD1(SendPackets
, bool(const PacketList
& packets
));
20 MOCK_METHOD1(ResendPackets
, bool(const PacketList
& packets
));
21 MOCK_METHOD1(SendRtcpPacket
, bool(const Packet
& packet
));
27 #endif // MEDIA_CAST_PACING_MOCK_PACED_PACKET_SENDER_H_