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

Side by Side Diff: webrtc/modules/video_coding/main/test/vcm_payload_sink_factory.cc

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) 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 vcm_->Decode(10000); 88 vcm_->Decode(10000);
89 return true; 89 return true;
90 } 90 }
91 91
92 private: 92 private:
93 VcmPayloadSinkFactory* factory_; 93 VcmPayloadSinkFactory* factory_;
94 RtpStreamInterface* stream_; 94 RtpStreamInterface* stream_;
95 rtc::scoped_ptr<VideoCodingModule> vcm_; 95 rtc::scoped_ptr<VideoCodingModule> vcm_;
96 rtc::scoped_ptr<FileOutputFrameReceiver> frame_receiver_; 96 rtc::scoped_ptr<FileOutputFrameReceiver> frame_receiver_;
97 97
98 DISALLOW_IMPLICIT_CONSTRUCTORS(VcmPayloadSink); 98 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(VcmPayloadSink);
99 }; 99 };
100 100
101 VcmPayloadSinkFactory::VcmPayloadSinkFactory( 101 VcmPayloadSinkFactory::VcmPayloadSinkFactory(
102 const std::string& base_out_filename, 102 const std::string& base_out_filename,
103 Clock* clock, 103 Clock* clock,
104 bool protection_enabled, 104 bool protection_enabled,
105 VCMVideoProtection protection_method, 105 VCMVideoProtection protection_method,
106 int64_t rtt_ms, 106 int64_t rtt_ms,
107 uint32_t render_delay_ms, 107 uint32_t render_delay_ms,
108 uint32_t min_playout_delay_ms) 108 uint32_t min_playout_delay_ms)
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 void VcmPayloadSinkFactory::Remove(VcmPayloadSink* sink) { 201 void VcmPayloadSinkFactory::Remove(VcmPayloadSink* sink) {
202 assert(sink); 202 assert(sink);
203 CriticalSectionScoped cs(crit_sect_.get()); 203 CriticalSectionScoped cs(crit_sect_.get());
204 Sinks::iterator it = std::find(sinks_.begin(), sinks_.end(), sink); 204 Sinks::iterator it = std::find(sinks_.begin(), sinks_.end(), sink);
205 assert(it != sinks_.end()); 205 assert(it != sinks_.end());
206 sinks_.erase(it); 206 sinks_.erase(it);
207 } 207 }
208 208
209 } // namespace rtpplayer 209 } // namespace rtpplayer
210 } // namespace webrtc 210 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/main/test/vcm_payload_sink_factory.h ('k') | webrtc/overrides/webrtc/base/constructormagic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698