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

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

Issue 2827323002: gpu:: Remove GpuDataManagerObserver::OnVideoMemoryUsageStatsUpdate(). (Closed)
Patch Set: . Created 3 years, 8 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/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698