summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/resource.h
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-11 02:02:11 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-11 02:02:11 +0000
commit11d0c36550b865bc690712a07bca9de01b91000c (patch)
tree58aa6ffaabbfbdfe4dcb99ca7dd1010336ab5928 /ppapi/shared_impl/resource.h
parent70c7b2f7275b0815a97df029ed599ed7e46c7bfb (diff)
downloadchromium_src-11d0c36550b865bc690712a07bca9de01b91000c.zip
chromium_src-11d0c36550b865bc690712a07bca9de01b91000c.tar.gz
chromium_src-11d0c36550b865bc690712a07bca9de01b91000c.tar.bz2
Implement plugin side of sync EnumerateVideoCaptureDevices
This implements the plugin side of PPB_Flash::EnumerateVideoCaptureDevices which is a synchronous version of PPB_VideoCapture::EnumerateVideoDevices. The result is output into a PP_ArrayOutput. This also adds a unittest which does some basic testing of the messages sent, but mainly demonstrates how to write PluginResource unittests when dealing with sync messages (and adds some infrastructure to make it easy to do this). Once VideoCapture is implemented as a new-style resource, the code for this will simplify a lot. Review URL: https://chromiumcodereview.appspot.com/11039012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161265 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/resource.h')
-rw-r--r--ppapi/shared_impl/resource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/shared_impl/resource.h b/ppapi/shared_impl/resource.h
index f14d988..442f1ce 100644
--- a/ppapi/shared_impl/resource.h
+++ b/ppapi/shared_impl/resource.h
@@ -37,6 +37,7 @@
F(PPB_Find_API) \
F(PPB_Flash_DeviceID_API) \
F(PPB_Flash_FontFile_API) \
+ F(PPB_Flash_Functions_API) \
F(PPB_Flash_Menu_API) \
F(PPB_Flash_MessageLoop_API) \
F(PPB_Graphics2D_API) \