Index: content/public/browser/gpu_data_manager.h |
diff --git a/content/public/browser/gpu_data_manager.h b/content/public/browser/gpu_data_manager.h |
index 7ffc9f18402a86cc082738bac939854dc394476f..90beac47ff711c6bd69b539bcdd81314a83552a8 100644 |
--- a/content/public/browser/gpu_data_manager.h |
+++ b/content/public/browser/gpu_data_manager.h |
@@ -57,9 +57,14 @@ class GpuDataManager { |
// contains a description of the reason why GPU access is blocked. |
virtual bool GpuAccessAllowed(std::string* reason) const = 0; |
- // Requests complete GPUinfo if it has not already been requested |
+ // Requests complete GPU info if it has not already been requested |
virtual void RequestCompleteGpuInfoIfNeeded() = 0; |
+ // Check if basic and context GPU info have been collected. |
+ virtual bool IsEssentialGpuInfoAvailable() const = 0; |
Evan Stade
2014/09/03 21:47:58
\n
Zhenyao Mo
2014/09/03 21:56:10
Done.
|
+ // On Windows, besides basic and context GPU info, it also checks if |
+ // DxDiagnostics have been collected. |
+ // On other platforms, it's the same as IsEsentialGpuInfoAvailable(). |
virtual bool IsCompleteGpuInfoAvailable() const = 0; |
// Requests that the GPU process report its current video memory usage stats, |