Index: gpu/config/gpu_info_collector.h |
diff --git a/gpu/config/gpu_info_collector.h b/gpu/config/gpu_info_collector.h |
index 4758aec704bdb9bb51ba24266af47ef672f178a9..ad3ae95385309fd84ec9d5f93ffc979629acec11 100644 |
--- a/gpu/config/gpu_info_collector.h |
+++ b/gpu/config/gpu_info_collector.h |
@@ -12,26 +12,8 @@ |
namespace gpu { |
-enum GpuIDResult { |
- kGpuIDFailure, |
- kGpuIDSuccess, |
- kGpuIDNotSupported |
-}; |
- |
-// Result for the various Collect*Info* functions below. |
-// Fatal failures are for cases where we can't create a context at all or |
-// something, making the use of the GPU impossible. |
-// Non-fatal failures are for cases where we could gather most info, but maybe |
-// some is missing (e.g. unable to parse a version string or to detect the exact |
-// model). |
-enum CollectInfoResult { |
- kCollectInfoFatalFailure, |
- kCollectInfoNonFatalFailure, |
- kCollectInfoSuccess |
-}; |
- |
// Collect GPU vendor_id and device ID. |
-GPU_EXPORT GpuIDResult CollectGpuID(uint32* vendor_id, uint32* device_id); |
+GPU_EXPORT CollectInfoResult CollectGpuID(uint32* vendor_id, uint32* device_id); |
// Collects basic GPU info without creating a GL/DirectX context (and without |
// the danger of crashing), including vendor_id and device_id. |