Index: content/renderer/media/rtc_video_encoder.h |
diff --git a/content/renderer/media/rtc_video_encoder.h b/content/renderer/media/rtc_video_encoder.h |
index 4997ad298b0ea0225b9d6e6be4132725496c8ce1..2ecfb0e5b13209908ebecadfb8c61f87d90aff56 100644 |
--- a/content/renderer/media/rtc_video_encoder.h |
+++ b/content/renderer/media/rtc_video_encoder.h |
@@ -64,18 +64,9 @@ class CONTENT_EXPORT RTCVideoEncoder |
class Impl; |
friend class RTCVideoEncoder::Impl; |
- // Return an encoded output buffer to WebRTC. |
- void ReturnEncodedImage(scoped_ptr<webrtc::EncodedImage> image, |
- int32_t bitstream_buffer_id, |
- uint16_t picture_id); |
- |
- void NotifyError(int32_t error); |
- |
void RecordInitEncodeUMA(int32_t init_retval, |
media::VideoCodecProfile profile); |
- base::ThreadChecker thread_checker_; |
- |
// The video codec type, as reported to WebRTC. |
const webrtc::VideoCodecType video_codec_type_; |
@@ -85,23 +76,9 @@ class CONTENT_EXPORT RTCVideoEncoder |
// Task runner that the video accelerator runs on. |
const scoped_refptr<base::SingleThreadTaskRunner> gpu_task_runner_; |
- // webrtc::VideoEncoder encode complete callback. |
- webrtc::EncodedImageCallback* encoded_image_callback_; |
- |
// The RTCVideoEncoder::Impl that does all the work. |
scoped_refptr<Impl> impl_; |
- // We cannot immediately return error conditions to the WebRTC user of this |
- // class, as there is no error callback in the webrtc::VideoEncoder interface. |
- // Instead, we cache an error status here and return it the next time an |
- // interface entry point is called. |
- int32_t impl_status_; |
- |
- // Weak pointer factory for posting back VEA::Client notifications to |
- // RTCVideoEncoder. |
- // NOTE: Weak pointers must be invalidated before all other member variables. |
- base::WeakPtrFactory<RTCVideoEncoder> weak_factory_; |
- |
DISALLOW_COPY_AND_ASSIGN(RTCVideoEncoder); |
}; |