Skip to content

Commit d86f70b

Browse files
author
Jakub Kulhan
committed
autoupdated protocol.json & generated files
1 parent 09424ec commit d86f70b

4 files changed

Lines changed: 42 additions & 2 deletions

File tree

gen-src/ChromeDevtoolsProtocol/Model/BackgroundService/ServiceNameEnum.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ final class ServiceNameEnum
1313
{
1414
const BACKGROUND_FETCH = 'backgroundFetch';
1515
const BACKGROUND_SYNC = 'backgroundSync';
16+
const PUSH_MESSAGING = 'pushMessaging';
17+
const NOTIFICATIONS = 'notifications';
1618
}

gen-src/ChromeDevtoolsProtocol/Model/SystemInfo/GPUDevice.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@ final class GPUDevice implements \JsonSerializable
3939
*/
4040
public $deviceString;
4141

42+
/**
43+
* String description of the GPU driver vendor.
44+
*
45+
* @var string
46+
*/
47+
public $driverVendor;
48+
49+
/**
50+
* String description of the GPU driver version.
51+
*
52+
* @var string
53+
*/
54+
public $driverVersion;
55+
4256

4357
public static function fromJson($data)
4458
{
@@ -55,6 +69,12 @@ public static function fromJson($data)
5569
if (isset($data->deviceString)) {
5670
$instance->deviceString = (string)$data->deviceString;
5771
}
72+
if (isset($data->driverVendor)) {
73+
$instance->driverVendor = (string)$data->driverVendor;
74+
}
75+
if (isset($data->driverVersion)) {
76+
$instance->driverVersion = (string)$data->driverVersion;
77+
}
5878
return $instance;
5979
}
6080

@@ -74,6 +94,12 @@ public function jsonSerialize()
7494
if ($this->deviceString !== null) {
7595
$data->deviceString = $this->deviceString;
7696
}
97+
if ($this->driverVendor !== null) {
98+
$data->driverVendor = $this->driverVendor;
99+
}
100+
if ($this->driverVersion !== null) {
101+
$data->driverVersion = $this->driverVersion;
102+
}
77103
return $data;
78104
}
79105
}

protocol.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,9 @@
983983
"type": "string",
984984
"enum": [
985985
"backgroundFetch",
986-
"backgroundSync"
986+
"backgroundSync",
987+
"pushMessaging",
988+
"notifications"
987989
]
988990
},
989991
{
@@ -16917,6 +16919,16 @@
1691716919
"name": "deviceString",
1691816920
"description": "String description of the GPU device, if the PCI ID is not available.",
1691916921
"type": "string"
16922+
},
16923+
{
16924+
"name": "driverVendor",
16925+
"description": "String description of the GPU driver vendor.",
16926+
"type": "string"
16927+
},
16928+
{
16929+
"name": "driverVersion",
16930+
"description": "String description of the GPU driver version.",
16931+
"type": "string"
1692016932
}
1692116933
]
1692216934
},

protocol.json.md5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3a9dad035e06f723b67e454fa1c25861 protocol.json
1+
5b7ded6b8d5451f2568c6deb29d0b533 protocol.json

0 commit comments

Comments
 (0)