Index: content/browser/gpu/gpu_data_manager_impl_private.h |
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.h b/content/browser/gpu/gpu_data_manager_impl_private.h |
index 3d041593fe835e2872d9358bd75d97faccf1f557..89a58fad8c9c09851649c9633a02346e7b071d0c 100644 |
--- a/content/browser/gpu/gpu_data_manager_impl_private.h |
+++ b/content/browser/gpu/gpu_data_manager_impl_private.h |
@@ -50,7 +50,9 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { |
void RequestCompleteGpuInfoIfNeeded(); |
bool IsEssentialGpuInfoAvailable() const; |
bool IsCompleteGpuInfoAvailable() const; |
- void RequestVideoMemoryUsageStatsUpdate() const; |
+ void RequestVideoMemoryUsageStatsUpdate( |
+ const base::Callback<void(const gpu::VideoMemoryUsageStats& stats)>& |
+ callback) const; |
bool ShouldUseSwiftShader() const; |
void AddObserver(GpuDataManagerObserver* observer); |
void RemoveObserver(GpuDataManagerObserver* observer); |
@@ -69,9 +71,6 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate { |
void UpdateGpuInfo(const gpu::GPUInfo& gpu_info); |
void UpdateGpuFeatureInfo(const gpu::GpuFeatureInfo& gpu_feature_info); |
- void UpdateVideoMemoryUsageStats( |
- const gpu::VideoMemoryUsageStats& video_memory_usage_stats); |
- |
void AppendRendererCommandLine(base::CommandLine* command_line) const; |
void AppendGpuCommandLine(base::CommandLine* command_line, |