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

Side by Side Diff: media/base/pipeline.h

Issue 2204673004: WIP - WebMediaPlayer switch media renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some revision. Created 4 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_PIPELINE_H_ 5 #ifndef MEDIA_BASE_PIPELINE_H_
6 #define MEDIA_BASE_PIPELINE_H_ 6 #define MEDIA_BASE_PIPELINE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 162
163 // Return true if loading progress has been made since the last time this 163 // Return true if loading progress has been made since the last time this
164 // method was called. 164 // method was called.
165 virtual bool DidLoadingProgress() = 0; 165 virtual bool DidLoadingProgress() = 0;
166 166
167 // Gets the current pipeline statistics. 167 // Gets the current pipeline statistics.
168 virtual PipelineStatistics GetStatistics() const = 0; 168 virtual PipelineStatistics GetStatistics() const = 0;
169 169
170 virtual void SetCdm(CdmContext* cdm_context, 170 virtual void SetCdm(CdmContext* cdm_context,
171 const CdmAttachedCB& cdm_attached_cb) = 0; 171 const CdmAttachedCB& cdm_attached_cb) = 0;
172
173 // Get current video/audio configure.
174 virtual VideoDecoderConfig GetVideoDecoderConfig() const = 0;
175 virtual AudioDecoderConfig GetAudioDecoderConfig() const = 0;
172 }; 176 };
173 177
174 } // namespace media 178 } // namespace media
175 179
176 #endif // MEDIA_BASE_PIPELINE_H_ 180 #endif // MEDIA_BASE_PIPELINE_H_
OLDNEW
« no previous file with comments | « media/BUILD.gn ('k') | media/base/pipeline_impl.h » ('j') | media/base/pipeline_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698