| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BLACKLIST_H_ | 5 #ifndef CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ |
| 6 #define CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ | 6 #define CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "content/common/content_export.h" |
| 17 #include "content/common/gpu/gpu_feature_flags.h" | 18 #include "content/common/gpu/gpu_feature_flags.h" |
| 18 | 19 |
| 19 class Version; | 20 class Version; |
| 20 struct GPUInfo; | 21 struct GPUInfo; |
| 21 | 22 |
| 22 namespace base { | 23 namespace base { |
| 23 class DictionaryValue; | 24 class DictionaryValue; |
| 24 } | 25 } |
| 25 | 26 |
| 26 class GpuBlacklist { | 27 class CONTENT_EXPORT GpuBlacklist { |
| 27 public: | 28 public: |
| 28 enum OsType { | 29 enum OsType { |
| 29 kOsLinux, | 30 kOsLinux, |
| 30 kOsMacosx, | 31 kOsMacosx, |
| 31 kOsWin, | 32 kOsWin, |
| 32 kOsChromeOS, | 33 kOsChromeOS, |
| 33 kOsAny, | 34 kOsAny, |
| 34 kOsUnknown | 35 kOsUnknown |
| 35 }; | 36 }; |
| 36 | 37 |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 std::vector<ScopedGpuBlacklistEntry> active_entries_; | 331 std::vector<ScopedGpuBlacklistEntry> active_entries_; |
| 331 | 332 |
| 332 uint32 max_entry_id_; | 333 uint32 max_entry_id_; |
| 333 | 334 |
| 334 bool contains_unknown_fields_; | 335 bool contains_unknown_fields_; |
| 335 | 336 |
| 336 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); | 337 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); |
| 337 }; | 338 }; |
| 338 | 339 |
| 339 #endif // CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ | 340 #endif // CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ |
| OLD | NEW |