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

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

Issue 1417283007: modules/video_coding refactorings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix the other copy of the mock include header Created 5 years, 1 month 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
11 #include "webrtc/modules/video_coding/main/test/vcm_payload_sink_factory.h" 11 #include "webrtc/modules/video_coding/test/vcm_payload_sink_factory.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 14
15 #include <algorithm> 15 #include <algorithm>
16 16
17 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 17 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
18 #include "webrtc/modules/video_coding/main/test/test_util.h" 18 #include "webrtc/modules/video_coding/test/test_util.h"
19 #include "webrtc/system_wrappers/include/clock.h" 19 #include "webrtc/system_wrappers/include/clock.h"
20 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" 20 #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 namespace rtpplayer { 23 namespace rtpplayer {
24 24
25 class VcmPayloadSinkFactory::VcmPayloadSink 25 class VcmPayloadSinkFactory::VcmPayloadSink
26 : public PayloadSinkInterface, 26 : public PayloadSinkInterface,
27 public VCMPacketRequestCallback { 27 public VCMPacketRequestCallback {
28 public: 28 public:
(...skipping 172 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/test/vcm_payload_sink_factory.h ('k') | webrtc/modules/video_coding/test/video_rtp_play.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698