Chromium Code Reviews

Unified Diff: webrtc/modules/video_capture/external/device_info_external.cc

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.
Jump to:
View side-by-side diff with in-line comments
Index: webrtc/modules/video_capture/external/device_info_external.cc
diff --git a/webrtc/modules/video_capture/external/device_info_external.cc b/webrtc/modules/video_capture/external/device_info_external.cc
index d89ae1618534b78ad5ade8f79130ff449306de5b..e54bd437742847cd5d2acf7c6eb2b2aac6885798 100644
--- a/webrtc/modules/video_capture/external/device_info_external.cc
+++ b/webrtc/modules/video_capture/external/device_info_external.cc
@@ -17,9 +17,7 @@ namespace videocapturemodule {
class ExternalDeviceInfo : public DeviceInfoImpl {
public:
- ExternalDeviceInfo(const int32_t id)
- : DeviceInfoImpl(id) {
- }
+ ExternalDeviceInfo() {}
virtual ~ExternalDeviceInfo() {}
virtual uint32_t NumberOfDevices() { return 0; }
virtual int32_t DisplayCaptureSettingsDialogBox(
@@ -43,9 +41,8 @@ class ExternalDeviceInfo : public DeviceInfoImpl {
virtual int32_t Init() { return 0; }
};
-VideoCaptureModule::DeviceInfo* VideoCaptureImpl::CreateDeviceInfo(
- const int32_t id) {
- return new ExternalDeviceInfo(id);
+VideoCaptureModule::DeviceInfo* VideoCaptureImpl::CreateDeviceInfo() {
+ return new ExternalDeviceInfo();
}
} // namespace videocapturemodule
« no previous file with comments | « webrtc/modules/video_capture/device_info_impl.cc ('k') | webrtc/modules/video_capture/external/video_capture_external.cc » ('j') | no next file with comments »

Powered by Google App Engine