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

Unified Diff: media/mojo/interfaces/service_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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/mojo/interfaces/media_service.mojom ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/service_factory.mojom
diff --git a/media/mojo/interfaces/service_factory.mojom b/media/mojo/interfaces/service_factory.mojom
deleted file mode 100644
index ebcf5248dc41d9e31f601fb3790a138d176f73ce..0000000000000000000000000000000000000000
--- a/media/mojo/interfaces/service_factory.mojom
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module media.mojom;
-
-import "media/mojo/interfaces/audio_decoder.mojom";
-import "media/mojo/interfaces/content_decryption_module.mojom";
-import "media/mojo/interfaces/renderer.mojom";
-import "media/mojo/interfaces/video_decoder.mojom";
-
-// A factory interface to create media services. Renderers can only access
-// ContentDecryptionModules created in the same factory.
-interface ServiceFactory {
- // Creates an AudioDecoder service.
- CreateAudioDecoder(AudioDecoder& audio_decoder);
-
- // Creates a VideoDecoder service.
- CreateVideoDecoder(VideoDecoder& video_decoder);
-
- // Creates a Renderer service.
- // Audio stream will be played on device_id, which is defined in
- // media/audio/audio_device_description.h. If audio_device_id
- // is empty, kDefaultDeviceId will be used.
- CreateRenderer(string audio_device_id, Renderer& renderer);
-
- // Creates a ContentDecryptionModule service.
- CreateCdm(ContentDecryptionModule& cdm);
-};
« no previous file with comments | « media/mojo/interfaces/media_service.mojom ('k') | media/mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698