0
Commit Graph

2 Commits

Author SHA1 Message Date
yzshen@chromium.org
7ac673b55f Change the cpp wrappers of audio input/video capture to use CompletionCallbackWithOutput.
And also fix a few bugs in the PP_ArrayOutput and CallbackWithOutput code.
- Make sure POD members of Dispatcher\.* are properly initialized.
- Avoid leaking var/resource references in DispatcherWithOutput\.*::operator().

BUG=None
TEST=None


Review URL: http://codereview.chromium.org/9965080

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130849 0039d316-1c4b-4281-b951-d872f2087c98
2012-04-05 07:10:58 +00:00
brettw@chromium.org
e10b2b28a0 Add C++ wrappers for output parameters.
Define helper routines for doing array output using the new PP_OutputArray
struct. Define routines in the completion callback factory for doing output
parameters as parameters to the callback function.

BUG=
TEST=


Review URL: http://codereview.chromium.org/9651002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126781 0039d316-1c4b-4281-b951-d872f2087c98
2012-03-14 23:17:14 +00:00