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

Side by Side Diff: media/cast/net/mock_cast_transport_sender.h

Issue 1515023002: Simplify interface for media/cast: CastTransportSenderImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add changes on tests. Created 4 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_NET_MOCK_CAST_TRANSPORT_SENDER_H_ 5 #ifndef MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_
6 #define MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_ 6 #define MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "media/cast/net/cast_transport_sender.h" 10 #include "media/cast/net/cast_transport_sender.h"
(...skipping 27 matching lines...) Expand all
38 MOCK_METHOD0(PacketReceiverForTesting, PacketReceiverCallback()); 38 MOCK_METHOD0(PacketReceiverForTesting, PacketReceiverCallback());
39 MOCK_METHOD1(AddValidSsrc, void(uint32_t ssrc)); 39 MOCK_METHOD1(AddValidSsrc, void(uint32_t ssrc));
40 MOCK_METHOD7(SendRtcpFromRtpReceiver, 40 MOCK_METHOD7(SendRtcpFromRtpReceiver,
41 void(uint32_t ssrc, 41 void(uint32_t ssrc,
42 uint32_t sender_ssrc, 42 uint32_t sender_ssrc,
43 const RtcpTimeData& time_data, 43 const RtcpTimeData& time_data,
44 const RtcpCastMessage* cast_message, 44 const RtcpCastMessage* cast_message,
45 base::TimeDelta target_delay, 45 base::TimeDelta target_delay,
46 const ReceiverRtcpEventSubscriber::RtcpEvents* rtcp_events, 46 const ReceiverRtcpEventSubscriber::RtcpEvents* rtcp_events,
47 const RtpReceiverStatistics* rtp_receiver_statistics)); 47 const RtpReceiverStatistics* rtp_receiver_statistics));
48 MOCK_METHOD1(SetOptions, void(const base::DictionaryValue& options));
48 }; 49 };
49 50
50 } // namespace cast 51 } // namespace cast
51 } // namespace media 52 } // namespace media
52 53
53 #endif // MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_ 54 #endif // MEDIA_CAST_NET_MOCK_CAST_TRANSPORT_SENDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698