Chromium Code Reviews| Index: content/common/gpu_host_messages.h |
| diff --git a/content/common/gpu_host_messages.h b/content/common/gpu_host_messages.h |
| index ba7379805f91763573408b3aa9346d34661385a1..a8dd0367d94b4f3d196d9e045d9225e7d4c6f1d5 100644 |
| --- a/content/common/gpu_host_messages.h |
| +++ b/content/common/gpu_host_messages.h |
| @@ -31,6 +31,10 @@ |
| #define IPC_MESSAGE_START GpuMsgStart |
| +IPC_ENUM_TRAITS_VALIDATE(gpu::GpuPreferences::VpxDecodeVendors, |
| + ((value >= gpu::GpuPreferences::VPX_VENDOR_NONE) && |
| + (value <= gpu::GpuPreferences::VPX_VENDOR_ALL))) |
|
nasko
2016/07/13 23:07:10
This is quite the range of possible values. Do we
kplum
2016/07/14 15:18:58
I agree with the intent of your feedback but inste
|
| + |
| IPC_STRUCT_TRAITS_BEGIN(gpu::GPUMemoryUmaStats) |
| IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_current) |
| IPC_STRUCT_TRAITS_MEMBER(bytes_allocated_max) |