Commit 9fa5fa7e authored by Mostyn Bramley-Moore's avatar Mostyn Bramley-Moore Committed by Commit Bot

[jumbo] add some missing include guards to //gpu headers

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: Id8bad8fbcce92bb46a926a7b8fa4e357ad7c052c
Reviewed-on: https://chromium-review.googlesource.com/882321Reviewed-by: default avatarVictor Miura <vmiura@chromium.org>
Commit-Queue: Mostyn Bramley-Moore <mostynb@vewd.com>
Cr-Commit-Position: refs/heads/master@{#531876}
parent ae2e0b3d
......@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_COMMAND_BUFFER_CLIENT_COMMAND_BUFFER_DIRECT_LOCKED_H_
#define GPU_COMMAND_BUFFER_CLIENT_COMMAND_BUFFER_DIRECT_LOCKED_H_
#include "gpu/command_buffer/service/command_buffer_direct.h"
namespace gpu {
......@@ -50,3 +53,5 @@ class CommandBufferDirectLocked : public CommandBufferDirect {
};
} // namespace gpu
#endif // GPU_COMMAND_BUFFER_CLIENT_COMMAND_BUFFER_DIRECT_LOCKED_H_
......@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_COMMAND_BUFFER_COMMON_GL2_TYPES_H_
#define GPU_COMMAND_BUFFER_COMMON_GL2_TYPES_H_
#include <KHR/khrplatform.h>
// GL types are forward declared to avoid including the GL headers. The problem
......@@ -28,3 +31,5 @@ typedef khronos_ssize_t GLsizeiptr;
typedef struct __GLsync* GLsync;
typedef int64_t GLint64;
typedef uint64_t GLuint64;
#endif // GPU_COMMAND_BUFFER_COMMON_GL2_TYPES_H_
......@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_COMMAND_BUFFER_TESTS_TEXTURE_IMAGE_FACTORY_H_
#define GPU_COMMAND_BUFFER_TESTS_TEXTURE_IMAGE_FACTORY_H_
#include "gpu/command_buffer/service/image_factory.h"
namespace gpu {
......@@ -32,3 +35,5 @@ class TextureImageFactory : public gpu::ImageFactory {
};
} // namespace gpu
#endif // GPU_COMMAND_BUFFER_TESTS_TEXTURE_IMAGE_FACTORY_H_
......@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_IPC_CLIENT_GPU_CONTEXT_TESTS_H_
#define GPU_IPC_CLIENT_GPU_CONTEXT_TESTS_H_
// These tests are run twice:
// Once in a gpu test with an in-process command buffer.
// Once in a browsertest with an out-of-process command buffer and gpu-process.
......@@ -197,3 +200,5 @@ CONTEXT_TEST_F(GpuFenceTest, BasicGpuFenceTest) {
#endif // defined(OS_ANDROID)
}; // namespace
#endif // GPU_IPC_CLIENT_GPU_CONTEXT_TESTS_H_
......@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_IPC_SERVICE_GPU_CHANNEL_TEST_COMMON_H_
#define GPU_IPC_SERVICE_GPU_CHANNEL_TEST_COMMON_H_
#include <memory>
#include "base/memory/ref_counted.h"
......@@ -50,3 +53,5 @@ class GpuChannelTestCommon : public testing::Test {
};
} // namespace gpu
#endif // GPU_IPC_SERVICE_GPU_CHANNEL_TEST_COMMON_H_
......@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_VULKAN_TESTS_NATIVE_WINDOW_H_
#define GPU_VULKAN_TESTS_NATIVE_WINDOW_H_
#include "ui/gfx/native_widget_types.h"
namespace gfx {
......@@ -14,3 +17,5 @@ gfx::AcceleratedWidget CreateNativeWindow(const gfx::Rect& bounds);
void DestroyNativeWindow(gfx::AcceleratedWidget window);
} // namespace gpu
#endif // GPU_VULKAN_TESTS_NATIVE_WINDOW_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment