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

Unified Diff: gpu/ipc/command_buffer_proxy.h

Issue 9904005: PpapiCommandBufferProxy implements CommandBufferProxy. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed obsolete ENABLE_GPU def from CommandBufferProxy Created 8 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/gpu_ipc.gypi ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/command_buffer_proxy.h
diff --git a/content/common/gpu/client/command_buffer_proxy.h b/gpu/ipc/command_buffer_proxy.h
similarity index 96%
rename from content/common/gpu/client/command_buffer_proxy.h
rename to gpu/ipc/command_buffer_proxy.h
index 661a75f436c473bfc552b22452978f6d8a2ae615..ac25c0802a17738d9c3253c149613bcda09ba5eb 100644
--- a/content/common/gpu/client/command_buffer_proxy.h
+++ b/gpu/ipc/command_buffer_proxy.h
@@ -6,8 +6,6 @@
#define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_H_
#pragma once
-#if defined(ENABLE_GPU)
-
#include <string>
#include "base/callback.h"
@@ -21,7 +19,7 @@ struct GpuMemoryAllocationForRenderer;
// Client side proxy that forwards messages synchronously to a
// CommandBufferStub.
-class CommandBufferProxy : public gpu::CommandBuffer {
+class GPU_EXPORT CommandBufferProxy : public gpu::CommandBuffer {
public:
typedef base::Callback<void(
const std::string& msg, int id)> GpuConsoleMessageCallback;
@@ -77,6 +75,4 @@ class CommandBufferProxy : public gpu::CommandBuffer {
DISALLOW_COPY_AND_ASSIGN(CommandBufferProxy);
};
-#endif // ENABLE_GPU
-
#endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_H_
« no previous file with comments | « gpu/gpu_ipc.gypi ('k') | ppapi/proxy/ppapi_command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698