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: gpu/config/gpu_blacklist.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 | « gpu/config/BUILD.gn ('k') | gpu/config/gpu_blacklist.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_blacklist.h
diff --git a/gpu/config/gpu_blacklist.h b/gpu/config/gpu_blacklist.h
index 79535074992cbf1bae2fd5be8d474844ce70356a..a04e1bdbbbbdc335db1273cd7af6f0259abf5d3a 100644
--- a/gpu/config/gpu_blacklist.h
+++ b/gpu/config/gpu_blacklist.h
@@ -5,7 +5,7 @@
#ifndef GPU_CONFIG_GPU_BLACKLIST_H_
#define GPU_CONFIG_GPU_BLACKLIST_H_
-#include <string>
+#include <memory>
#include "base/macros.h"
#include "gpu/config/gpu_control_list.h"
@@ -16,10 +16,11 @@ class GPU_EXPORT GpuBlacklist : public GpuControlList {
public:
~GpuBlacklist() override;
- static GpuBlacklist* Create();
+ static std::unique_ptr<GpuBlacklist> Create();
+ static std::unique_ptr<GpuBlacklist> Create(const GpuControlListData& data);
private:
- GpuBlacklist();
+ explicit GpuBlacklist(const GpuControlListData& data);
DISALLOW_COPY_AND_ASSIGN(GpuBlacklist);
};
« no previous file with comments | « gpu/config/BUILD.gn ('k') | gpu/config/gpu_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698