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

Unified Diff: content/public/browser/gpu_data_manager_observer.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
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | content/public/common/gpu_memory_stats.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/gpu_data_manager_observer.h
diff --git a/content/public/browser/gpu_data_manager_observer.h b/content/public/browser/gpu_data_manager_observer.h
index 2f36feb63e330bfb569ec6d096cbfbddbb346b8b..64a6b9e17edcc1b2378588111e3c9ec0e2656cc5 100644
--- a/content/public/browser/gpu_data_manager_observer.h
+++ b/content/public/browser/gpu_data_manager_observer.h
@@ -7,11 +7,14 @@
#include "base/process/kill.h"
#include "content/common/content_export.h"
-#include "content/public/common/gpu_memory_stats.h"
#include "content/public/common/three_d_api_types.h"
class GURL;
+namespace gpu {
+struct VideoMemoryUsageStats;
+}
+
namespace content {
// Observers can register themselves via GpuDataManager::AddObserver, and
@@ -23,7 +26,7 @@ class CONTENT_EXPORT GpuDataManagerObserver {
// Called for any observers whenever there is a GPU video memory update.
virtual void OnVideoMemoryUsageStatsUpdate(
- const GPUVideoMemoryUsageStats& video_memory_usage_stats) {}
+ const gpu::VideoMemoryUsageStats& video_memory_usage_stats) {}
// Indicates that client 3D APIs (Pepper 3D, WebGL) were just blocked on the
// given page, specifically because the GPU was reset recently.
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | content/public/common/gpu_memory_stats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698