OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ENCODER_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ |
6 #define PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ | 6 #define PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_vector.h" | |
13 #include "ppapi/proxy/connection.h" | 12 #include "ppapi/proxy/connection.h" |
14 #include "ppapi/proxy/plugin_resource.h" | 13 #include "ppapi/proxy/plugin_resource.h" |
15 #include "ppapi/shared_impl/media_stream_buffer_manager.h" | 14 #include "ppapi/shared_impl/media_stream_buffer_manager.h" |
16 #include "ppapi/shared_impl/resource.h" | 15 #include "ppapi/shared_impl/resource.h" |
17 #include "ppapi/thunk/ppb_audio_encoder_api.h" | 16 #include "ppapi/thunk/ppb_audio_encoder_api.h" |
18 | 17 |
19 namespace ppapi { | 18 namespace ppapi { |
20 | 19 |
21 class TrackedCallback; | 20 class TrackedCallback; |
22 | 21 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 using BufferMap = std::map<void*, int32_t>; | 117 using BufferMap = std::map<void*, int32_t>; |
119 BufferMap bitstream_buffer_map_; | 118 BufferMap bitstream_buffer_map_; |
120 | 119 |
121 DISALLOW_COPY_AND_ASSIGN(AudioEncoderResource); | 120 DISALLOW_COPY_AND_ASSIGN(AudioEncoderResource); |
122 }; | 121 }; |
123 | 122 |
124 } // namespace proxy | 123 } // namespace proxy |
125 } // namespace ppapi | 124 } // namespace ppapi |
126 | 125 |
127 #endif // PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ | 126 #endif // PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ |
OLD | NEW |