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