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 c214d5f556876a943d5e8d35822ca62fa27dfa23..d63dd6be0142f5e8a6c6e00df71c91cc24d1cdde 100644 |
--- a/content/public/browser/gpu_data_manager.h |
+++ b/content/public/browser/gpu_data_manager.h |
@@ -104,6 +104,12 @@ class GpuDataManager { |
std::string* gl_renderer, |
std::string* gl_version) = 0; |
+ // Sets GPU device info. Allows content embedder to supply this info on |
+ // platforms where CollectBasicGraphicsInfo is unable to determine |
+ // vendor id or device id. |
+ virtual void SetGpuDeviceName(const std::string& vendor, |
+ const std::string& device) = 0; |
+ |
// Turn off all hardware acceleration. |
virtual void DisableHardwareAcceleration() = 0; |