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 <memory> | |
bbudge
2016/04/06 21:01:20
Move to .cc file?
dcheng
2016/04/06 21:18:33
Deleted since it's not used. Note that at the end
| |
11 | |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "base/memory/scoped_vector.h" | 14 #include "base/memory/scoped_vector.h" |
14 #include "ppapi/proxy/connection.h" | 15 #include "ppapi/proxy/connection.h" |
15 #include "ppapi/proxy/plugin_resource.h" | 16 #include "ppapi/proxy/plugin_resource.h" |
16 #include "ppapi/shared_impl/media_stream_buffer_manager.h" | 17 #include "ppapi/shared_impl/media_stream_buffer_manager.h" |
17 #include "ppapi/shared_impl/resource.h" | 18 #include "ppapi/shared_impl/resource.h" |
18 #include "ppapi/thunk/ppb_audio_encoder_api.h" | 19 #include "ppapi/thunk/ppb_audio_encoder_api.h" |
19 | 20 |
20 namespace ppapi { | 21 namespace ppapi { |
21 | 22 |
22 class TrackedCallback; | 23 class TrackedCallback; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
119 using BufferMap = std::map<void*, int32_t>; | 120 using BufferMap = std::map<void*, int32_t>; |
120 BufferMap bitstream_buffer_map_; | 121 BufferMap bitstream_buffer_map_; |
121 | 122 |
122 DISALLOW_COPY_AND_ASSIGN(AudioEncoderResource); | 123 DISALLOW_COPY_AND_ASSIGN(AudioEncoderResource); |
123 }; | 124 }; |
124 | 125 |
125 } // namespace proxy | 126 } // namespace proxy |
126 } // namespace ppapi | 127 } // namespace ppapi |
127 | 128 |
128 #endif // PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ | 129 #endif // PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ |
OLD | NEW |