blob: 714c02541f172ad5d5cd694a8092ca143b9544c8 [file] [log] [blame]
Sebastian Jansson83267802018-04-19 08:27:19 +02001/*
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:
21 MOCK_METHOD2(AddObserver,
22 void(BitrateAllocatorObserver*, MediaStreamAllocationConfig));
23 MOCK_METHOD1(RemoveObserver, void(BitrateAllocatorObserver*));
24 MOCK_METHOD1(GetStartBitrate, int(BitrateAllocatorObserver*));
25};
26} // namespace webrtc
27#endif // CALL_TEST_MOCK_BITRATE_ALLOCATOR_H_