blob: 97ab32771ce94951bbdbf823818c4617e8db1eaa [file] [log] [blame]
// gpu/ipc/common/traits_test_service.test-mojom-test-utils.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_IPC_COMMON_TRAITS_TEST_SERVICE_TEST_MOJOM_TEST_UTILS_H_
#define GPU_IPC_COMMON_TRAITS_TEST_SERVICE_TEST_MOJOM_TEST_UTILS_H_
#include "gpu/ipc/common/traits_test_service.test-mojom.h"
namespace gpu::mojom {
class TraitsTestServiceInterceptorForTesting : public TraitsTestService {
virtual TraitsTestService* GetForwardingInterface() = 0;
void EchoGpuDevice(const ::gpu::GPUInfo::GPUDevice& g, EchoGpuDeviceCallback callback) override;
void EchoGpuInfo(const ::gpu::GPUInfo& g, EchoGpuInfoCallback callback) override;
void EchoMailbox(const ::gpu::Mailbox& m, EchoMailboxCallback callback) override;
void EchoMailboxHolder(const ::gpu::MailboxHolder& m, EchoMailboxHolderCallback callback) override;
void EchoSyncToken(const ::gpu::SyncToken& s, EchoSyncTokenCallback callback) override;
void EchoVideoDecodeAcceleratorSupportedProfile(const ::gpu::VideoDecodeAcceleratorSupportedProfile& v, EchoVideoDecodeAcceleratorSupportedProfileCallback callback) override;
void EchoVideoDecodeAcceleratorCapabilities(const ::gpu::VideoDecodeAcceleratorCapabilities& v, EchoVideoDecodeAcceleratorCapabilitiesCallback callback) override;
void EchoVideoEncodeAcceleratorSupportedProfile(const ::gpu::VideoEncodeAcceleratorSupportedProfile& v, EchoVideoEncodeAcceleratorSupportedProfileCallback callback) override;
void EchoGpuPreferences(const ::gpu::GpuPreferences& prefs, EchoGpuPreferencesCallback callback) override;
};
class TraitsTestServiceAsyncWaiter {
public:
explicit TraitsTestServiceAsyncWaiter(TraitsTestService* proxy);
TraitsTestServiceAsyncWaiter(const TraitsTestServiceAsyncWaiter&) = delete;
TraitsTestServiceAsyncWaiter& operator=(const TraitsTestServiceAsyncWaiter&) = delete;
~TraitsTestServiceAsyncWaiter();
void EchoGpuDevice(
const ::gpu::GPUInfo::GPUDevice& g, ::gpu::GPUInfo::GPUDevice* out_pass);
::gpu::GPUInfo::GPUDevice EchoGpuDevice(const ::gpu::GPUInfo::GPUDevice& g);
void EchoGpuInfo(
const ::gpu::GPUInfo& g, ::gpu::GPUInfo* out_pass);
::gpu::GPUInfo EchoGpuInfo(const ::gpu::GPUInfo& g);
void EchoMailbox(
const ::gpu::Mailbox& m, ::gpu::Mailbox* out_pass);
::gpu::Mailbox EchoMailbox(const ::gpu::Mailbox& m);
void EchoMailboxHolder(
const ::gpu::MailboxHolder& m, ::gpu::MailboxHolder* out_pass);
::gpu::MailboxHolder EchoMailboxHolder(const ::gpu::MailboxHolder& m);
void EchoSyncToken(
const ::gpu::SyncToken& s, ::gpu::SyncToken* out_pass);
::gpu::SyncToken EchoSyncToken(const ::gpu::SyncToken& s);
void EchoVideoDecodeAcceleratorSupportedProfile(
const ::gpu::VideoDecodeAcceleratorSupportedProfile& v, ::gpu::VideoDecodeAcceleratorSupportedProfile* out_pass);
::gpu::VideoDecodeAcceleratorSupportedProfile EchoVideoDecodeAcceleratorSupportedProfile(const ::gpu::VideoDecodeAcceleratorSupportedProfile& v);
void EchoVideoDecodeAcceleratorCapabilities(
const ::gpu::VideoDecodeAcceleratorCapabilities& v, ::gpu::VideoDecodeAcceleratorCapabilities* out_pass);
::gpu::VideoDecodeAcceleratorCapabilities EchoVideoDecodeAcceleratorCapabilities(const ::gpu::VideoDecodeAcceleratorCapabilities& v);
void EchoVideoEncodeAcceleratorSupportedProfile(
const ::gpu::VideoEncodeAcceleratorSupportedProfile& v, ::gpu::VideoEncodeAcceleratorSupportedProfile* out_pass);
::gpu::VideoEncodeAcceleratorSupportedProfile EchoVideoEncodeAcceleratorSupportedProfile(const ::gpu::VideoEncodeAcceleratorSupportedProfile& v);
void EchoGpuPreferences(
const ::gpu::GpuPreferences& prefs, ::gpu::GpuPreferences* out_pass);
::gpu::GpuPreferences EchoGpuPreferences(const ::gpu::GpuPreferences& prefs);
private:
TraitsTestService* const proxy_;
};
} // gpu::mojom
#endif // GPU_IPC_COMMON_TRAITS_TEST_SERVICE_TEST_MOJOM_TEST_UTILS_H_