blob: add399b69072dca342fcf5492a8f1464af4d9c37 [file] [log] [blame]
eladalone2173d92017-07-28 10:05:45 -07001/*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020010#ifndef CALL_TEST_MOCK_RTP_PACKET_SINK_INTERFACE_H_
11#define CALL_TEST_MOCK_RTP_PACKET_SINK_INTERFACE_H_
eladalone2173d92017-07-28 10:05:45 -070012
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020013#include "call/rtp_packet_sink_interface.h"
eladalone2173d92017-07-28 10:05:45 -070014
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020015#include "test/gmock.h"
eladalone2173d92017-07-28 10:05:45 -070016
17namespace webrtc {
18
19class MockRtpPacketSink : public RtpPacketSinkInterface {
20 public:
21 MOCK_METHOD1(OnRtpPacket, void(const RtpPacketReceived&));
22};
23
24} // namespace webrtc
25
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020026#endif // CALL_TEST_MOCK_RTP_PACKET_SINK_INTERFACE_H_