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

Unified Diff: ppapi/cpp/dev/video_capture_dev.h

Issue 9372122: Make VideoCapture_Dev backward compatible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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: ppapi/cpp/dev/video_capture_dev.h
diff --git a/ppapi/cpp/dev/video_capture_dev.h b/ppapi/cpp/dev/video_capture_dev.h
index 1760cf745cf7ea19f45f8825472e978d442f0b9a..99819615ec2322a01b35ab15f5be6a9b1fffe591 100644
--- a/ppapi/cpp/dev/video_capture_dev.h
+++ b/ppapi/cpp/dev/video_capture_dev.h
@@ -53,6 +53,10 @@ class VideoCapture_Dev : public Resource {
// Not owned by this object.
EnumerateDevicesState* enum_state_;
+
+ // Used to store the arguments of Open() when using the v0.1 interface.
+ PP_VideoCaptureDeviceInfo_Dev requested_info_;
+ uint32_t buffer_count_;
};
} // namespace pp

Powered by Google App Engine
This is Rietveld 408576698