blob: b08916fe4fc8113d2d409ff3ae8d27af0891a072 [file] [log] [blame]
Sebastian Jansson83267802018-04-19 06:27:191/*
2 * Copyright 2018 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#ifndef CALL_TEST_MOCK_BITRATE_ALLOCATOR_H_
11#define CALL_TEST_MOCK_BITRATE_ALLOCATOR_H_
12
13#include <string>
14
15#include "call/bitrate_allocator.h"
16#include "test/gmock.h"
17
18namespace webrtc {
19class MockBitrateAllocator : public BitrateAllocatorInterface {
20 public:
Danil Chapovalov9a5efe92020-05-14 20:06:1821 MOCK_METHOD(void,
22 AddObserver,
23 (BitrateAllocatorObserver*, MediaStreamAllocationConfig),
24 (override));
25 MOCK_METHOD(void, RemoveObserver, (BitrateAllocatorObserver*), (override));
26 MOCK_METHOD(int,
27 GetStartBitrate,
28 (BitrateAllocatorObserver*),
29 (const, override));
Sebastian Jansson83267802018-04-19 06:27:1930};
31} // namespace webrtc
32#endif // CALL_TEST_MOCK_BITRATE_ALLOCATOR_H_