Index: ppapi/thunk/ppb_audio_api.h |
diff --git a/ppapi/thunk/ppb_audio_api.h b/ppapi/thunk/ppb_audio_api.h |
index 25a1eb3336587c56c85871723b535eea3d429463..892027c924ba969c753c5929f1256c774e73cfd9 100644 |
--- a/ppapi/thunk/ppb_audio_api.h |
+++ b/ppapi/thunk/ppb_audio_api.h |
@@ -10,6 +10,10 @@ |
#include "ppapi/c/ppb_audio.h" |
#include "ppapi/thunk/ppapi_thunk_export.h" |
+namespace base { |
+class SharedMemory; |
+} // namespace base |
+ |
namespace ppapi { |
class TrackedCallback; |
@@ -29,7 +33,8 @@ class PPAPI_THUNK_EXPORT PPB_Audio_API { |
PP_Resource config_id, |
scoped_refptr<TrackedCallback> create_callback) = 0; |
virtual int32_t GetSyncSocket(int* sync_socket) = 0; |
- virtual int32_t GetSharedMemory(int* shm_handle, uint32_t* shm_size) = 0; |
+ virtual int32_t GetSharedMemory(base::SharedMemory** shm, |
+ uint32_t* shm_size) = 0; |
}; |
} // namespace thunk |