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

Unified Diff: content/common/gpu/gpu_memory_manager.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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 | « content/common/gpu/gpu_memory_allocation.h ('k') | content/common/gpu/gpu_memory_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_manager.h
===================================================================
--- content/common/gpu/gpu_memory_manager.h (revision 163290)
+++ content/common/gpu/gpu_memory_manager.h (working copy)
@@ -19,20 +19,24 @@
#include "content/public/common/gpu_memory_stats.h"
#include "ui/gfx/size.h"
+namespace content {
class GpuCommandBufferStubBase;
-class GpuMemoryTrackingGroup;
+}
#if defined(COMPILER_GCC)
namespace BASE_HASH_NAMESPACE {
template<>
-struct hash<GpuCommandBufferStubBase*> {
- size_t operator()(GpuCommandBufferStubBase* ptr) const {
+struct hash<content::GpuCommandBufferStubBase*> {
+ size_t operator()(content::GpuCommandBufferStubBase* ptr) const {
return hash<size_t>()(reinterpret_cast<size_t>(ptr));
}
};
} // namespace BASE_HASH_NAMESPACE
#endif // COMPILER
+namespace content {
+class GpuMemoryTrackingGroup;
+
class CONTENT_EXPORT GpuMemoryManagerClient {
public:
virtual ~GpuMemoryManagerClient() {}
@@ -176,6 +180,8 @@
DISALLOW_COPY_AND_ASSIGN(GpuMemoryManager);
};
+} // namespace content
+
#endif
#endif // CONTENT_COMMON_GPU_GPU_MEMORY_MANAGER_H_
« no previous file with comments | « content/common/gpu/gpu_memory_allocation.h ('k') | content/common/gpu/gpu_memory_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698