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_; |