Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: webrtc/modules/pacing/mock/mock_paced_sender.h

Issue 2609113003: BitrateProber::CreateProbeCluster now only accept one parameter (bitrate_bps). (Closed)
Patch Set: static_cast<int> + PacedSenderTest fix. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/pacing/bitrate_prober_unittest.cc ('k') | webrtc/modules/pacing/paced_sender.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 10 matching lines...) Expand all
21 21
22 class MockPacedSender : public PacedSender { 22 class MockPacedSender : public PacedSender {
23 public: 23 public:
24 MockPacedSender() : PacedSender(Clock::GetRealTimeClock(), nullptr) {} 24 MockPacedSender() : PacedSender(Clock::GetRealTimeClock(), nullptr) {}
25 MOCK_METHOD6(SendPacket, bool(Priority priority, 25 MOCK_METHOD6(SendPacket, bool(Priority priority,
26 uint32_t ssrc, 26 uint32_t ssrc,
27 uint16_t sequence_number, 27 uint16_t sequence_number,
28 int64_t capture_time_ms, 28 int64_t capture_time_ms,
29 size_t bytes, 29 size_t bytes,
30 bool retransmission)); 30 bool retransmission));
31 MOCK_METHOD2(CreateProbeCluster, void(int, int)); 31 MOCK_METHOD1(CreateProbeCluster, void(int));
32 MOCK_METHOD1(SetEstimatedBitrate, void(uint32_t)); 32 MOCK_METHOD1(SetEstimatedBitrate, void(uint32_t));
33 MOCK_CONST_METHOD0(QueueInMs, int64_t()); 33 MOCK_CONST_METHOD0(QueueInMs, int64_t());
34 MOCK_CONST_METHOD0(QueueInPackets, int()); 34 MOCK_CONST_METHOD0(QueueInPackets, int());
35 MOCK_CONST_METHOD0(ExpectedQueueTimeMs, int64_t()); 35 MOCK_CONST_METHOD0(ExpectedQueueTimeMs, int64_t());
36 MOCK_CONST_METHOD0(GetApplicationLimitedRegionStartTime, 36 MOCK_CONST_METHOD0(GetApplicationLimitedRegionStartTime,
37 rtc::Optional<int64_t>()); 37 rtc::Optional<int64_t>());
38 }; 38 };
39 39
40 } // namespace webrtc 40 } // namespace webrtc
41 41
42 #endif // WEBRTC_MODULES_PACING_MOCK_MOCK_PACED_SENDER_H_ 42 #endif // WEBRTC_MODULES_PACING_MOCK_MOCK_PACED_SENDER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/pacing/bitrate_prober_unittest.cc ('k') | webrtc/modules/pacing/paced_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698