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

Unified Diff: media/video/capture/win/video_capture_device_win.h

Issue 558503003: Windows video capture: Remove duplicated code from GetDeviceSupportedFormats* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: refactor Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: media/video/capture/win/video_capture_device_win.h
diff --git a/media/video/capture/win/video_capture_device_win.h b/media/video/capture/win/video_capture_device_win.h
index a52aba6aa6b73bcfd7fff5229ddcf3a7963e7da5..a4e75099087321bb5ad0c2dc29a96e84835d177a 100644
--- a/media/video/capture/win/video_capture_device_win.h
+++ b/media/video/capture/win/video_capture_device_win.h
@@ -74,6 +74,8 @@ class VideoCaptureDeviceWin
scoped_ptr<VideoCaptureDevice::Client> client) override;
virtual void StopAndDeAllocate() override;
+ void GetDeviceSupportedFormats(VideoCaptureFormats* formats);
+
private:
enum InternalState {
kIdle, // The device driver is opened but camera is not in use.

Powered by Google App Engine
This is Rietveld 408576698