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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.h

Issue 1708783002: Mustash: move content::GPUVideoMemoryUsageStats to gpu::VideoMemoryUsageStats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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/browser/gpu/gpu_process_host_ui_shim.h
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.h b/content/browser/gpu/gpu_process_host_ui_shim.h
index 4358b1c6825189e1a0f1bf3d532c3b54dbde00bd..c0661bf835cb089aa76d3f620a2f1e3b09470c9a 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.h
+++ b/content/browser/gpu/gpu_process_host_ui_shim.h
@@ -21,8 +21,8 @@
#include "base/threading/non_thread_safe.h"
#include "build/build_config.h"
#include "content/common/content_export.h"
-#include "content/public/common/gpu_memory_stats.h"
#include "gpu/config/gpu_info.h"
+#include "gpu/ipc/common/memory_stats.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
#include "ipc/message_router.h"
@@ -39,6 +39,10 @@ namespace IPC {
class Message;
}
+namespace gpu {
+struct VideoMemoryUsageStats;
+}
+
namespace content {
#if defined(OS_MACOSX)
struct AcceleratedSurfaceBuffersSwappedParams;
@@ -100,7 +104,7 @@ class GpuProcessHostUIShim : public IPC::Listener,
const AcceleratedSurfaceBuffersSwappedParams& params);
#endif
void OnVideoMemoryUsageStatsReceived(
- const GPUVideoMemoryUsageStats& video_memory_usage_stats);
+ const gpu::VideoMemoryUsageStats& video_memory_usage_stats);
void OnAddSubscription(int32_t process_id, unsigned int target);
void OnRemoveSubscription(int32_t process_id, unsigned int target);
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private_unittest.cc ('k') | content/browser/gpu/gpu_process_host_ui_shim.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698