Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(701)

Side by Side Diff: media/renderers/video_renderer_impl.h

Issue 1666653002: media: Remove SetCdmReadyCB and CdmReadyCB (part 1). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and fix compile errors Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/renderers/renderer_impl_unittest.cc ('k') | media/renderers/video_renderer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ 5 #ifndef MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_
6 #define MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ 6 #define MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 VideoRendererSink* sink, 59 VideoRendererSink* sink,
60 ScopedVector<VideoDecoder> decoders, 60 ScopedVector<VideoDecoder> decoders,
61 bool drop_frames, 61 bool drop_frames,
62 GpuVideoAcceleratorFactories* gpu_factories, 62 GpuVideoAcceleratorFactories* gpu_factories,
63 const scoped_refptr<MediaLog>& media_log); 63 const scoped_refptr<MediaLog>& media_log);
64 ~VideoRendererImpl() override; 64 ~VideoRendererImpl() override;
65 65
66 // VideoRenderer implementation. 66 // VideoRenderer implementation.
67 void Initialize(DemuxerStream* stream, 67 void Initialize(DemuxerStream* stream,
68 const PipelineStatusCB& init_cb, 68 const PipelineStatusCB& init_cb,
69 const SetCdmReadyCB& set_cdm_ready_cb, 69 CdmContext* cdm_context,
70 const StatisticsCB& statistics_cb, 70 const StatisticsCB& statistics_cb,
71 const BufferingStateCB& buffering_state_cb, 71 const BufferingStateCB& buffering_state_cb,
72 const base::Closure& ended_cb, 72 const base::Closure& ended_cb,
73 const PipelineStatusCB& error_cb, 73 const PipelineStatusCB& error_cb,
74 const TimeSource::WallClockTimeCB& wall_clock_time_cb, 74 const TimeSource::WallClockTimeCB& wall_clock_time_cb,
75 const base::Closure& waiting_for_decryption_key_cb) override; 75 const base::Closure& waiting_for_decryption_key_cb) override;
76 void Flush(const base::Closure& callback) override; 76 void Flush(const base::Closure& callback) override;
77 void StartPlayingFrom(base::TimeDelta timestamp) override; 77 void StartPlayingFrom(base::TimeDelta timestamp) override;
78 void OnTimeStateChanged(bool time_progressing) override; 78 void OnTimeStateChanged(bool time_progressing) override;
79 79
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 270
271 // NOTE: Weak pointers must be invalidated before all other member variables. 271 // NOTE: Weak pointers must be invalidated before all other member variables.
272 base::WeakPtrFactory<VideoRendererImpl> weak_factory_; 272 base::WeakPtrFactory<VideoRendererImpl> weak_factory_;
273 273
274 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl); 274 DISALLOW_COPY_AND_ASSIGN(VideoRendererImpl);
275 }; 275 };
276 276
277 } // namespace media 277 } // namespace media
278 278
279 #endif // MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_ 279 #endif // MEDIA_RENDERERS_VIDEO_RENDERER_IMPL_H_
OLDNEW
« no previous file with comments | « media/renderers/renderer_impl_unittest.cc ('k') | media/renderers/video_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698