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

Side by Side Diff: media/mojo/interfaces/decryptor.mojom

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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module media.interfaces; 5 module media.mojom;
6 6
7 import "media/mojo/interfaces/demuxer_stream.mojom"; 7 import "media/mojo/interfaces/demuxer_stream.mojom";
8 import "media/mojo/interfaces/media_types.mojom"; 8 import "media/mojo/interfaces/media_types.mojom";
9 9
10 // Interface for decrypting (and decoding) encrypted streams. 10 // Interface for decrypting (and decoding) encrypted streams.
11 // See media/base/decryptor.h for details. 11 // See media/base/decryptor.h for details.
12 interface Decryptor { 12 interface Decryptor {
13 // Status of a decrypt or decrypt-and-decode operation. The returned 13 // Status of a decrypt or decrypt-and-decode operation. The returned
14 // buffer/frame of such an operation is NOT null iff the status is SUCCESS. 14 // buffer/frame of such an operation is NOT null iff the status is SUCCESS.
15 enum Status { 15 enum Status {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // |stream_type| immediately. 69 // |stream_type| immediately.
70 // This method can be called any time after Initialize{Audio|Video}Decoder() 70 // This method can be called any time after Initialize{Audio|Video}Decoder()
71 // has been called (with the correct stream type). 71 // has been called (with the correct stream type).
72 // After this operation, the decoder is set to an uninitialized state. 72 // After this operation, the decoder is set to an uninitialized state.
73 // The decoder can be reinitialized after it is deinitialized. 73 // The decoder can be reinitialized after it is deinitialized.
74 DeinitializeDecoder(DemuxerStream.Type stream_type); 74 DeinitializeDecoder(DemuxerStream.Type stream_type);
75 75
76 // Releases the shared memory. 76 // Releases the shared memory.
77 ReleaseSharedBuffer(handle<shared_buffer> buffer, uint64 buffer_size); 77 ReleaseSharedBuffer(handle<shared_buffer> buffer, uint64 buffer_size);
78 }; 78 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/content_decryption_module.mojom ('k') | media/mojo/interfaces/demuxer_stream.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698