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

Side by Side Diff: media/cast/net/rtp/mock_rtp_feedback.h

Issue 388663003: Cast: Reshuffle files under media/cast (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing includes Created 6 years, 5 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 | « media/cast/net/rtp/framer_unittest.cc ('k') | media/cast/net/rtp/mock_rtp_payload_feedback.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 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_INCLUDE_MOCK_RTP_FEEDBACK_H_ 5 #ifndef MEDIA_CAST_RTP_INCLUDE_MOCK_RTP_FEEDBACK_H_
6 #define MEDIA_CAST_RTP_INCLUDE_MOCK_RTP_FEEDBACK_H_ 6 #define MEDIA_CAST_RTP_INCLUDE_MOCK_RTP_FEEDBACK_H_
7 7
8 #include "media/cast/rtp_receiver/rtp_parser/rtp_feedback.h" 8 #include "media/cast/net/rtp/rtp_parser/rtp_feedback.h"
9 #include "testing/gmock/include/gmock/gmock.h" 9 #include "testing/gmock/include/gmock/gmock.h"
10 10
11 namespace media { 11 namespace media {
12 namespace cast { 12 namespace cast {
13 13
14 class MockRtpFeedback : public RtpFeedback { 14 class MockRtpFeedback : public RtpFeedback {
15 public: 15 public:
16 MOCK_METHOD4(OnInitializeDecoder, 16 MOCK_METHOD4(OnInitializeDecoder,
17 int32(const int8 payloadType, 17 int32(const int8 payloadType,
18 const int frequency, 18 const int frequency,
19 const uint8 channels, 19 const uint8 channels,
20 const uint32 rate)); 20 const uint32 rate));
21 21
22 MOCK_METHOD1(OnPacketTimeout, void(const int32 id)); 22 MOCK_METHOD1(OnPacketTimeout, void(const int32 id));
23 MOCK_METHOD2(OnReceivedPacket, 23 MOCK_METHOD2(OnReceivedPacket,
24 void(const int32 id, const RtpRtcpPacketField packet_type)); 24 void(const int32 id, const RtpRtcpPacketField packet_type));
25 MOCK_METHOD2(OnPeriodicDeadOrAlive, 25 MOCK_METHOD2(OnPeriodicDeadOrAlive,
26 void(const int32 id, const RTPAliveType alive)); 26 void(const int32 id, const RTPAliveType alive));
27 MOCK_METHOD2(OnIncomingSSRCChanged, void(const int32 id, const uint32 ssrc)); 27 MOCK_METHOD2(OnIncomingSSRCChanged, void(const int32 id, const uint32 ssrc));
28 MOCK_METHOD3(OnIncomingCSRCChanged, 28 MOCK_METHOD3(OnIncomingCSRCChanged,
29 void(const int32 id, const uint32 csrc, const bool added)); 29 void(const int32 id, const uint32 csrc, const bool added));
30 }; 30 };
31 31
32 } // namespace cast 32 } // namespace cast
33 } // namespace media 33 } // namespace media
34 34
35 #endif // MEDIA_CAST_RTP_INCLUDE_MOCK_RTP_FEEDBACK_H_ 35 #endif // MEDIA_CAST_RTP_INCLUDE_MOCK_RTP_FEEDBACK_H_
OLDNEW
« no previous file with comments | « media/cast/net/rtp/framer_unittest.cc ('k') | media/cast/net/rtp/mock_rtp_payload_feedback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698