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

Unified Diff: media/base/decryptor.h

Issue 826783003: Renaming "AudioBuffers" to "AudioFrames" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing Build errors Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/content_decryptor_delegate.cc ('k') | media/filters/decrypting_audio_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/decryptor.h
diff --git a/media/base/decryptor.h b/media/base/decryptor.h
index 89733ef2d589f233e3f25731a44857edf6ed8774..47b4645efd9ba328655c3af7c321243ecbf94c15 100644
--- a/media/base/decryptor.h
+++ b/media/base/decryptor.h
@@ -105,8 +105,7 @@ class MEDIA_EXPORT Decryptor {
const DecoderInitCB& init_cb) = 0;
// Helper structure for managing multiple decoded audio buffers per input.
- // TODO(xhwang): Rename this to AudioFrames.
- typedef std::list<scoped_refptr<AudioBuffer> > AudioBuffers;
+ typedef std::list<scoped_refptr<AudioBuffer> > AudioFrames;
// Indicates completion of audio/video decrypt-and-decode operation.
//
@@ -124,7 +123,7 @@ class MEDIA_EXPORT Decryptor {
// - Set to kError if unexpected error has occurred. In this case the
// returned frame(s) must be NULL/empty.
// Second parameter: The decoded video frame or audio buffers.
- typedef base::Callback<void(Status, const AudioBuffers&)> AudioDecodeCB;
+ typedef base::Callback<void(Status, const AudioFrames&)> AudioDecodeCB;
typedef base::Callback<void(Status,
const scoped_refptr<VideoFrame>&)> VideoDecodeCB;
« no previous file with comments | « content/renderer/pepper/content_decryptor_delegate.cc ('k') | media/filters/decrypting_audio_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698