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

Unified Diff: content/browser/gpu/gpu_data_manager_impl_private.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/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 502861832a6cac795da3a413b58b658f6f230146..bccff1667b6650e2c9384fb432c9917bd0ee4fe3 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.h
+++ b/content/browser/gpu/gpu_data_manager_impl_private.h
@@ -39,9 +39,8 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
public:
static GpuDataManagerImplPrivate* Create(GpuDataManagerImpl* owner);
- void InitializeForTesting(
- const std::string& gpu_blacklist_json,
- const gpu::GPUInfo& gpu_info);
+ void InitializeForTesting(const gpu::GpuControlListData& gpu_blacklist_data,
+ const gpu::GPUInfo& gpu_info);
bool IsFeatureBlacklisted(int feature) const;
bool IsFeatureEnabled(int feature) const;
bool IsWebGLEnabled() const;
@@ -193,8 +192,8 @@ class CONTENT_EXPORT GpuDataManagerImplPrivate {
explicit GpuDataManagerImplPrivate(GpuDataManagerImpl* owner);
- void InitializeImpl(const std::string& gpu_blacklist_json,
- const std::string& gpu_driver_bug_list_json,
+ void InitializeImpl(const gpu::GpuControlListData& gpu_blacklist_data,
+ const gpu::GpuControlListData& gpu_driver_bug_list_data,
const gpu::GPUInfo& gpu_info);
void RunPostInitTasks();
« 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