| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PPAPI_THUNK_PPB_AUDIO_API_H_ | 5 #ifndef PPAPI_THUNK_PPB_AUDIO_API_H_ |
| 6 #define PPAPI_THUNK_PPB_AUDIO_API_H_ | 6 #define PPAPI_THUNK_PPB_AUDIO_API_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 8 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 9 #include "ppapi/c/pp_completion_callback.h" | 11 #include "ppapi/c/pp_completion_callback.h" |
| 10 #include "ppapi/c/ppb_audio.h" | 12 #include "ppapi/c/ppb_audio.h" |
| 11 #include "ppapi/thunk/ppapi_thunk_export.h" | 13 #include "ppapi/thunk/ppapi_thunk_export.h" |
| 12 | 14 |
| 13 namespace base { | 15 namespace base { |
| 14 class SharedMemory; | 16 class SharedMemory; |
| 15 } // namespace base | 17 } // namespace base |
| 16 | 18 |
| 17 namespace ppapi { | 19 namespace ppapi { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 34 scoped_refptr<TrackedCallback> create_callback) = 0; | 36 scoped_refptr<TrackedCallback> create_callback) = 0; |
| 35 virtual int32_t GetSyncSocket(int* sync_socket) = 0; | 37 virtual int32_t GetSyncSocket(int* sync_socket) = 0; |
| 36 virtual int32_t GetSharedMemory(base::SharedMemory** shm, | 38 virtual int32_t GetSharedMemory(base::SharedMemory** shm, |
| 37 uint32_t* shm_size) = 0; | 39 uint32_t* shm_size) = 0; |
| 38 }; | 40 }; |
| 39 | 41 |
| 40 } // namespace thunk | 42 } // namespace thunk |
| 41 } // namespace ppapi | 43 } // namespace ppapi |
| 42 | 44 |
| 43 #endif // PPAPI_THUNK_PPB_AUDIO_API_H_ | 45 #endif // PPAPI_THUNK_PPB_AUDIO_API_H_ |
| OLD | NEW |