summaryrefslogtreecommitdiff
path: root/chromium/content/public/browser/media_service.h
blob: 6d5309a0f70d2b4bf80fe6fac804abab0ca47c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2019 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.

#ifndef CONTENT_PUBLIC_BROWSER_MEDIA_SERVICE_H_
#define CONTENT_PUBLIC_BROWSER_MEDIA_SERVICE_H_

#include "content/common/content_export.h"
#include "media/mojo/mojom/media_service.mojom.h"

namespace content {

// Returns the browser's remote interface to the default global Media Service
// instance, which is started lazily and may run in- or out-of-process.
CONTENT_EXPORT media::mojom::MediaService& GetMediaService();

}  // namespace content

#endif  // CONTENT_PUBLIC_BROWSER_MEDIA_SERVICE_H_