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_AUDIO_INPUT_API_H_ | 5 #ifndef PPAPI_THUNK_AUDIO_INPUT_API_H_ |
6 #define PPAPI_THUNK_AUDIO_INPUT_API_H_ | 6 #define PPAPI_THUNK_AUDIO_INPUT_API_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
11 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 13 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
12 | 14 |
13 namespace ppapi { | 15 namespace ppapi { |
14 | 16 |
15 class TrackedCallback; | 17 class TrackedCallback; |
16 | 18 |
17 namespace thunk { | 19 namespace thunk { |
(...skipping 19 matching lines...) Expand all Loading... |
37 virtual PP_Resource GetCurrentConfig() = 0; | 39 virtual PP_Resource GetCurrentConfig() = 0; |
38 virtual PP_Bool StartCapture() = 0; | 40 virtual PP_Bool StartCapture() = 0; |
39 virtual PP_Bool StopCapture() = 0; | 41 virtual PP_Bool StopCapture() = 0; |
40 virtual void Close() = 0; | 42 virtual void Close() = 0; |
41 }; | 43 }; |
42 | 44 |
43 } // namespace thunk | 45 } // namespace thunk |
44 } // namespace ppapi | 46 } // namespace ppapi |
45 | 47 |
46 #endif // PPAPI_THUNK_AUDIO_INPUT_API_H_ | 48 #endif // PPAPI_THUNK_AUDIO_INPUT_API_H_ |
OLD | NEW |