Report errors from ChromiumEnv::GetChildren in Posix.
[chromium-blink-merge.git] / media / cast / pacing / mock_paced_packet_sender.h
blob7d81b88cc69842f31e397c11fa1e92da5da94a33
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"
11 namespace media {
12 namespace cast {
14 class MockPacedPacketSender : public PacedPacketSender {
15 public:
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));
24 } // namespace cast
25 } // namespace media
27 #endif // MEDIA_CAST_PACING_MOCK_PACED_PACKET_SENDER_H_