1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
content / public / browser / stable_video_decoder_factory.h [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_PUBLIC_BROWSER_STABLE_VIDEO_DECODER_FACTORY_H_
#define CONTENT_PUBLIC_BROWSER_STABLE_VIDEO_DECODER_FACTORY_H_
#include "content/common/content_export.h"
#include "media/mojo/mojom/stable/stable_video_decoder.mojom-forward.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
namespace content {
// Binds a StableVideoDecoderFactory PendingReceiver by either using the crosapi
// (on LaCrOS) or starting a new utility process (on non-LaCrOS). This function
// can be called from any thread.
CONTENT_EXPORT void LaunchStableVideoDecoderFactory(
mojo::PendingReceiver<media::stable::mojom::StableVideoDecoderFactory>
receiver);
} // namespace content
#endif // CONTENT_PUBLIC_BROWSER_STABLE_VIDEO_DECODER_FACTORY_H_