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

Unified Diff: media/base/android/audio_media_codec_decoder.h

Issue 1682923003: Rename browser side MediaCodec-based decoders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reformatted to make bots happy 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/android/BUILD.gn ('k') | media/base/android/audio_media_codec_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/android/audio_media_codec_decoder.h
diff --git a/media/base/android/media_codec_audio_decoder.h b/media/base/android/audio_media_codec_decoder.h
similarity index 89%
rename from media/base/android/media_codec_audio_decoder.h
rename to media/base/android/audio_media_codec_decoder.h
index 434edf062eeab4aa7290f43b01d16f1c9c1eef78..ce264b60ee6c9fe674f6482a2d8765a0acd36794 100644
--- a/media/base/android/media_codec_audio_decoder.h
+++ b/media/base/android/audio_media_codec_decoder.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_AUDIO_DECODER_H_
-#define MEDIA_BASE_ANDROID_MEDIA_CODEC_AUDIO_DECODER_H_
+#ifndef MEDIA_BASE_ANDROID_AUDIO_MEDIA_CODEC_DECODER_H_
+#define MEDIA_BASE_ANDROID_AUDIO_MEDIA_CODEC_DECODER_H_
#include <stddef.h>
#include <stdint.h>
@@ -16,12 +16,12 @@ namespace media {
class AudioTimestampHelper;
// Audio decoder for MediaCodecPlayer
-class MediaCodecAudioDecoder : public MediaCodecDecoder {
+class AudioMediaCodecDecoder : public MediaCodecDecoder {
public:
// For parameters see media_codec_decoder.h
// update_current_time_cb: callback that reports current playback time.
// Called for each rendered frame.
- MediaCodecAudioDecoder(
+ AudioMediaCodecDecoder(
const scoped_refptr<base::SingleThreadTaskRunner>& media_runner,
FrameStatistics* frame_statistics,
const base::Closure& request_data_cb,
@@ -31,7 +31,7 @@ class MediaCodecAudioDecoder : public MediaCodecDecoder {
const base::Closure& waiting_for_decryption_key_cb,
const base::Closure& error_cb,
const SetTimeCallback& update_current_time_cb);
- ~MediaCodecAudioDecoder() override;
+ ~AudioMediaCodecDecoder() override;
const char* class_name() const override;
@@ -95,9 +95,9 @@ class MediaCodecAudioDecoder : public MediaCodecDecoder {
// The time limit for the next frame to avoid underrun.
base::TimeTicks next_frame_time_limit_;
- DISALLOW_COPY_AND_ASSIGN(MediaCodecAudioDecoder);
+ DISALLOW_COPY_AND_ASSIGN(AudioMediaCodecDecoder);
};
} // namespace media
-#endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_DECODER_H_
+#endif // MEDIA_BASE_ANDROID_AUDIO_MEDIA_CODEC_DECODER_H_
« no previous file with comments | « media/base/android/BUILD.gn ('k') | media/base/android/audio_media_codec_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698