| 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 0b2390750141690516b8688f76706034349b1e2e..6c616cf2833ac2ffbe36368d3bc8b9f38e98b635 100644
|
| --- a/content/browser/gpu/gpu_data_manager_impl.h
|
| +++ b/content/browser/gpu/gpu_data_manager_impl.h
|
| @@ -75,7 +75,9 @@ class CONTENT_EXPORT GpuDataManagerImpl
|
| void RequestCompleteGpuInfoIfNeeded() override;
|
| bool IsEssentialGpuInfoAvailable() const override;
|
| bool IsCompleteGpuInfoAvailable() const override;
|
| - void RequestVideoMemoryUsageStatsUpdate() const override;
|
| + void RequestVideoMemoryUsageStatsUpdate(
|
| + const base::Callback<void(const gpu::VideoMemoryUsageStats& stats)>&
|
| + callback) const override;
|
| bool ShouldUseSwiftShader() const override;
|
| // TODO(kbr): the threading model for the GpuDataManagerObservers is
|
| // not well defined, and it's impossible for callers to correctly
|
| @@ -113,9 +115,6 @@ class CONTENT_EXPORT GpuDataManagerImpl
|
| // of GPU rasterization. In the future this will be used for more features.
|
| void UpdateGpuFeatureInfo(const gpu::GpuFeatureInfo& gpu_feature_info);
|
|
|
| - void UpdateVideoMemoryUsageStats(
|
| - const gpu::VideoMemoryUsageStats& video_memory_usage_stats);
|
| -
|
| // Insert disable-feature switches corresponding to preliminary gpu feature
|
| // flags into the renderer process command line.
|
| void AppendRendererCommandLine(base::CommandLine* command_line) const;
|
|
|