[DevTools] Move DispatchOnDevToolsFrontend to embedder.
[chromium-blink-merge.git] / gpu / config / gpu_driver_bug_list.h
bloba4bd3bb02b91978aff2ff04e9f7b67948a53acb3
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
3 // found in the LICENSE file.
5 #ifndef GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_
6 #define GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_
8 #include <set>
9 #include <string>
11 #include "base/command_line.h"
12 #include "gpu/config/gpu_control_list.h"
13 #include "gpu/config/gpu_driver_bug_workaround_type.h"
14 #include "gpu/gpu_export.h"
16 namespace gpu {
18 class GPU_EXPORT GpuDriverBugList : public GpuControlList {
19 public:
20 virtual ~GpuDriverBugList();
22 static GpuDriverBugList* Create();
24 // Append |workarounds| with these passed in through the
25 // |command_line|.
26 static void AppendWorkaroundsFromCommandLine(
27 std::set<int>* workarounds, const CommandLine& command_line);
29 private:
30 GpuDriverBugList();
32 DISALLOW_COPY_AND_ASSIGN(GpuDriverBugList);
35 } // namespace gpu
37 #endif // GPU_CONFIG_GPU_DRIVER_BUG_LIST_H_