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

Unified Diff: media/mojo/services/mojo_decryptor.h

Issue 1977173002: Rename media::interfaces to media::mojom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + chromeos files Created 4 years, 7 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/mojo/services/mojo_decoder_factory.cc ('k') | media/mojo/services/mojo_decryptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_decryptor.h
diff --git a/media/mojo/services/mojo_decryptor.h b/media/mojo/services/mojo_decryptor.h
index b8c0dab7cbbd24f921fb6974b7099a18ed5f63df..b12b38b332ed60f61266a43ef66110dfbbdd0fc5 100644
--- a/media/mojo/services/mojo_decryptor.h
+++ b/media/mojo/services/mojo_decryptor.h
@@ -15,13 +15,13 @@
namespace media {
-// A Decryptor implementation based on interfaces::DecryptorPtr.
+// A Decryptor implementation based on mojom::DecryptorPtr.
// This class is single threaded. The |remote_decryptor| is connected before
// being passed to MojoDecryptor, but it is bound to the thread MojoDecryptor
// lives on the first time it is used in this class.
class MojoDecryptor : public Decryptor {
public:
- explicit MojoDecryptor(interfaces::DecryptorPtr remote_decryptor);
+ explicit MojoDecryptor(mojom::DecryptorPtr remote_decryptor);
~MojoDecryptor() final;
// Decryptor implementation.
@@ -48,14 +48,14 @@ class MojoDecryptor : public Decryptor {
private:
// Called when a buffer is decrypted.
void OnBufferDecrypted(const DecryptCB& decrypt_cb,
- interfaces::Decryptor::Status status,
- interfaces::DecoderBufferPtr buffer);
+ mojom::Decryptor::Status status,
+ mojom::DecoderBufferPtr buffer);
void OnAudioDecoded(const AudioDecodeCB& audio_decode_cb,
- interfaces::Decryptor::Status status,
- mojo::Array<interfaces::AudioBufferPtr> audio_buffers);
+ mojom::Decryptor::Status status,
+ mojo::Array<mojom::AudioBufferPtr> audio_buffers);
void OnVideoDecoded(const VideoDecodeCB& video_decode_cb,
- interfaces::Decryptor::Status status,
- interfaces::VideoFramePtr video_frame);
+ mojom::Decryptor::Status status,
+ mojom::VideoFramePtr video_frame);
// Called when done with a VideoFrame in order to reuse the shared memory.
void ReleaseSharedBuffer(mojo::ScopedSharedBufferHandle buffer,
@@ -67,14 +67,14 @@ class MojoDecryptor : public Decryptor {
void CreateDataPipes();
// Helper functions to write and read a DecoderBuffer.
- interfaces::DecoderBufferPtr TransferDecoderBuffer(
+ mojom::DecoderBufferPtr TransferDecoderBuffer(
const scoped_refptr<DecoderBuffer>& buffer);
scoped_refptr<DecoderBuffer> ReadDecoderBuffer(
- interfaces::DecoderBufferPtr buffer);
+ mojom::DecoderBufferPtr buffer);
base::ThreadChecker thread_checker_;
- interfaces::DecryptorPtr remote_decryptor_;
+ mojom::DecryptorPtr remote_decryptor_;
// DataPipes for serializing the data section of DecoderBuffer into/from.
mojo::ScopedDataPipeProducerHandle producer_handle_;
« no previous file with comments | « media/mojo/services/mojo_decoder_factory.cc ('k') | media/mojo/services/mojo_decryptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698