Commit 55c35d13 authored by cfredric's avatar cfredric Committed by Commit Bot

Instrument GPUAdapter.name for identifiability study.

Bug: 973801
Change-Id: I1f0b2fffc7a3b7ed153f6d23227795888bbc943c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2354150
Commit-Queue: Chris Fredrickson <cfredric@google.com>
Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Reviewed-by: default avatarCorentin Wallez <cwallez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#798449}
parent 3c2bfc5f
...@@ -2732,6 +2732,7 @@ enum WebFeature { ...@@ -2732,6 +2732,7 @@ enum WebFeature {
kBluetoothRemoteGATTCharacteristic_Uuid = 3402, kBluetoothRemoteGATTCharacteristic_Uuid = 3402,
kBluetoothRemoteGATTDescriptor_Uuid = 3403, kBluetoothRemoteGATTDescriptor_Uuid = 3403,
kBluetoothRemoteGATTService_Uuid = 3404, kBluetoothRemoteGATTService_Uuid = 3404,
kGPUAdapter_Name = 3405,
// Add new features immediately above this line. Don't change assigned // Add new features immediately above this line. Don't change assigned
// numbers of any item, and don't reuse removed slots. // numbers of any item, and don't reuse removed slots.
......
...@@ -13,7 +13,7 @@ enum GPUExtensionName { ...@@ -13,7 +13,7 @@ enum GPUExtensionName {
[ [
Exposed(Window WebGPU, Worker WebGPU) Exposed(Window WebGPU, Worker WebGPU)
] interface GPUAdapter { ] interface GPUAdapter {
readonly attribute DOMString name; [HighEntropy=Direct, MeasureAs=GPUAdapter_Name] readonly attribute DOMString name;
[CallWith=ScriptState, SameObject] readonly attribute FrozenArray<GPUExtensionName> extensions; [CallWith=ScriptState, SameObject] readonly attribute FrozenArray<GPUExtensionName> extensions;
[CallWith=ScriptState] Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {}); [CallWith=ScriptState] Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
......
...@@ -28752,6 +28752,7 @@ Called by update_use_counter_feature_enum.py.--> ...@@ -28752,6 +28752,7 @@ Called by update_use_counter_feature_enum.py.-->
<int value="3402" label="BluetoothRemoteGATTCharacteristic_Uuid"/> <int value="3402" label="BluetoothRemoteGATTCharacteristic_Uuid"/>
<int value="3403" label="BluetoothRemoteGATTDescriptor_Uuid"/> <int value="3403" label="BluetoothRemoteGATTDescriptor_Uuid"/>
<int value="3404" label="BluetoothRemoteGATTService_Uuid"/> <int value="3404" label="BluetoothRemoteGATTService_Uuid"/>
<int value="3405" label="GPUAdapter_Name"/>
</enum> </enum>
<enum name="FeaturePolicyAllowlistType"> <enum name="FeaturePolicyAllowlistType">
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment