Index: content/browser/gpu/gpu_data_manager_impl.h |
diff --git a/content/browser/gpu/gpu_data_manager_impl.h b/content/browser/gpu/gpu_data_manager_impl.h |
index 7104ed0d95190eacd2dbcd4d50dd6f100f436613..4c3c23848ea16e1d025d1b6ff558fc8941245c52 100644 |
--- a/content/browser/gpu/gpu_data_manager_impl.h |
+++ b/content/browser/gpu/gpu_data_manager_impl.h |
@@ -17,6 +17,7 @@ |
#include "base/values.h" |
#include "content/public/browser/gpu_data_manager.h" |
#include "content/public/common/gpu_info.h" |
+#include "content/public/common/gpu_memory_stats.h" |
class CommandLine; |
@@ -33,6 +34,7 @@ class CONTENT_EXPORT GpuDataManagerImpl |
virtual bool GpuAccessAllowed() OVERRIDE; |
virtual void RequestCompleteGpuInfoIfNeeded() OVERRIDE; |
virtual bool IsCompleteGPUInfoAvailable() const OVERRIDE; |
+ virtual void RequestVideoMemoryUsageStatsUpdate() OVERRIDE; |
virtual bool ShouldUseSoftwareRendering() OVERRIDE; |
virtual void RegisterSwiftShaderPath(const FilePath& path) OVERRIDE; |
virtual const base::ListValue& GetLogMessages() const OVERRIDE; |
@@ -43,6 +45,9 @@ class CONTENT_EXPORT GpuDataManagerImpl |
// Only update if the current GPUInfo is not finalized. |
void UpdateGpuInfo(const content::GPUInfo& gpu_info); |
+ void UpdateVideoMemoryUsageStats( |
+ const content::GPUVideoMemoryUsageStats& video_memory_usage_stats); |
+ |
void AddLogMessage(Value* msg); |
// Insert disable-feature switches corresponding to preliminary gpu feature |