Chromium Code Reviews| 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_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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 353 bool SetDriverDateInfo(const std::string& date_op, | 353 bool SetDriverDateInfo(const std::string& date_op, |
| 354 const std::string& date_string, | 354 const std::string& date_string, |
| 355 const std::string& date_string2); | 355 const std::string& date_string2); |
| 356 | 356 |
| 357 bool SetGLVendorInfo(const std::string& vendor_op, | 357 bool SetGLVendorInfo(const std::string& vendor_op, |
| 358 const std::string& vendor_value); | 358 const std::string& vendor_value); |
| 359 | 359 |
| 360 bool SetGLRendererInfo(const std::string& renderer_op, | 360 bool SetGLRendererInfo(const std::string& renderer_op, |
| 361 const std::string& renderer_value); | 361 const std::string& renderer_value); |
| 362 | 362 |
| 363 bool SetCpuInfo(const std::string& cpu_op, | |
|
Zhenyao Mo
2012/10/01 19:04:33
SetCpuBrand is better
| |
| 364 const std::string& cpu_value); | |
|
Zhenyao Mo
2012/10/01 19:04:33
too many spaces
| |
| 365 | |
| 363 bool SetPerfGraphicsInfo(const std::string& op, | 366 bool SetPerfGraphicsInfo(const std::string& op, |
| 364 const std::string& float_string, | 367 const std::string& float_string, |
| 365 const std::string& float_string2); | 368 const std::string& float_string2); |
| 366 | 369 |
| 367 bool SetPerfGamingInfo(const std::string& op, | 370 bool SetPerfGamingInfo(const std::string& op, |
| 368 const std::string& float_string, | 371 const std::string& float_string, |
| 369 const std::string& float_string2); | 372 const std::string& float_string2); |
| 370 | 373 |
| 371 bool SetPerfOverallInfo(const std::string& op, | 374 bool SetPerfOverallInfo(const std::string& op, |
| 372 const std::string& float_string, | 375 const std::string& float_string, |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 402 scoped_ptr<OsInfo> os_info_; | 405 scoped_ptr<OsInfo> os_info_; |
| 403 uint32 vendor_id_; | 406 uint32 vendor_id_; |
| 404 std::vector<uint32> device_id_list_; | 407 std::vector<uint32> device_id_list_; |
| 405 MultiGpuStyle multi_gpu_style_; | 408 MultiGpuStyle multi_gpu_style_; |
| 406 MultiGpuCategory multi_gpu_category_; | 409 MultiGpuCategory multi_gpu_category_; |
| 407 scoped_ptr<StringInfo> driver_vendor_info_; | 410 scoped_ptr<StringInfo> driver_vendor_info_; |
| 408 scoped_ptr<VersionInfo> driver_version_info_; | 411 scoped_ptr<VersionInfo> driver_version_info_; |
| 409 scoped_ptr<VersionInfo> driver_date_info_; | 412 scoped_ptr<VersionInfo> driver_date_info_; |
| 410 scoped_ptr<StringInfo> gl_vendor_info_; | 413 scoped_ptr<StringInfo> gl_vendor_info_; |
| 411 scoped_ptr<StringInfo> gl_renderer_info_; | 414 scoped_ptr<StringInfo> gl_renderer_info_; |
| 415 scoped_ptr<StringInfo> cpu_info_; | |
|
Zhenyao Mo
2012/10/01 19:04:33
cpu_brand_
| |
| 412 scoped_ptr<FloatInfo> perf_graphics_info_; | 416 scoped_ptr<FloatInfo> perf_graphics_info_; |
| 413 scoped_ptr<FloatInfo> perf_gaming_info_; | 417 scoped_ptr<FloatInfo> perf_gaming_info_; |
| 414 scoped_ptr<FloatInfo> perf_overall_info_; | 418 scoped_ptr<FloatInfo> perf_overall_info_; |
| 415 scoped_ptr<MachineModelInfo> machine_model_info_; | 419 scoped_ptr<MachineModelInfo> machine_model_info_; |
| 416 scoped_ptr<IntInfo> gpu_count_info_; | 420 scoped_ptr<IntInfo> gpu_count_info_; |
| 417 Decision decision_; | 421 Decision decision_; |
| 418 std::vector<ScopedGpuBlacklistEntry> exceptions_; | 422 std::vector<ScopedGpuBlacklistEntry> exceptions_; |
| 419 bool contains_unknown_fields_; | 423 bool contains_unknown_fields_; |
| 420 bool contains_unknown_features_; | 424 bool contains_unknown_features_; |
| 421 }; | 425 }; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 463 bool contains_unknown_fields_; | 467 bool contains_unknown_fields_; |
| 464 | 468 |
| 465 std::string current_machine_model_name_; | 469 std::string current_machine_model_name_; |
| 466 scoped_ptr<Version> current_machine_model_version_; | 470 scoped_ptr<Version> current_machine_model_version_; |
| 467 | 471 |
| 468 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); | 472 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); |
| 469 }; | 473 }; |
| 470 | 474 |
| 471 #endif // CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ | 475 #endif // CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ |
| 472 | 476 |
| OLD | NEW |