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

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

Issue 1899363002: Finish plumbing MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows needs some more headers, apaprently. Created 4 years, 6 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
« no previous file with comments | « media/mojo/interfaces/media_types.mojom ('k') | media/mojo/interfaces/video_decoder.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.mojom; 5 module media.mojom;
6 6
7 import "media/mojo/interfaces/audio_decoder.mojom"; 7 import "media/mojo/interfaces/audio_decoder.mojom";
8 import "media/mojo/interfaces/content_decryption_module.mojom"; 8 import "media/mojo/interfaces/content_decryption_module.mojom";
9 import "media/mojo/interfaces/renderer.mojom"; 9 import "media/mojo/interfaces/renderer.mojom";
10 import "media/mojo/interfaces/video_decoder.mojom";
10 11
11 // A factory interface to create media services. Renderers can only access 12 // A factory interface to create media services. Renderers can only access
12 // ContentDecryptionModules created in the same factory. 13 // ContentDecryptionModules created in the same factory.
13 interface ServiceFactory { 14 interface ServiceFactory {
14 // Creates an AudioDecoder service. 15 // Creates an AudioDecoder service.
15 CreateAudioDecoder(AudioDecoder& audio_decoder); 16 CreateAudioDecoder(AudioDecoder& audio_decoder);
16 17
18 // Creates a VideoDecoder service.
19 CreateVideoDecoder(VideoDecoder& video_decoder);
20
17 // Creates a Renderer service. 21 // Creates a Renderer service.
18 CreateRenderer(Renderer& renderer); 22 CreateRenderer(Renderer& renderer);
19 23
20 // Creates a ContentDecryptionModule service. 24 // Creates a ContentDecryptionModule service.
21 CreateCdm(ContentDecryptionModule& cdm); 25 CreateCdm(ContentDecryptionModule& cdm);
22 }; 26 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/media_types.mojom ('k') | media/mojo/interfaces/video_decoder.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698