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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h

Issue 1827123002: Move content/common/gpu/client to gpu/ipc/client (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update 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
Index: gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h b/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
similarity index 80%
rename from content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h
rename to gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
index 1613c63134baa8391621f7bd2b7f792d3ee00d96..e93b61415f626bfd1e385455dd46f9349127d6b7 100644
--- a/content/common/gpu/client/gpu_memory_buffer_impl_surface_texture.h
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
@@ -2,20 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_SURFACE_TEXTURE_H_
-#define CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_SURFACE_TEXTURE_H_
+#ifndef GPU_IPC_CLIENT_GPU_MEMORY_BUFFER_IMPL_SURFACE_TEXTURE_H_
+#define GPU_IPC_CLIENT_GPU_MEMORY_BUFFER_IMPL_SURFACE_TEXTURE_H_
#include <android/native_window.h>
#include <stddef.h>
#include "base/macros.h"
-#include "content/common/content_export.h"
-#include "content/common/gpu/client/gpu_memory_buffer_impl.h"
+#include "gpu/gpu_export.h"
+#include "gpu/ipc/client/gpu_memory_buffer_impl.h"
-namespace content {
+namespace gpu {
// Implementation of GPU memory buffer based on SurfaceTextures.
-class CONTENT_EXPORT GpuMemoryBufferImplSurfaceTexture
+class GPU_EXPORT GpuMemoryBufferImplSurfaceTexture
: public GpuMemoryBufferImpl {
public:
~GpuMemoryBufferImplSurfaceTexture() override;
@@ -55,6 +55,6 @@ class CONTENT_EXPORT GpuMemoryBufferImplSurfaceTexture
DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImplSurfaceTexture);
};
-} // namespace content
+} // namespace gpu
-#endif // CONTENT_COMMON_GPU_CLIENT_GPU_MEMORY_BUFFER_IMPL_SURFACE_TEXTURE_H_
+#endif // GPU_IPC_CLIENT_GPU_MEMORY_BUFFER_IMPL_SURFACE_TEXTURE_H_

Powered by Google App Engine
This is Rietveld 408576698