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_ptr.h" | |
13 #include "base/memory/scoped_vector.h" | 12 #include "base/memory/scoped_vector.h" |
14 #include "ppapi/proxy/connection.h" | 13 #include "ppapi/proxy/connection.h" |
15 #include "ppapi/proxy/plugin_resource.h" | 14 #include "ppapi/proxy/plugin_resource.h" |
16 #include "ppapi/shared_impl/media_stream_buffer_manager.h" | 15 #include "ppapi/shared_impl/media_stream_buffer_manager.h" |
17 #include "ppapi/shared_impl/resource.h" | 16 #include "ppapi/shared_impl/resource.h" |
18 #include "ppapi/thunk/ppb_audio_encoder_api.h" | 17 #include "ppapi/thunk/ppb_audio_encoder_api.h" |
19 | 18 |
20 namespace ppapi { | 19 namespace ppapi { |
21 | 20 |
22 class TrackedCallback; | 21 class TrackedCallback; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 using BufferMap = std::map<void*, int32_t>; | 118 using BufferMap = std::map<void*, int32_t>; |
120 BufferMap bitstream_buffer_map_; | 119 BufferMap bitstream_buffer_map_; |
121 | 120 |
122 DISALLOW_COPY_AND_ASSIGN(AudioEncoderResource); | 121 DISALLOW_COPY_AND_ASSIGN(AudioEncoderResource); |
123 }; | 122 }; |
124 | 123 |
125 } // namespace proxy | 124 } // namespace proxy |
126 } // namespace ppapi | 125 } // namespace ppapi |
127 | 126 |
128 #endif // PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ | 127 #endif // PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ |
OLD | NEW |