Web API to read Chrome device attributes
To support the deprecation of Chrome App, we need to provide new web
APIs to replace the existing chrome.enterprise.deviceAttributes.
They are added into navigator.device.* namespace and only available to
trusted applications. (see go/web-api-navigator-device-dd)
PRD: go/pwa-api-devices
DD: go/pwa-api-devices-dd
Bug: 1132865
Change-Id: Ib01ec58c94843d70bebe1515ae0ffac7eb4f2272
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2505139
Commit-Queue: Anqing Zhao <[email protected]>
Reviewed-by: Sergey Poromov <[email protected]>
Reviewed-by: enne <[email protected]>
Reviewed-by: Anatoliy Potapchuk <[email protected]>
Reviewed-by: Daniel Cheng <[email protected]>
Cr-Commit-Position: refs/heads/master@{#845016}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 1786e59..4028125c 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -973,6 +973,12 @@
"Predicts the scroll amount after the vsync time to more closely match "
"when the frame is visible.";
+extern const char kEnableRestrictedWebApisName[] =
+ "Enable the restriced web APIs for high-trusted apps.";
+extern const char kEnableRestrictedWebApisDescription[] =
+ "Enable the restricted web APIs for dev trial. This will be replaced with "
+ "permission policies to control the capabilities afterwards.";
+
const char kEnableTabSearchFlagId[] = "enable-tab-search";
const char kEnableTabSearchName[] = "Enable Tab Search";
const char kEnableTabSearchDescription[] =