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

Unified Diff: gpu/ipc/client/gpu_channel_host.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
« no previous file with comments | « gpu/ipc/client/command_buffer_proxy_impl.cc ('k') | gpu/ipc/client/gpu_channel_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/client/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/gpu/ipc/client/gpu_channel_host.h
similarity index 95%
rename from content/common/gpu/client/gpu_channel_host.h
rename to gpu/ipc/client/gpu_channel_host.h
index ab879de36987d35582842dc47753f1531f75f93a..be04133199c625ca10e9f3d691070f547252672a 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/gpu/ipc/client/gpu_channel_host.h
@@ -2,8 +2,8 @@
// 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_CHANNEL_HOST_H_
-#define CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_
+#ifndef GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_
+#define GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_
#include <stddef.h>
#include <stdint.h>
@@ -19,8 +19,8 @@
#include "base/memory/weak_ptr.h"
#include "base/process/process.h"
#include "base/synchronization/lock.h"
-#include "content/common/content_export.h"
#include "gpu/config/gpu_info.h"
+#include "gpu/gpu_export.h"
#include "gpu/ipc/common/gpu_stream_constants.h"
#include "gpu/ipc/common/surface_handle.h"
#include "ipc/ipc_channel_handle.h"
@@ -46,11 +46,11 @@ namespace gpu {
class GpuMemoryBufferManager;
}
-namespace content {
+namespace gpu {
class CommandBufferProxyImpl;
class GpuChannelHost;
-class CONTENT_EXPORT GpuChannelHostFactory {
+class GPU_EXPORT GpuChannelHostFactory {
public:
virtual ~GpuChannelHostFactory() {}
@@ -64,8 +64,9 @@ class CONTENT_EXPORT GpuChannelHostFactory {
// On the GPU process side there's a corresponding GpuChannel.
// Every method can be called on any thread with a message loop, except for the
// IO thread.
-class GpuChannelHost : public IPC::Sender,
- public base::RefCountedThreadSafe<GpuChannelHost> {
+class GPU_EXPORT GpuChannelHost
+ : public IPC::Sender,
+ public base::RefCountedThreadSafe<GpuChannelHost> {
public:
// Must be called on the main thread (as defined by the factory).
static scoped_refptr<GpuChannelHost> Create(
@@ -294,6 +295,6 @@ class GpuChannelHost : public IPC::Sender,
DISALLOW_COPY_AND_ASSIGN(GpuChannelHost);
};
-} // namespace content
+} // namespace gpu
-#endif // CONTENT_COMMON_GPU_CLIENT_GPU_CHANNEL_HOST_H_
+#endif // GPU_IPC_CLIENT_GPU_CHANNEL_HOST_H_
« no previous file with comments | « gpu/ipc/client/command_buffer_proxy_impl.cc ('k') | gpu/ipc/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698