
This reverts commit 9486b117daac09c9f7ac8450ccda835938cf3150. Reason for revert: Breaks downstream project Original change's description: > Enable and fix chromium clang warnings in rtp_rtcp test targets > > Bug: webrtc:163 > Change-Id: I4ed3e63296d8bf06536a83196d597c7a906ba11c > Reviewed-on: https://webrtc-review.googlesource.com/60802 > Reviewed-by: Björn Terelius <terelius@webrtc.org> > Reviewed-by: Patrik Höglund <phoglund@webrtc.org> > Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#22357} TBR=danilchap@webrtc.org,phoglund@webrtc.org,terelius@webrtc.org Change-Id: I2c3777ea9f26813bdb395e7fd68f6b49443586ea No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:163 Reviewed-on: https://webrtc-review.googlesource.com/61060 Reviewed-by: Oleh Prypin <oprypin@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22365}
29 lines
878 B
C++
29 lines
878 B
C++
/*
|
|
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef TEST_MOCK_TRANSPORT_H_
|
|
#define TEST_MOCK_TRANSPORT_H_
|
|
|
|
#include "api/call/transport.h"
|
|
#include "test/gmock.h"
|
|
|
|
namespace webrtc {
|
|
|
|
class MockTransport : public Transport {
|
|
public:
|
|
MOCK_METHOD3(SendRtp,
|
|
bool(const uint8_t* data,
|
|
size_t len,
|
|
const PacketOptions& options));
|
|
MOCK_METHOD2(SendRtcp, bool(const uint8_t* data, size_t len));
|
|
};
|
|
} // namespace webrtc
|
|
#endif // TEST_MOCK_TRANSPORT_H_
|