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

Unified Diff: webrtc/media/engine/fakewebrtcvcmfactory.h

Issue 2534553002: Replace VideoCaptureDataCallback by VideoSinkInterface. (Closed)
Patch Set: Break overlong lines. Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/media/engine/fakewebrtcvcmfactory.h
diff --git a/webrtc/media/engine/fakewebrtcvcmfactory.h b/webrtc/media/engine/fakewebrtcvcmfactory.h
index daa2f774f5f34c1148202f2403e3f3b020ee85d6..3124cd8fcb4e246e191ba1fcdda45d9cec80fc42 100644
--- a/webrtc/media/engine/fakewebrtcvcmfactory.h
+++ b/webrtc/media/engine/fakewebrtcvcmfactory.h
@@ -22,16 +22,14 @@
class FakeWebRtcVcmFactory : public cricket::WebRtcVcmFactoryInterface {
public:
virtual rtc::scoped_refptr<webrtc::VideoCaptureModule> Create(
- int module_id,
const char* device_id) {
if (!device_info.GetDeviceById(device_id)) return NULL;
rtc::scoped_refptr<FakeWebRtcVideoCaptureModule> module(
- new rtc::RefCountedObject<FakeWebRtcVideoCaptureModule>(this,
- module_id));
+ new rtc::RefCountedObject<FakeWebRtcVideoCaptureModule>(this));
modules.push_back(module);
return module;
}
- virtual webrtc::VideoCaptureModule::DeviceInfo* CreateDeviceInfo(int id) {
+ virtual webrtc::VideoCaptureModule::DeviceInfo* CreateDeviceInfo() {
return &device_info;
}
virtual void DestroyDeviceInfo(webrtc::VideoCaptureModule::DeviceInfo* info) {
« no previous file with comments | « webrtc/examples/peerconnection/client/conductor.cc ('k') | webrtc/media/engine/fakewebrtcvideocapturemodule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698