OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2004 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 #ifndef WEBRTC_MEDIA_WEBRTC_FAKEWEBRTCVIDEOCAPTUREMODULE_H_ | 11 #ifndef WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOCAPTUREMODULE_H_ |
12 #define WEBRTC_MEDIA_WEBRTC_FAKEWEBRTCVIDEOCAPTUREMODULE_H_ | 12 #define WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOCAPTUREMODULE_H_ |
13 | 13 |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "webrtc/media/base/testutils.h" | 16 #include "webrtc/media/base/testutils.h" |
17 #include "webrtc/media/webrtc/fakewebrtcdeviceinfo.h" | 17 #include "webrtc/media/engine/fakewebrtcdeviceinfo.h" |
18 #include "webrtc/media/webrtc/webrtcvideocapturer.h" | 18 #include "webrtc/media/engine/webrtcvideocapturer.h" |
19 | 19 |
20 class FakeWebRtcVcmFactory; | 20 class FakeWebRtcVcmFactory; |
21 | 21 |
22 // Fake class for mocking out webrtc::VideoCaptureModule. | 22 // Fake class for mocking out webrtc::VideoCaptureModule. |
23 class FakeWebRtcVideoCaptureModule : public webrtc::VideoCaptureModule { | 23 class FakeWebRtcVideoCaptureModule : public webrtc::VideoCaptureModule { |
24 public: | 24 public: |
25 FakeWebRtcVideoCaptureModule(FakeWebRtcVcmFactory* factory, int32_t id) | 25 FakeWebRtcVideoCaptureModule(FakeWebRtcVcmFactory* factory, int32_t id) |
26 : factory_(factory), | 26 : factory_(factory), |
27 id_(id), | 27 id_(id), |
28 callback_(NULL), | 28 callback_(NULL), |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 ~FakeWebRtcVideoCaptureModule(); | 112 ~FakeWebRtcVideoCaptureModule(); |
113 | 113 |
114 FakeWebRtcVcmFactory* factory_; | 114 FakeWebRtcVcmFactory* factory_; |
115 int id_; | 115 int id_; |
116 webrtc::VideoCaptureDataCallback* callback_; | 116 webrtc::VideoCaptureDataCallback* callback_; |
117 bool running_; | 117 bool running_; |
118 webrtc::VideoCaptureCapability cap_; | 118 webrtc::VideoCaptureCapability cap_; |
119 int delay_; | 119 int delay_; |
120 }; | 120 }; |
121 | 121 |
122 #endif // WEBRTC_MEDIA_WEBRTC_FAKEWEBRTCVIDEOCAPTUREMODULE_H_ | 122 #endif // WEBRTC_MEDIA_ENGINE_FAKEWEBRTCVIDEOCAPTUREMODULE_H_ |
OLD | NEW |