Index: webrtc/media/base/fakecapturemanager.h |
diff --git a/webrtc/media/base/fakecapturemanager.h b/webrtc/media/base/fakecapturemanager.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..77cce50616cc73ccdd1abd4c6b6ed3f7dd528ab4 |
--- /dev/null |
+++ b/webrtc/media/base/fakecapturemanager.h |
@@ -0,0 +1,35 @@ |
+/* |
+ * Copyright 2012 The WebRTC Project Authors. All rights reserved. |
+ * |
+ * Use of this source code is governed by a BSD-style license |
+ * that can be found in the LICENSE file in the root of the source |
+ * tree. An additional intellectual property rights grant can be found |
+ * in the file PATENTS. All contributing project authors may |
+ * be found in the AUTHORS file in the root of the source tree. |
+ */ |
+ |
+#ifndef WEBRTC_MEDIA_BASE_FAKECAPTUREMANAGER_H_ |
+#define WEBRTC_MEDIA_BASE_FAKECAPTUREMANAGER_H_ |
+ |
+#include "webrtc/media/base/capturemanager.h" |
+ |
+namespace cricket { |
+ |
+class FakeCaptureManager : public CaptureManager { |
+ public: |
+ FakeCaptureManager() {} |
+ ~FakeCaptureManager() {} |
+ |
+ virtual bool AddVideoRenderer(VideoCapturer* video_capturer, |
+ VideoRenderer* video_renderer) { |
+ return true; |
+ } |
+ virtual bool RemoveVideoRenderer(VideoCapturer* video_capturer, |
+ VideoRenderer* video_renderer) { |
+ return true; |
+ } |
+}; |
+ |
+} // namespace cricket |
+ |
+#endif // WEBRTC_MEDIA_BASE_FAKECAPTUREMANAGER_H_ |