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

Side by Side Diff: talk/app/webrtc/videosource.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
« no previous file with comments | « talk/app/webrtc/statstypes.h ('k') | talk/app/webrtc/webrtcsession.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 * libjingle 2 * libjingle
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 // come from. 314 // come from.
315 capturer_->SignalVideoFrame(capturer_, frame); 315 capturer_->SignalVideoFrame(capturer_, frame);
316 return true; 316 return true;
317 } 317 }
318 318
319 private: 319 private:
320 cricket::VideoCapturer* capturer_; 320 cricket::VideoCapturer* capturer_;
321 int width_; 321 int width_;
322 int height_; 322 int height_;
323 323
324 DISALLOW_COPY_AND_ASSIGN(FrameInputWrapper); 324 RTC_DISALLOW_COPY_AND_ASSIGN(FrameInputWrapper);
325 }; 325 };
326 326
327 } // anonymous namespace 327 } // anonymous namespace
328 328
329 namespace webrtc { 329 namespace webrtc {
330 330
331 rtc::scoped_refptr<VideoSource> VideoSource::Create( 331 rtc::scoped_refptr<VideoSource> VideoSource::Create(
332 cricket::ChannelManager* channel_manager, 332 cricket::ChannelManager* channel_manager,
333 cricket::VideoCapturer* capturer, 333 cricket::VideoCapturer* capturer,
334 const webrtc::MediaConstraintsInterface* constraints) { 334 const webrtc::MediaConstraintsInterface* constraints) {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 } 462 }
463 463
464 void VideoSource::SetState(SourceState new_state) { 464 void VideoSource::SetState(SourceState new_state) {
465 if (VERIFY(state_ != new_state)) { 465 if (VERIFY(state_ != new_state)) {
466 state_ = new_state; 466 state_ = new_state;
467 FireOnChanged(); 467 FireOnChanged();
468 } 468 }
469 } 469 }
470 470
471 } // namespace webrtc 471 } // namespace webrtc
OLDNEW
« no previous file with comments | « talk/app/webrtc/statstypes.h ('k') | talk/app/webrtc/webrtcsession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698