chore: update _api_features manifest requirements (#39412)

chore: update api_resources manifest requirements
This commit is contained in:
Shelley Vohr 2023-08-09 16:38:13 +02:00 committed by GitHub
parent a0effaf9b8
commit 70508b5273
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 5 deletions

View file

@ -4,6 +4,15 @@
"extension_types": ["extension"],
"contexts": ["blessed_extension"]
},
"tabs.executeScript": {
"max_manifest_version": 2
},
"tabs.insertCSS": {
"max_manifest_version": 2
},
"tabs.removeCSS": {
"max_manifest_version": 2
},
"extension": {
"channel": "stable",
"extension_types": ["extension"],
@ -14,7 +23,8 @@
"disallow_for_service_workers": true
},
"extension.getURL": {
"contexts": ["blessed_extension", "unblessed_extension", "content_script"]
"contexts": ["blessed_extension", "unblessed_extension", "content_script"],
"max_manifest_version": 2
},
"i18n": {
"channel": "stable",

View file

@ -1,4 +1,4 @@
// Copyright 2015 The Chromium Authors. All rights reserved.
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@ -15,9 +15,9 @@ namespace resourcesPrivate {
// chrome/browser/extensions/api/resources_private/resources_private_api.cc
// for instructions on adding a new component to this API.
//
// |component| : Internal chrome component to get strings for.
// |component| : Internal Chrome component to get strings for.
// |callback| : Called with a dictionary mapping names to strings.
static void getStrings(Component component,
[supportsPromises] static void getStrings(Component component,
GetStringsCallback callback);
};
};