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_PROXY_AUDIO_INPUT_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_AUDIO_INPUT_RESOURCE_H_ |
6 #define PPAPI_PROXY_AUDIO_INPUT_RESOURCE_H_ | 6 #define PPAPI_PROXY_AUDIO_INPUT_RESOURCE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
11 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/shared_memory.h" | 15 #include "base/memory/shared_memory.h" |
13 #include "base/sync_socket.h" | 16 #include "base/sync_socket.h" |
14 #include "base/threading/simple_thread.h" | 17 #include "base/threading/simple_thread.h" |
15 #include "ppapi/proxy/device_enumeration_resource_helper.h" | 18 #include "ppapi/proxy/device_enumeration_resource_helper.h" |
16 #include "ppapi/proxy/plugin_resource.h" | 19 #include "ppapi/proxy/plugin_resource.h" |
17 #include "ppapi/shared_impl/scoped_pp_resource.h" | 20 #include "ppapi/shared_impl/scoped_pp_resource.h" |
18 #include "ppapi/thunk/ppb_audio_input_api.h" | 21 #include "ppapi/thunk/ppb_audio_input_api.h" |
19 | 22 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 int client_buffer_size_bytes_; | 146 int client_buffer_size_bytes_; |
144 scoped_ptr<uint8_t[]> client_buffer_; | 147 scoped_ptr<uint8_t[]> client_buffer_; |
145 | 148 |
146 DISALLOW_COPY_AND_ASSIGN(AudioInputResource); | 149 DISALLOW_COPY_AND_ASSIGN(AudioInputResource); |
147 }; | 150 }; |
148 | 151 |
149 } // namespace proxy | 152 } // namespace proxy |
150 } // namespace ppapi | 153 } // namespace ppapi |
151 | 154 |
152 #endif // PPAPI_PROXY_AUDIO_INPUT_RESOURCE_H_ | 155 #endif // PPAPI_PROXY_AUDIO_INPUT_RESOURCE_H_ |
OLD | NEW |