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

Unified Diff: content/common/gpu/client/command_buffer_proxy.h

Issue 9340012: Move gpu client files to content_common, in content/common/gpu/client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unneeded enums Created 8 years, 10 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 | « no previous file | content/common/gpu/client/command_buffer_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/command_buffer_proxy.h
diff --git a/content/renderer/gpu/command_buffer_proxy.h b/content/common/gpu/client/command_buffer_proxy.h
similarity index 94%
rename from content/renderer/gpu/command_buffer_proxy.h
rename to content/common/gpu/client/command_buffer_proxy.h
index 16c857cf5b2764ce1a2f4c1443cbb9c756ebfdd4..315e84e6b4ff8a85e8d3d74bf7cee8151fc3b2c2 100644
--- a/content/renderer/gpu/command_buffer_proxy.h
+++ b/content/common/gpu/client/command_buffer_proxy.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_RENDERER_GPU_COMMAND_BUFFER_PROXY_H_
-#define CONTENT_RENDERER_GPU_COMMAND_BUFFER_PROXY_H_
+#ifndef CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_H_
+#define CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_H_
#pragma once
#if defined(ENABLE_GPU)
@@ -15,7 +15,7 @@
#include "base/memory/linked_ptr.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "content/renderer/gpu/gpu_video_decode_accelerator_host.h"
+#include "content/common/gpu/client/gpu_video_decode_accelerator_host.h"
#include "gpu/command_buffer/common/command_buffer.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_message.h"
@@ -92,7 +92,7 @@ class CommandBufferProxy : public gpu::CommandBuffer,
media::VideoDecodeAccelerator::Client* client);
// TODO(apatrick): this is a temporary optimization while skia is calling
- // RendererGLContext::MakeCurrent prior to every GL call. It saves returning 6
+ // ContentGLContext::MakeCurrent prior to every GL call. It saves returning 6
// ints redundantly when only the error is needed for the CommandBufferProxy
// implementation.
virtual gpu::error::Error GetLastError() OVERRIDE;
@@ -140,4 +140,4 @@ class CommandBufferProxy : public gpu::CommandBuffer,
#endif // ENABLE_GPU
-#endif // CONTENT_RENDERER_GPU_COMMAND_BUFFER_PROXY_H_
+#endif // CONTENT_COMMON_GPU_CLIENT_COMMAND_BUFFER_PROXY_H_
« no previous file with comments | « no previous file | content/common/gpu/client/command_buffer_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698