Index: media/mojo/services/mojo_audio_decoder_service.cc |
diff --git a/media/mojo/services/mojo_audio_decoder_service.cc b/media/mojo/services/mojo_audio_decoder_service.cc |
index c27b03f379518d40943a39e62c85d4b271183da7..16ab502716ade52fcc2997024344cd9a24b1cf9a 100644 |
--- a/media/mojo/services/mojo_audio_decoder_service.cc |
+++ b/media/mojo/services/mojo_audio_decoder_service.cc |
@@ -104,22 +104,21 @@ void MojoAudioDecoderService::OnInitialized(const InitializeCallback& callback, |
} |
static interfaces::AudioDecoder::DecodeStatus ConvertDecodeStatus( |
- media::AudioDecoder::Status status) { |
+ media::DecodeStatus status) { |
switch (status) { |
- case media::AudioDecoder::kOk: |
+ case media::DecodeStatus::OK: |
return interfaces::AudioDecoder::DecodeStatus::OK; |
- case media::AudioDecoder::kAborted: |
+ case media::DecodeStatus::ABORTED: |
return interfaces::AudioDecoder::DecodeStatus::ABORTED; |
- case media::AudioDecoder::kDecodeError: |
+ case media::DecodeStatus::DECODE_ERROR: |
return interfaces::AudioDecoder::DecodeStatus::DECODE_ERROR; |
} |
NOTREACHED(); |
return interfaces::AudioDecoder::DecodeStatus::DECODE_ERROR; |
} |
-void MojoAudioDecoderService::OnDecodeStatus( |
- const DecodeCallback& callback, |
- media::AudioDecoder::Status status) { |
+void MojoAudioDecoderService::OnDecodeStatus(const DecodeCallback& callback, |
+ media::DecodeStatus status) { |
DVLOG(3) << __FUNCTION__ << " status:" << status; |
callback.Run(ConvertDecodeStatus(status)); |
} |