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

Side by Side Diff: webrtc/call/congestion_controller.h

Issue 1613643004: Remove mutable from rtc::CriticalSection members. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 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/call/call_perf_tests.cc ('k') | webrtc/common_video/include/incoming_video_stream.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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 virtual void OnSentPacket(const rtc::SentPacket& sent_packet); 68 virtual void OnSentPacket(const rtc::SentPacket& sent_packet);
69 69
70 private: 70 private:
71 rtc::scoped_ptr<VieRemb> remb_; 71 rtc::scoped_ptr<VieRemb> remb_;
72 rtc::scoped_ptr<PacketRouter> packet_router_; 72 rtc::scoped_ptr<PacketRouter> packet_router_;
73 rtc::scoped_ptr<PacedSender> pacer_; 73 rtc::scoped_ptr<PacedSender> pacer_;
74 rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_; 74 rtc::scoped_ptr<RemoteBitrateEstimator> remote_bitrate_estimator_;
75 rtc::scoped_ptr<RemoteEstimatorProxy> remote_estimator_proxy_; 75 rtc::scoped_ptr<RemoteEstimatorProxy> remote_estimator_proxy_;
76 76
77 mutable rtc::CriticalSection encoder_crit_; 77 rtc::CriticalSection encoder_crit_;
78 std::vector<ViEEncoder*> encoders_ GUARDED_BY(encoder_crit_); 78 std::vector<ViEEncoder*> encoders_ GUARDED_BY(encoder_crit_);
79 79
80 // Registered at construct time and assumed to outlive this class. 80 // Registered at construct time and assumed to outlive this class.
81 ProcessThread* const process_thread_; 81 ProcessThread* const process_thread_;
82 CallStats* const call_stats_; 82 CallStats* const call_stats_;
83 83
84 rtc::scoped_ptr<ProcessThread> pacer_thread_; 84 rtc::scoped_ptr<ProcessThread> pacer_thread_;
85 85
86 rtc::scoped_ptr<BitrateController> bitrate_controller_; 86 rtc::scoped_ptr<BitrateController> bitrate_controller_;
87 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_; 87 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_;
88 int min_bitrate_bps_; 88 int min_bitrate_bps_;
89 89
90 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController); 90 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(CongestionController);
91 }; 91 };
92 92
93 } // namespace webrtc 93 } // namespace webrtc
94 94
95 #endif // WEBRTC_CALL_CONGESTION_CONTROLLER_H_ 95 #endif // WEBRTC_CALL_CONGESTION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « webrtc/call/call_perf_tests.cc ('k') | webrtc/common_video/include/incoming_video_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698