Per conversations in the WECG [1], it's agreed that we should rename
permissions.addSiteAccessRequest and permissions.removeSiteAccessRequest
to permissions.addHostAccessRequest and
permissions.removeHostAccessRequest, since the "host" term is more
commonly used in other APIs and extension surfaces (such as
"host_permissions" in the manifest).
This CL renames the API function and corresponding C++ classes and
methods. Since the API was only released in M133 (which is still
pre-stable), this shouldn't be a breaking change for any published
extensions.
[1] https://github.com/w3c/webextensions/pull/529#issuecomment-2492042845
Fixed: 380291902
Change-Id: I38f118caba94526336ddbbfe89bea34ce42fd500
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6039497
Reviewed-by: Oliver Dunk <oliverdunk@chromium.org>
Commit-Queue: Devlin Cronin <rdevlin.cronin@chromium.org>
Reviewed-by: Kelvin Jiang <kelvinjiang@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1387925}