1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_PUBLIC_BROWSER_MEDIA_SERVICE_H_ 6 #define CONTENT_PUBLIC_BROWSER_MEDIA_SERVICE_H_ 7 8 #include "content/common/content_export.h" 9 #include "media/mojo/mojom/media_service.mojom.h" 10 11 namespace content { 12 13 // Returns the browser's remote interface to the default global Media Service 14 // instance, which is started lazily and may run in- or out-of-process. 15 CONTENT_EXPORT media::mojom::MediaService& GetMediaService(); 16 17 } // namespace content 18 19 #endif // CONTENT_PUBLIC_BROWSER_MEDIA_SERVICE_H_ 20