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

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: sync & changes in response to Brett's suggestions 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/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_;

Powered by Google App Engine
This is Rietveld 408576698