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

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: Remove changes to base/memory. 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..8d7bfd28e888aca906496b515823008f2ad98f92 100644
--- a/ppapi/thunk/ppb_audio_api.h
+++ b/ppapi/thunk/ppb_audio_api.h
@@ -6,6 +6,7 @@
#define PPAPI_THUNK_PPB_AUDIO_API_H_
#include "base/memory/ref_counted.h"
+#include "base/memory/shared_memory.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/ppb_audio.h"
#include "ppapi/thunk/ppapi_thunk_export.h"
@@ -29,7 +30,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::SharedMemoryHandle* shm_handle,
+ uint32_t* shm_size) = 0;
};
} // namespace thunk

Powered by Google App Engine
This is Rietveld 408576698