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

Side by Side Diff: talk/media/base/fakecapturemanager.h

Issue 1594973006: New rtc::VideoSinkInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Workaround to not break chrome. Created 4 years, 10 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/media/base/capturerenderadapter.cc ('k') | talk/media/base/videorenderer.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 19 matching lines...) Expand all
30 30
31 #include "talk/media/base/capturemanager.h" 31 #include "talk/media/base/capturemanager.h"
32 32
33 namespace cricket { 33 namespace cricket {
34 34
35 class FakeCaptureManager : public CaptureManager { 35 class FakeCaptureManager : public CaptureManager {
36 public: 36 public:
37 FakeCaptureManager() {} 37 FakeCaptureManager() {}
38 ~FakeCaptureManager() {} 38 ~FakeCaptureManager() {}
39 39
40 virtual bool AddVideoRenderer(VideoCapturer* video_capturer, 40 void AddVideoSink(VideoCapturer* video_capturer,
41 VideoRenderer* video_renderer) { 41 rtc::VideoSinkInterface<VideoFrame>* sink) override {}
42 return true; 42 void RemoveVideoSink(VideoCapturer* video_capturer,
43 } 43 rtc::VideoSinkInterface<VideoFrame>* sink) override {}
44 virtual bool RemoveVideoRenderer(VideoCapturer* video_capturer,
45 VideoRenderer* video_renderer) {
46 return true;
47 }
48 }; 44 };
49 45
50 } // namespace cricket 46 } // namespace cricket
51 47
52 #endif // TALK_MEDIA_BASE_FAKECAPTUREMANAGER_H_ 48 #endif // TALK_MEDIA_BASE_FAKECAPTUREMANAGER_H_
OLDNEW
« no previous file with comments | « talk/media/base/capturerenderadapter.cc ('k') | talk/media/base/videorenderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698