1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
media / gpu / ipc / service / media_gpu_channel.h [blame]
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_GPU_IPC_SERVICE_MEDIA_GPU_CHANNEL_H_
#define MEDIA_GPU_IPC_SERVICE_MEDIA_GPU_CHANNEL_H_
#include "base/memory/raw_ptr.h"
#include "base/unguessable_token.h"
#include "media/base/android_overlay_mojo_factory.h"
namespace gpu {
class GpuChannel;
}
namespace media {
class MediaGpuChannel {
public:
MediaGpuChannel(gpu::GpuChannel* channel,
const AndroidOverlayMojoFactoryCB& overlay_factory_cb);
MediaGpuChannel(const MediaGpuChannel&) = delete;
MediaGpuChannel& operator=(const MediaGpuChannel&) = delete;
~MediaGpuChannel();
private:
const raw_ptr<gpu::GpuChannel, DanglingUntriaged> channel_;
AndroidOverlayMojoFactoryCB overlay_factory_cb_;
};
} // namespace media
#endif // MEDIA_GPU_IPC_SERVICE_MEDIA_GPU_CHANNEL_H_