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

Side by Side Diff: webrtc/video_engine/vie_channel.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
« no previous file with comments | « webrtc/video_engine/payload_router.h ('k') | webrtc/video_engine/vie_channel_group.cc » ('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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 } 342 }
343 343
344 protected: 344 protected:
345 // Note: this should be implemented with a RW-lock to allow simultaneous 345 // Note: this should be implemented with a RW-lock to allow simultaneous
346 // calls into the callback. However that doesn't seem to be needed for the 346 // calls into the callback. However that doesn't seem to be needed for the
347 // current type of callbacks covered by this class. 347 // current type of callbacks covered by this class.
348 rtc::scoped_ptr<CriticalSectionWrapper> critsect_; 348 rtc::scoped_ptr<CriticalSectionWrapper> critsect_;
349 T* callback_ GUARDED_BY(critsect_); 349 T* callback_ GUARDED_BY(critsect_);
350 350
351 private: 351 private:
352 DISALLOW_COPY_AND_ASSIGN(RegisterableCallback); 352 RTC_DISALLOW_COPY_AND_ASSIGN(RegisterableCallback);
353 }; 353 };
354 354
355 class RegisterableBitrateStatisticsObserver: 355 class RegisterableBitrateStatisticsObserver:
356 public RegisterableCallback<BitrateStatisticsObserver> { 356 public RegisterableCallback<BitrateStatisticsObserver> {
357 virtual void Notify(const BitrateStatistics& total_stats, 357 virtual void Notify(const BitrateStatistics& total_stats,
358 const BitrateStatistics& retransmit_stats, 358 const BitrateStatistics& retransmit_stats,
359 uint32_t ssrc) { 359 uint32_t ssrc) {
360 CriticalSectionScoped cs(critsect_.get()); 360 CriticalSectionScoped cs(critsect_.get());
361 if (callback_) 361 if (callback_)
362 callback_->Notify(total_stats, retransmit_stats, ssrc); 362 callback_->Notify(total_stats, retransmit_stats, ssrc);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 size_t num_rtts_ GUARDED_BY(crit_); 456 size_t num_rtts_ GUARDED_BY(crit_);
457 457
458 // RtpRtcp modules, declared last as they use other members on construction. 458 // RtpRtcp modules, declared last as they use other members on construction.
459 const std::vector<RtpRtcp*> rtp_rtcp_modules_; 459 const std::vector<RtpRtcp*> rtp_rtcp_modules_;
460 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_); 460 size_t num_active_rtp_rtcp_modules_ GUARDED_BY(crit_);
461 }; 461 };
462 462
463 } // namespace webrtc 463 } // namespace webrtc
464 464
465 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_ 465 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/video_engine/payload_router.h ('k') | webrtc/video_engine/vie_channel_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698