Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: gpu/ipc/common/gpu_param_traits_macros.h

Issue 1809183002: gpu_messages.h => gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make win_clang_x64_dbg happy by making command_buffer_traits an alias to gpu component on compnet b… Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/common/gpu_param_traits.cc ('k') | gpu/ipc/common/gpu_stream_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/gpu_param_traits_macros.h
diff --git a/content/common/gpu/gpu_param_traits_macros.h b/gpu/ipc/common/gpu_param_traits_macros.h
similarity index 92%
rename from content/common/gpu/gpu_param_traits_macros.h
rename to gpu/ipc/common/gpu_param_traits_macros.h
index 4932e7d08c13ed37c4250f0aca3b352080121e98..52025c031bf57778d7ad9330e33c87b71b855cd6 100644
--- a/content/common/gpu/gpu_param_traits_macros.h
+++ b/gpu/ipc/common/gpu_param_traits_macros.h
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_GPU_GPU_PARAM_TRAITS_MACROS_H_
-#define CONTENT_COMMON_GPU_GPU_PARAM_TRAITS_MACROS_H_
+#ifndef GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_
+#define GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_
-#include "content/common/content_export.h"
-#include "content/common/gpu/gpu_stream_constants.h"
#include "gpu/command_buffer/common/constants.h"
#include "gpu/command_buffer/common/gpu_memory_allocation.h"
#include "gpu/config/gpu_info.h"
+#include "gpu/gpu_export.h"
+#include "gpu/ipc/common/gpu_stream_constants.h"
#include "ipc/ipc_message_macros.h"
#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gfx/ipc/gfx_param_traits.h"
@@ -18,7 +18,7 @@
#include "url/ipc/url_param_traits.h"
#undef IPC_MESSAGE_EXPORT
-#define IPC_MESSAGE_EXPORT CONTENT_EXPORT
+#define IPC_MESSAGE_EXPORT GPU_EXPORT
IPC_STRUCT_TRAITS_BEGIN(gpu::VideoDecodeAcceleratorSupportedProfile)
IPC_STRUCT_TRAITS_MEMBER(profile)
@@ -60,8 +60,7 @@ IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId)
IPC_STRUCT_TRAITS_END()
IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuPreference, gfx::GpuPreferenceLast)
-IPC_ENUM_TRAITS_MAX_VALUE(content::GpuStreamPriority,
- content::GpuStreamPriority::LAST)
+IPC_ENUM_TRAITS_MAX_VALUE(gpu::GpuStreamPriority, gpu::GpuStreamPriority::LAST)
IPC_ENUM_TRAITS_MAX_VALUE(gfx::SwapResult, gfx::SwapResult::SWAP_RESULT_LAST)
IPC_ENUM_TRAITS_MAX_VALUE(gpu::MemoryAllocation::PriorityCutoff,
gpu::MemoryAllocation::CUTOFF_LAST)
@@ -133,4 +132,4 @@ IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation)
IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible)
IPC_STRUCT_TRAITS_END()
-#endif // CONTENT_COMMON_GPU_GPU_PARAM_TRAITS_MACROS_H_
+#endif // GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_
« no previous file with comments | « gpu/ipc/common/gpu_param_traits.cc ('k') | gpu/ipc/common/gpu_stream_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698