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_VIDEO_ENCODER_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_VIDEO_ENCODER_RESOURCE_H_ |
6 #define PPAPI_PROXY_VIDEO_ENCODER_RESOURCE_H_ | 6 #define PPAPI_PROXY_VIDEO_ENCODER_RESOURCE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
(...skipping 11 matching lines...) Expand all Loading... |
22 namespace base { | 22 namespace base { |
23 class SharedMemory; | 23 class SharedMemory; |
24 } | 24 } |
25 | 25 |
26 namespace ppapi { | 26 namespace ppapi { |
27 | 27 |
28 class TrackedCallback; | 28 class TrackedCallback; |
29 | 29 |
30 namespace proxy { | 30 namespace proxy { |
31 | 31 |
32 class SerializedHandle; | |
33 class VideoFrameResource; | 32 class VideoFrameResource; |
34 | 33 |
35 class PPAPI_PROXY_EXPORT VideoEncoderResource | 34 class PPAPI_PROXY_EXPORT VideoEncoderResource |
36 : public PluginResource, | 35 : public PluginResource, |
37 public thunk::PPB_VideoEncoder_API, | 36 public thunk::PPB_VideoEncoder_API, |
38 public ppapi::MediaStreamBufferManager::Delegate { | 37 public ppapi::MediaStreamBufferManager::Delegate { |
39 public: | 38 public: |
40 VideoEncoderResource(Connection connection, PP_Instance instance); | 39 VideoEncoderResource(Connection connection, PP_Instance instance); |
41 ~VideoEncoderResource() override; | 40 ~VideoEncoderResource() override; |
42 | 41 |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 scoped_refptr<TrackedCallback> get_bitstream_buffer_callback_; | 158 scoped_refptr<TrackedCallback> get_bitstream_buffer_callback_; |
160 PP_BitstreamBuffer* get_bitstream_buffer_data_; | 159 PP_BitstreamBuffer* get_bitstream_buffer_data_; |
161 | 160 |
162 DISALLOW_COPY_AND_ASSIGN(VideoEncoderResource); | 161 DISALLOW_COPY_AND_ASSIGN(VideoEncoderResource); |
163 }; | 162 }; |
164 | 163 |
165 } // namespace proxy | 164 } // namespace proxy |
166 } // namespace ppapi | 165 } // namespace ppapi |
167 | 166 |
168 #endif // PPAPI_PROXY_VIDEO_ENCODER_RESOURCE_H_ | 167 #endif // PPAPI_PROXY_VIDEO_ENCODER_RESOURCE_H_ |
OLD | NEW |