| Index: chrome/browser/resources/plugins.js
|
| diff --git a/chrome/browser/resources/plugins.js b/chrome/browser/resources/plugins.js
|
| index 4787c5c84f67f4f30e86f324b972a78cd20bcd6c..3301f2f85250012690da1c48055551ba6bf3fe95 100644
|
| --- a/chrome/browser/resources/plugins.js
|
| +++ b/chrome/browser/resources/plugins.js
|
| @@ -242,6 +242,15 @@ function isPluginEnabled(plugin) {
|
| }
|
|
|
| /**
|
| + * @param {Object} plugin An object containing the information about a plugin.
|
| + * See returnPluginsData() for the format of this object.
|
| + * @return {boolean} Whether the plugin is fully trusted.
|
| + */
|
| +function isPluginTrusted(plugin) {
|
| + return plugin.trusted == true;
|
| +}
|
| +
|
| +/**
|
| * Helper to convert callback-based define() API to a promise-based API.
|
| * @param {!Array<string>} moduleNames
|
| * @return {!Promise}
|
|
|