Home | History | Annotate | Download | only in mock
      1 /*
      2  *  Copyright (c) 2011 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  */
     10 
     11 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_
     12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_
     13 
     14 #include "webrtc/modules/video_coding/codecs/test/packet_manipulator.h"
     15 
     16 #include <string>
     17 
     18 #include "testing/gmock/include/gmock/gmock.h"
     19 #include "webrtc/typedefs.h"
     20 #include "webrtc/video_frame.h"
     21 
     22 namespace webrtc {
     23 namespace test {
     24 
     25 class MockPacketManipulator : public PacketManipulator {
     26  public:
     27   MOCK_METHOD1(ManipulatePackets, int(webrtc::EncodedImage* encoded_image));
     28 };
     29 
     30 }  // namespace test
     31 }  // namespace webrtc
     32 
     33 #endif  // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_MOCK_MOCK_PACKET_MANIPULATOR_H_
     34