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

Side by Side Diff: webrtc/video_engine/vie_channel.cc

Issue 1152733005: Use one scoped_refptr. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: remove from BUILD.gn Created 5 years, 6 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/video_engine/vie_channel.h ('k') | webrtc/video_engine/vie_encoder.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 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after
1393 } 1393 }
1394 1394
1395 uint16_t ViEChannel::MaxDataPayloadLength() const { 1395 uint16_t ViEChannel::MaxDataPayloadLength() const {
1396 return rtp_rtcp_->MaxDataPayloadLength(); 1396 return rtp_rtcp_->MaxDataPayloadLength();
1397 } 1397 }
1398 1398
1399 RtpRtcp* ViEChannel::rtp_rtcp() { 1399 RtpRtcp* ViEChannel::rtp_rtcp() {
1400 return rtp_rtcp_.get(); 1400 return rtp_rtcp_.get();
1401 } 1401 }
1402 1402
1403 scoped_refptr<PayloadRouter> ViEChannel::send_payload_router() { 1403 rtc::scoped_refptr<PayloadRouter> ViEChannel::send_payload_router() {
1404 return send_payload_router_; 1404 return send_payload_router_;
1405 } 1405 }
1406 1406
1407 VCMProtectionCallback* ViEChannel::vcm_protection_callback() { 1407 VCMProtectionCallback* ViEChannel::vcm_protection_callback() {
1408 return vcm_protection_callback_.get(); 1408 return vcm_protection_callback_.get();
1409 } 1409 }
1410 1410
1411 CallStatsObserver* ViEChannel::GetStatsObserver() { 1411 CallStatsObserver* ViEChannel::GetStatsObserver() {
1412 return stats_observer_.get(); 1412 return stats_observer_.get();
1413 } 1413 }
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
1706 CriticalSectionScoped cs(callback_cs_.get()); 1706 CriticalSectionScoped cs(callback_cs_.get());
1707 vcm_receive_stats_callback_ = receive_statistics_proxy; 1707 vcm_receive_stats_callback_ = receive_statistics_proxy;
1708 } 1708 }
1709 1709
1710 void ViEChannel::SetIncomingVideoStream( 1710 void ViEChannel::SetIncomingVideoStream(
1711 IncomingVideoStream* incoming_video_stream) { 1711 IncomingVideoStream* incoming_video_stream) {
1712 CriticalSectionScoped cs(callback_cs_.get()); 1712 CriticalSectionScoped cs(callback_cs_.get());
1713 incoming_video_stream_ = incoming_video_stream; 1713 incoming_video_stream_ = incoming_video_stream;
1714 } 1714 }
1715 } // namespace webrtc 1715 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video_engine/vie_channel.h ('k') | webrtc/video_engine/vie_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698