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

Unified Diff: gpu/config/gpu_blacklist.h

Issue 2756793003: Move GPU blacklist and driver bug workaround list from json to data struct. (Closed)
Patch Set: Switch to use arraysize 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
Index: gpu/config/gpu_blacklist.h
diff --git a/gpu/config/gpu_blacklist.h b/gpu/config/gpu_blacklist.h
index 79535074992cbf1bae2fd5be8d474844ce70356a..2e7f57388f4958a022b612265725ffb5ef275da6 100644
--- a/gpu/config/gpu_blacklist.h
+++ b/gpu/config/gpu_blacklist.h
@@ -5,8 +5,6 @@
#ifndef GPU_CONFIG_GPU_BLACKLIST_H_
#define GPU_CONFIG_GPU_BLACKLIST_H_
-#include <string>
-
#include "base/macros.h"
#include "gpu/config/gpu_control_list.h"
@@ -17,9 +15,10 @@ class GPU_EXPORT GpuBlacklist : public GpuControlList {
~GpuBlacklist() override;
static GpuBlacklist* Create();
piman 2017/03/30 23:44:41 nit: if it's not too much work, could we return a
Zhenyao Mo 2017/03/31 19:14:14 Done.
+ static GpuBlacklist* Create(const GpuControlListData& data);
private:
- GpuBlacklist();
+ GpuBlacklist(const GpuControlListData& data);
piman 2017/03/30 23:44:41 nit: explicit
Zhenyao Mo 2017/03/31 19:14:14 Done.
DISALLOW_COPY_AND_ASSIGN(GpuBlacklist);
};

Powered by Google App Engine
This is Rietveld 408576698