Jiawei Ou | 4206a0a | 2018-07-20 22:49:43 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 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 | |
| 11 | #ifndef API_TEST_MOCK_VIDEO_BITRATE_ALLOCATOR_H_ |
| 12 | #define API_TEST_MOCK_VIDEO_BITRATE_ALLOCATOR_H_ |
| 13 | |
| 14 | #include "api/video/video_bitrate_allocator.h" |
| 15 | #include "test/gmock.h" |
| 16 | |
| 17 | namespace webrtc { |
| 18 | |
| 19 | class MockVideoBitrateAllocator : public webrtc::VideoBitrateAllocator { |
Danil Chapovalov | fc11519 | 2020-05-08 13:03:03 | [diff] [blame] | 20 | MOCK_METHOD(VideoBitrateAllocation, |
| 21 | Allocate, |
| 22 | (VideoBitrateAllocationParameters parameters), |
| 23 | (override)); |
Jiawei Ou | 4206a0a | 2018-07-20 22:49:43 | [diff] [blame] | 24 | }; |
| 25 | |
Jiawei Ou | 4206a0a | 2018-07-20 22:49:43 | [diff] [blame] | 26 | } // namespace webrtc |
| 27 | |
| 28 | #endif // API_TEST_MOCK_VIDEO_BITRATE_ALLOCATOR_H_ |