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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/send_side.h

Issue 1345433002: Add RTC_ prefix to contructormagic macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Formatting fix. Created 5 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 27 matching lines...) Expand all
38 rtc::scoped_ptr<RemoteBitrateEstimator> rbe_; 38 rtc::scoped_ptr<RemoteBitrateEstimator> rbe_;
39 rtc::scoped_ptr<RtcpBandwidthObserver> feedback_observer_; 39 rtc::scoped_ptr<RtcpBandwidthObserver> feedback_observer_;
40 40
41 private: 41 private:
42 Clock* const clock_; 42 Clock* const clock_;
43 RTCPReportBlock report_block_; 43 RTCPReportBlock report_block_;
44 SendTimeHistory send_time_history_; 44 SendTimeHistory send_time_history_;
45 bool has_received_ack_; 45 bool has_received_ack_;
46 uint16_t last_acked_seq_num_; 46 uint16_t last_acked_seq_num_;
47 47
48 DISALLOW_IMPLICIT_CONSTRUCTORS(FullBweSender); 48 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(FullBweSender);
49 }; 49 };
50 50
51 class SendSideBweReceiver : public BweReceiver { 51 class SendSideBweReceiver : public BweReceiver {
52 public: 52 public:
53 explicit SendSideBweReceiver(int flow_id); 53 explicit SendSideBweReceiver(int flow_id);
54 virtual ~SendSideBweReceiver(); 54 virtual ~SendSideBweReceiver();
55 55
56 void ReceivePacket(int64_t arrival_time_ms, 56 void ReceivePacket(int64_t arrival_time_ms,
57 const MediaPacket& media_packet) override; 57 const MediaPacket& media_packet) override;
58 FeedbackPacket* GetFeedback(int64_t now_ms) override; 58 FeedbackPacket* GetFeedback(int64_t now_ms) override;
59 59
60 private: 60 private:
61 int64_t last_feedback_ms_; 61 int64_t last_feedback_ms_;
62 std::vector<PacketInfo> packet_feedback_vector_; 62 std::vector<PacketInfo> packet_feedback_vector_;
63 }; 63 };
64 64
65 } // namespace bwe 65 } // namespace bwe
66 } // namespace testing 66 } // namespace testing
67 } // namespace webrtc 67 } // namespace webrtc
68 68
69 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_SEND_SIDE_H_ 69 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_ESTIMATORS_SEND_SIDE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698