Report errors from ChromiumEnv::GetChildren in Posix.
[chromium-blink-merge.git] / media / cast / rtp_sender / mock_rtp_sender.h
blob334bc885db56c7e2cb70714c0a0ee0c31af796b7
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_RTP_SENDER_MOCK_RTP_SENDER_H_
6 #define MEDIA_CAST_RTP_SENDER_MOCK_RTP_SENDER_H_
8 #include <vector>
10 #include "media/cast/rtp_sender/rtp_sender.h"
11 #include "testing/gmock/include/gmock/gmock.h"
13 namespace media {
14 namespace cast {
16 class MockRtpSender : public RtpSender {
17 public:
18 MOCK_METHOD2(IncomingEncodedVideoFrame,
19 bool(const EncodedVideoFrame& frame, int64 capture_time));
21 MOCK_METHOD2(IncomingEncodedAudioFrame,
22 bool(const EncodedAudioFrame& frame, int64 recorded_time));
24 MOCK_METHOD3(ResendPacket,
25 bool(bool is_audio, uint8 frame_id, uint16 packet_id));
27 MOCK_METHOD0(RtpStatistics, void());
30 } // namespace cast
31 } // namespace media
33 #endif // MEDIA_CAST_RTP_SENDER_MOCK_RTP_SENDER_H_