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

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

Issue 2444623002: media: Rename ServiceFactory to InterfaceFactory (Closed)
Patch Set: media: Rename ServiceFactory to InterfaceFactory Created 4 years, 2 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/BUILD.gn ('k') | media/mojo/interfaces/media_service.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 import "media/mojo/interfaces/video_decoder.mojom";
11 11
12 // A factory interface to create media services. Renderers can only access 12 // A factory interface to create media services. Renderers can only access
13 // ContentDecryptionModules created in the same factory. 13 // ContentDecryptionModules created in the same factory.
14 interface ServiceFactory { 14 interface InterfaceFactory {
15 // Creates an AudioDecoder service. 15 // Creates an AudioDecoder service.
16 CreateAudioDecoder(AudioDecoder& audio_decoder); 16 CreateAudioDecoder(AudioDecoder& audio_decoder);
17 17
18 // Creates a VideoDecoder service. 18 // Creates a VideoDecoder service.
19 CreateVideoDecoder(VideoDecoder& video_decoder); 19 CreateVideoDecoder(VideoDecoder& video_decoder);
20 20
21 // Creates a Renderer service. 21 // Creates a Renderer service.
22 // Audio stream will be played on device_id, which is defined in 22 // Audio stream will be played on device_id, which is defined in
23 // media/audio/audio_device_description.h. If audio_device_id 23 // media/audio/audio_device_description.h. If audio_device_id
24 // is empty, kDefaultDeviceId will be used. 24 // is empty, kDefaultDeviceId will be used.
25 CreateRenderer(string audio_device_id, Renderer& renderer); 25 CreateRenderer(string audio_device_id, Renderer& renderer);
26 26
27 // Creates a ContentDecryptionModule service. 27 // Creates a ContentDecryptionModule service.
28 CreateCdm(ContentDecryptionModule& cdm); 28 CreateCdm(ContentDecryptionModule& cdm);
29 }; 29 };
OLDNEW
« no previous file with comments | « media/mojo/interfaces/BUILD.gn ('k') | media/mojo/interfaces/media_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698