#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#ifndef GPU_COMMAND_BUFFER_SERVICE_MOCKS_H_
#define GPU_COMMAND_BUFFER_SERVICE_MOCKS_H_
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <string_view>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "gpu/command_buffer/common/cmd_buffer_common.h"
#include "gpu/command_buffer/service/async_api_interface.h"
#include "gpu/command_buffer/service/decoder_client.h"
#include "gpu/command_buffer/service/isolation_key_provider.h"
#include "gpu/command_buffer/service/memory_tracking.h"
#include "gpu/command_buffer/service/program_cache.h"
#include "gpu/command_buffer/service/shader_translator.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace gpu {
class CommandBufferDirect;
class CommandBufferServiceBase;
class AsyncAPIMock : public AsyncAPIInterface { … };
class MockDecoderClient : public DecoderClient { … };
class MockIsolationKeyProvider : public IsolationKeyProvider { … };
namespace gles2 {
class MockShaderTranslator : public ShaderTranslatorInterface { … };
class MockProgramCache : public ProgramCache { … };
class MockMemoryTracker : public MemoryTracker { … };
}
}
#endif