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

Side by Side Diff: media/remoting/remote_renderer_impl.h

Issue 2541803003: media: remove unused functions: Renderer::HasAudio()/HasVideo() (Closed)
Patch Set: cast Created 4 years 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/mojo/clients/mojo_renderer.cc ('k') | media/remoting/remote_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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_REMOTING_REMOTE_RENDERER_IMPL_H_ 5 #ifndef MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_
6 #define MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ 6 #define MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void Initialize(DemuxerStreamProvider* demuxer_stream_provider, 71 void Initialize(DemuxerStreamProvider* demuxer_stream_provider,
72 media::RendererClient* client, 72 media::RendererClient* client,
73 const PipelineStatusCB& init_cb) final; 73 const PipelineStatusCB& init_cb) final;
74 void SetCdm(CdmContext* cdm_context, 74 void SetCdm(CdmContext* cdm_context,
75 const CdmAttachedCB& cdm_attached_cb) final; 75 const CdmAttachedCB& cdm_attached_cb) final;
76 void Flush(const base::Closure& flush_cb) final; 76 void Flush(const base::Closure& flush_cb) final;
77 void StartPlayingFrom(base::TimeDelta time) final; 77 void StartPlayingFrom(base::TimeDelta time) final;
78 void SetPlaybackRate(double playback_rate) final; 78 void SetPlaybackRate(double playback_rate) final;
79 void SetVolume(float volume) final; 79 void SetVolume(float volume) final;
80 base::TimeDelta GetMediaTime() final; 80 base::TimeDelta GetMediaTime() final;
81 bool HasAudio() final;
82 bool HasVideo() final;
83 81
84 private: 82 private:
85 friend class RemoteRendererImplTest; 83 friend class RemoteRendererImplTest;
86 84
87 enum State { 85 enum State {
88 STATE_UNINITIALIZED, 86 STATE_UNINITIALIZED,
89 STATE_CREATE_PIPE, 87 STATE_CREATE_PIPE,
90 STATE_ACQUIRING, 88 STATE_ACQUIRING,
91 STATE_INITIALIZING, 89 STATE_INITIALIZING,
92 STATE_FLUSHING, 90 STATE_FLUSHING,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 RemotingInterstitialUI interstitial_ui_; 160 RemotingInterstitialUI interstitial_ui_;
163 161
164 base::WeakPtrFactory<RemoteRendererImpl> weak_factory_; 162 base::WeakPtrFactory<RemoteRendererImpl> weak_factory_;
165 163
166 DISALLOW_COPY_AND_ASSIGN(RemoteRendererImpl); 164 DISALLOW_COPY_AND_ASSIGN(RemoteRendererImpl);
167 }; 165 };
168 166
169 } // namespace media 167 } // namespace media
170 168
171 #endif // MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_ 169 #endif // MEDIA_REMOTING_REMOTE_RENDERER_IMPL_H_
OLDNEW
« no previous file with comments | « media/mojo/clients/mojo_renderer.cc ('k') | media/remoting/remote_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698