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

Unified Diff: content/public/browser/gpu_data_manager.h

Issue 2756793003: Move GPU blacklist and driver bug workaround list from json to data struct. (Closed)
Patch Set: pure rebase Created 3 years, 9 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/resources/gpu/info_view.js ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a90aaa7ad3b782c5ba6021a0d9d280f49a12f6dd..ff6f1d9224983f8debea96e2cccd044e657c1114 100644
--- a/content/public/browser/gpu_data_manager.h
+++ b/content/public/browser/gpu_data_manager.h
@@ -31,8 +31,8 @@ class GpuDataManager {
// Getter for the singleton.
CONTENT_EXPORT static GpuDataManager* GetInstance();
- virtual void InitializeForTesting(const std::string& gpu_blacklist_json,
- const gpu::GPUInfo& gpu_info) = 0;
+ // This is only called by extensions testing.
+ virtual void BlacklistWebGLForTesting() = 0;
virtual bool IsFeatureBlacklisted(int feature) const = 0;
virtual bool IsFeatureEnabled(int feature) const = 0;
« no previous file with comments | « content/browser/resources/gpu/info_view.js ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698