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 CHROME_BROWSER_GPU_BLACKLIST_H_ | 5 #ifndef CHROME_BROWSER_GPU_BLACKLIST_H_ |
6 #define CHROME_BROWSER_GPU_BLACKLIST_H_ | 6 #define CHROME_BROWSER_GPU_BLACKLIST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 }; | 273 }; |
274 | 274 |
275 enum MultiGpuCategory { | 275 enum MultiGpuCategory { |
276 kMultiGpuCategoryPrimary, | 276 kMultiGpuCategoryPrimary, |
277 kMultiGpuCategorySecondary, | 277 kMultiGpuCategorySecondary, |
278 kMultiGpuCategoryAny, | 278 kMultiGpuCategoryAny, |
279 kMultiGpuCategoryNone | 279 kMultiGpuCategoryNone |
280 }; | 280 }; |
281 | 281 |
282 GpuBlacklistEntry(); | 282 GpuBlacklistEntry(); |
283 ~GpuBlacklistEntry() { } | 283 ~GpuBlacklistEntry(); |
284 | 284 |
285 bool SetId(uint32 id); | 285 bool SetId(uint32 id); |
286 | 286 |
287 void SetDisabled(bool disabled); | 287 void SetDisabled(bool disabled); |
288 | 288 |
289 bool SetOsInfo(const std::string& os, | 289 bool SetOsInfo(const std::string& os, |
290 const std::string& version_op, | 290 const std::string& version_op, |
291 const std::string& version_string, | 291 const std::string& version_string, |
292 const std::string& version_string2); | 292 const std::string& version_string2); |
293 | 293 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 std::vector<ScopedGpuBlacklistEntry> active_entries_; | 405 std::vector<ScopedGpuBlacklistEntry> active_entries_; |
406 | 406 |
407 uint32 max_entry_id_; | 407 uint32 max_entry_id_; |
408 | 408 |
409 bool contains_unknown_fields_; | 409 bool contains_unknown_fields_; |
410 | 410 |
411 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); | 411 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); |
412 }; | 412 }; |
413 | 413 |
414 #endif // CHROME_BROWSER_GPU_BLACKLIST_H_ | 414 #endif // CHROME_BROWSER_GPU_BLACKLIST_H_ |
OLD | NEW |