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

Side by Side 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, 8 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 unified diff | Download patch
« no previous file with comments | « gpu/config/BUILD.gn ('k') | gpu/config/gpu_blacklist.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_CONFIG_GPU_BLACKLIST_H_ 5 #ifndef GPU_CONFIG_GPU_BLACKLIST_H_
6 #define GPU_CONFIG_GPU_BLACKLIST_H_ 6 #define GPU_CONFIG_GPU_BLACKLIST_H_
7 7
8 #include <string> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "gpu/config/gpu_control_list.h" 11 #include "gpu/config/gpu_control_list.h"
12 12
13 namespace gpu { 13 namespace gpu {
14 14
15 class GPU_EXPORT GpuBlacklist : public GpuControlList { 15 class GPU_EXPORT GpuBlacklist : public GpuControlList {
16 public: 16 public:
17 ~GpuBlacklist() override; 17 ~GpuBlacklist() override;
18 18
19 static GpuBlacklist* Create(); 19 static std::unique_ptr<GpuBlacklist> Create();
20 static std::unique_ptr<GpuBlacklist> Create(const GpuControlListData& data);
20 21
21 private: 22 private:
22 GpuBlacklist(); 23 explicit GpuBlacklist(const GpuControlListData& data);
23 24
24 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); 25 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist);
25 }; 26 };
26 27
27 } // namespace gpu 28 } // namespace gpu
28 29
29 #endif // GPU_CONFIG_GPU_BLACKLIST_H_ 30 #endif // GPU_CONFIG_GPU_BLACKLIST_H_
OLDNEW
« 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