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

Unified Diff: gpu/ipc/service/stream_texture_android.h

Issue 1845563005: Refactor content/common/gpu into gpu/ipc/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn libs defs 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/service/stream_texture_android.h
diff --git a/content/common/gpu/stream_texture_android.h b/gpu/ipc/service/stream_texture_android.h
similarity index 90%
rename from content/common/gpu/stream_texture_android.h
rename to gpu/ipc/service/stream_texture_android.h
index 8852965df333f68c86897da3d05e91e8984455e2..264ac37f20d908617a618fe847a679a45d1d9dc5 100644
--- a/content/common/gpu/stream_texture_android.h
+++ b/gpu/ipc/service/stream_texture_android.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_
-#define CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_
+#ifndef GPU_IPC_SERVICE_STREAM_TEXTURE_ANDROID_H_
+#define GPU_IPC_SERVICE_STREAM_TEXTURE_ANDROID_H_
#include <stdint.h>
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
-#include "content/common/gpu/gpu_command_buffer_stub.h"
#include "gpu/command_buffer/service/gl_stream_texture_image.h"
+#include "gpu/ipc/service/gpu_command_buffer_stub.h"
#include "ipc/ipc_listener.h"
#include "ui/gl/android/surface_texture.h"
#include "ui/gl/gl_image.h"
@@ -23,9 +23,9 @@ namespace gfx {
class Size;
}
-namespace content {
+namespace gpu {
-class StreamTexture : public gpu::gles2::GLStreamTextureImage,
+class StreamTexture : public gles2::GLStreamTextureImage,
public IPC::Listener,
public GpuCommandBufferStub::DestructionObserver {
public:
@@ -106,6 +106,6 @@ class StreamTexture : public gpu::gles2::GLStreamTextureImage,
DISALLOW_COPY_AND_ASSIGN(StreamTexture);
};
-} // namespace content
+} // namespace gpu
-#endif // CONTENT_COMMON_GPU_STREAM_TEXTURE_ANDROID_H_
+#endif // GPU_IPC_SERVICE_STREAM_TEXTURE_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698