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

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

Issue 1708783002: Mustash: move content::GPUVideoMemoryUsageStats to gpu::VideoMemoryUsageStats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix re-dep gpu_config => gpu_ipc_common Created 4 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
Index: content/common/gpu/gpu_memory_manager.h
diff --git a/content/common/gpu/gpu_memory_manager.h b/content/common/gpu/gpu_memory_manager.h
index 7de22e5aa786df6aeb494e84d5f79ff4269c8697..b83e220184b8962d969e4797cfb8ae301dfe7b76 100644
--- a/content/common/gpu/gpu_memory_manager.h
+++ b/content/common/gpu/gpu_memory_manager.h
@@ -16,10 +16,13 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "content/common/content_export.h"
-#include "content/public/common/gpu_memory_stats.h"
#include "gpu/command_buffer/common/gpu_memory_allocation.h"
#include "gpu/command_buffer/service/memory_tracking.h"
+namespace gpu {
+struct VideoMemoryUsageStats;
+}
+
namespace content {
class GpuChannelManager;
@@ -33,7 +36,7 @@ class CONTENT_EXPORT GpuMemoryManager :
// Retrieve GPU Resource consumption statistics for the task manager
void GetVideoMemoryUsageStats(
- content::GPUVideoMemoryUsageStats* video_memory_usage_stats) const;
+ gpu::VideoMemoryUsageStats* video_memory_usage_stats) const;
GpuMemoryTrackingGroup* CreateTrackingGroup(
base::ProcessId pid, gpu::gles2::MemoryTracker* memory_tracker);

Powered by Google App Engine
This is Rietveld 408576698