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 bbdda72f368ed3097bf16d4e70627b53745cfa2b..acd61ded27559dc0157173126ff1a7e99830279c 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" |
@@ -49,6 +50,11 @@ class PPAPI_SHARED_EXPORT PPB_DeviceRef_Shared |
virtual PP_DeviceType_Dev GetType() OVERRIDE; |
virtual PP_Var GetName() OVERRIDE; |
+ static PP_Resource CreateResourceArray( |
+ bool init_as_impl, |
+ PP_Instance instance, |
+ const std::vector<DeviceRefData>& devices); |
+ |
private: |
DeviceRefData data_; |