OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ |
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
| 12 #include "base/compiler_specific.h" |
12 #include "base/file_path.h" | 13 #include "base/file_path.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
15 #include "base/observer_list_threadsafe.h" | 16 #include "base/observer_list_threadsafe.h" |
16 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
17 #include "base/values.h" | 18 #include "base/values.h" |
18 #include "content/public/browser/gpu_data_manager.h" | 19 #include "content/public/browser/gpu_data_manager.h" |
19 #include "content/public/common/gpu_info.h" | 20 #include "content/public/common/gpu_info.h" |
20 | 21 |
21 class CommandLine; | 22 class CommandLine; |
22 | 23 |
23 class CONTENT_EXPORT GpuDataManagerImpl | 24 class CONTENT_EXPORT GpuDataManagerImpl |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 102 |
102 FilePath swiftshader_path_; | 103 FilePath swiftshader_path_; |
103 | 104 |
104 // Current card force-blacklisted due to GPU crashes. | 105 // Current card force-blacklisted due to GPU crashes. |
105 bool card_blacklisted_; | 106 bool card_blacklisted_; |
106 | 107 |
107 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); | 108 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); |
108 }; | 109 }; |
109 | 110 |
110 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 111 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ |
OLD | NEW |