2018-03-27 11:19:29 +02:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2018 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.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-05-09 10:33:39 +02:00
|
|
|
#ifndef API_TRANSPORT_TEST_MOCK_NETWORK_CONTROL_H_
|
|
|
|
|
#define API_TRANSPORT_TEST_MOCK_NETWORK_CONTROL_H_
|
2018-03-27 11:19:29 +02:00
|
|
|
|
2018-05-09 10:33:39 +02:00
|
|
|
#include "api/transport/include/network_control.h"
|
2018-03-27 11:19:29 +02:00
|
|
|
#include "test/gmock.h"
|
|
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
namespace test {
|
2018-04-09 13:21:35 +02:00
|
|
|
class MockTargetTransferRateObserver : public TargetTransferRateObserver {
|
2018-03-27 11:19:29 +02:00
|
|
|
public:
|
|
|
|
|
MOCK_METHOD1(OnTargetTransferRate, void(TargetTransferRate));
|
|
|
|
|
};
|
|
|
|
|
} // namespace test
|
|
|
|
|
} // namespace webrtc
|
|
|
|
|
|
2018-05-09 10:33:39 +02:00
|
|
|
#endif // API_TRANSPORT_TEST_MOCK_NETWORK_CONTROL_H_
|