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

Unified Diff: ppapi/thunk/ppb_audio_api.h

Issue 1154613006: Update pepper to not assume that SharedMemoryHandle is an int. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another nits pass. Created 5 years, 7 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/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

Powered by Google App Engine
This is Rietveld 408576698