OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef PPAPI_THUNK_AUDIO_TRUSTED_API_H_ | |
6 #define PPAPI_THUNK_AUDIO_TRUSTED_API_H_ | |
7 | |
8 #include "ppapi/c/trusted/ppb_audio_trusted.h" | |
9 #include "ppapi/c/ppb_audio.h" | |
10 | |
11 namespace ppapi { | |
12 namespace thunk { | |
13 | |
14 class PPB_AudioTrusted_API { | |
15 public: | |
16 virtual ~PPB_AudioTrusted_API() {} | |
17 | |
18 virtual int32_t OpenTrusted(PP_Resource config_id, | |
19 PP_CompletionCallback create_callback) = 0; | |
20 virtual int32_t GetSyncSocket(int* sync_socket) = 0; | |
21 virtual int32_t GetSharedMemory(int* shm_handle, uint32_t* shm_size) = 0; | |
22 }; | |
23 | |
24 } // namespace thunk | |
25 } // namespace ppapi | |
26 | |
27 #endif // PPAPI_THUNK_AUDIO_TRUSTED_API_H_ | |
OLD | NEW |