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

Unified Diff: ppapi/shared_impl/ppb_device_ref_shared.h

Issue 9234064: Implement device enumeration for PPB_VideoCapture_Dev. (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
« no previous file with comments | « ppapi/proxy/ppb_video_capture_proxy.cc ('k') | ppapi/shared_impl/ppb_device_ref_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_device_ref_shared.h
diff --git a/ppapi/shared_impl/ppb_device_ref_shared.h b/ppapi/shared_impl/ppb_device_ref_shared.h
index 908cacea42ed212c549d19487b68e7919ba546f6..895baa5d26d2e5960e43f89c307d111bf5c63c52 100644
--- a/ppapi/shared_impl/ppb_device_ref_shared.h
+++ b/ppapi/shared_impl/ppb_device_ref_shared.h
@@ -6,6 +6,7 @@
#define PPAPI_SHARED_IMPL_PPB_DEVICE_REF_SHARED_H_
#include <string>
+#include <vector>
#include "base/basictypes.h"
#include "base/compiler_specific.h"
@@ -41,6 +42,11 @@ class PPAPI_SHARED_EXPORT PPB_DeviceRef_Shared
virtual PP_DeviceType_Dev GetType() OVERRIDE;
virtual PP_Var GetName() OVERRIDE;
+ static PP_Resource CreateResourceArray(
+ ResourceObjectType type,
+ PP_Instance instance,
+ const std::vector<DeviceRefData>& devices);
+
private:
DeviceRefData data_;
« no previous file with comments | « ppapi/proxy/ppb_video_capture_proxy.cc ('k') | ppapi/shared_impl/ppb_device_ref_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698