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

Unified Diff: media/mojo/services/mojo_demuxer_stream_impl.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: Created 4 years, 12 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
Index: media/mojo/services/mojo_demuxer_stream_impl.cc
diff --git a/media/mojo/services/mojo_demuxer_stream_impl.cc b/media/mojo/services/mojo_demuxer_stream_impl.cc
index 40f2059ba5750ccfa640db2dd75ce38a32186bf2..582da03f935897e21c333c6a7e0b4eb3cc289c85 100644
--- a/media/mojo/services/mojo_demuxer_stream_impl.cc
+++ b/media/mojo/services/mojo_demuxer_stream_impl.cc
@@ -96,14 +96,14 @@ void MojoDemuxerStreamImpl::OnBufferReady(
<< stream_->type();
}
- callback.Run(interfaces::DemuxerStream::STATUS_CONFIG_CHANGED,
+ callback.Run(interfaces::DemuxerStream::Status::CONFIG_CHANGED,
interfaces::DecoderBufferPtr(), std::move(audio_config),
std::move(video_config));
return;
}
if (status == media::DemuxerStream::kAborted) {
- callback.Run(interfaces::DemuxerStream::STATUS_ABORTED,
+ callback.Run(interfaces::DemuxerStream::Status::ABORTED,
interfaces::DecoderBufferPtr(), std::move(audio_config),
std::move(video_config));
return;

Powered by Google App Engine
This is Rietveld 408576698