| Index: content/gpu/gpu_info_collector.h
|
| diff --git a/content/gpu/gpu_info_collector.h b/content/gpu/gpu_info_collector.h
|
| index b6b9bad9e67f117878264789084c0d3e75abf076..7977104216d5b01864fd04f2f152eebfeff46f93 100644
|
| --- a/content/gpu/gpu_info_collector.h
|
| +++ b/content/gpu/gpu_info_collector.h
|
| @@ -12,8 +12,14 @@
|
|
|
| namespace gpu_info_collector {
|
|
|
| +enum GpuIDResult {
|
| + kGpuIDFailure,
|
| + kGpuIDSuccess,
|
| + kGpuIDNotSupported
|
| +};
|
| +
|
| // Collect GPU vendor_id and device ID.
|
| -CONTENT_EXPORT bool CollectGpuID(uint32* vendor_id, uint32* device_id);
|
| +CONTENT_EXPORT GpuIDResult 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.
|
|
|