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

Side by Side Diff: media/cast/transport/rtp_sender/mock_rtp_sender.h

Issue 100823015: Cast: move net->transport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating transport callback Created 6 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 #ifndef MEDIA_CAST_RTP_SENDER_MOCK_RTP_SENDER_H_ 5 #ifndef MEDIA_CAST_TRANSPORT_RTP_SENDER_MOCK_RTP_SENDER_H_
6 #define MEDIA_CAST_RTP_SENDER_MOCK_RTP_SENDER_H_ 6 #define MEDIA_CAST_TRANSPORT_RTP_SENDER_MOCK_RTP_SENDER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "media/cast/net/rtp_sender/rtp_sender.h" 10 #include "media/cast/transport/rtp_sender/rtp_sender.h"
11 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 12
13 namespace media { 13 namespace media {
14 namespace cast { 14 namespace cast {
15 namespace transport {
15 16
16 class MockRtpSender : public RtpSender { 17 class MockRtpSender : public RtpSender {
17 public: 18 public:
18 MOCK_METHOD2(IncomingEncodedVideoFrame, 19 MOCK_METHOD2(IncomingEncodedVideoFrame,
19 bool(const EncodedVideoFrame& frame, int64 capture_time)); 20 bool(const EncodedVideoFrame& frame, int64 capture_time));
20 21
21 MOCK_METHOD2(IncomingEncodedAudioFrame, 22 MOCK_METHOD2(IncomingEncodedAudioFrame,
22 bool(const EncodedAudioFrame& frame, int64 recorded_time)); 23 bool(const EncodedAudioFrame& frame, int64 recorded_time));
23 24
24 MOCK_METHOD3(ResendPacket, 25 MOCK_METHOD3(ResendPacket,
25 bool(bool is_audio, uint32 frame_id, uint16 packet_id)); 26 bool(bool is_audio, uint32 frame_id, uint16 packet_id));
26 27
27 MOCK_METHOD0(RtpStatistics, void()); 28 MOCK_METHOD0(RtpStatistics, void());
28 }; 29 };
29 30
31 } // namespace transport
30 } // namespace cast 32 } // namespace cast
31 } // namespace media 33 } // namespace media
32 34
33 #endif // MEDIA_CAST_RTP_SENDER_MOCK_RTP_SENDER_H_ 35 #endif // MEDIA_CAST_TRANSPORT_RTP_SENDER_MOCK_RTP_SENDER_H_
34 36
OLDNEW
« no previous file with comments | « media/cast/transport/rtcp/rtcp_builder_unittest.cc ('k') | media/cast/transport/rtp_sender/packet_storage/packet_storage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698