diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-03 22:44:58 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-03 22:44:58 +0000 |
commit | 73b61881322b88e5bb10fdb9891e6772da334d08 (patch) | |
tree | 845d86b72e8a66d1daf578e3c5ab604b503376e2 /ppapi/thunk/ppb_audio_api.h | |
parent | aafbcb57bbc46cd82c29fdb3c216ad7b15803704 (diff) | |
download | chromium_src-73b61881322b88e5bb10fdb9891e6772da334d08.zip chromium_src-73b61881322b88e5bb10fdb9891e6772da334d08.tar.gz chromium_src-73b61881322b88e5bb10fdb9891e6772da334d08.tar.bz2 |
Revert 95309 - I need to fix some bugs with this.
Add a template to handle properly issuing completion callbacks. This fixes
some bugs where we forgot to issue completion callbacks in some error cases
in the proxy, and cleans up the cases that were already doing this properly.
This removes the PPB_AudioTrusted_API and folds those functions into the
regular Audio API. I'm trying to merge more things to have a smaller explosion
of APIs and the boilerplate associated with them.
Review URL: http://codereview.chromium.org/7551032
TBR=brettw@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_audio_api.h')
-rw-r--r-- | ppapi/thunk/ppb_audio_api.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ppapi/thunk/ppb_audio_api.h b/ppapi/thunk/ppb_audio_api.h index 3d21299..d105e1c 100644 --- a/ppapi/thunk/ppb_audio_api.h +++ b/ppapi/thunk/ppb_audio_api.h @@ -5,7 +5,6 @@ #ifndef PPAPI_THUNK_AUDIO_API_H_ #define PPAPI_THUNK_AUDIO_API_H_ -#include "ppapi/c/pp_completion_callback.h" #include "ppapi/c/ppb_audio.h" namespace ppapi { @@ -18,12 +17,6 @@ class PPB_Audio_API { virtual PP_Resource GetCurrentConfig() = 0; virtual PP_Bool StartPlayback() = 0; virtual PP_Bool StopPlayback() = 0; - - // Trusted API. - virtual int32_t OpenTrusted(PP_Resource config_id, - PP_CompletionCallback create_callback) = 0; - virtual int32_t GetSyncSocket(int* sync_socket) = 0; - virtual int32_t GetSharedMemory(int* shm_handle, uint32_t* shm_size) = 0; }; } // namespace thunk |