Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: third_party/closure_compiler/externs/developer_private.js

Issue 1051273002: Update chrome://extensions for supervised users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: devlin review Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/closure_compiler/externs/developer_private.js
diff --git a/third_party/closure_compiler/externs/developer_private.js b/third_party/closure_compiler/externs/developer_private.js
index d6194858c8c31f250b47d002aae715b471fb3a13..0f8eef50e3871ad92cdd721e38d10615851120ee 100644
--- a/third_party/closure_compiler/externs/developer_private.js
+++ b/third_party/closure_compiler/externs/developer_private.js
@@ -217,9 +217,27 @@ var HomePage;
var ExtensionView;
/**
+ * @enum {string}
+ */
+chrome.developerPrivate.ControlledBy = {
+ POLICY: 'POLICY',
+ CHILD_CUSTODIAN: 'CHILD_CUSTODIAN',
+ SUPERVISED_USER_CUSTODIAN: 'SUPERVISED_USER_CUSTODIAN',
+};
+
+/**
+ * @typedef {{
+ * by: !chrome.developerPrivate.ControlledBy,
+ * text: string
+ * }}
+ */
+var ControlledInfo;
+
+/**
* @typedef {{
* actionButtonHidden: boolean,
* blacklistText: (string|undefined),
+ * controlledInfo: (ControlledInfo|undefined),
* dependentExtensions: !Array<string>,
* description: string,
* disableReasons: DisableReasons,
@@ -229,7 +247,6 @@ var ExtensionView;
* iconUrl: string,
* id: string,
* incognitoAccess: AccessModifier,
- * installedByCustodian: boolean,
* installWarnings: !Array<string>,
* launchUrl: (string|undefined),
* location: !chrome.developerPrivate.Location,
@@ -240,7 +257,6 @@ var ExtensionView;
* offlineEnabled: boolean,
* optionsPage: (OptionsPage|undefined),
* path: (string|undefined),
- * policyText: (string|undefined),
* prettifiedPath: (string|undefined),
* runOnAllUrls: AccessModifier,
* runtimeErrors: !Array<RuntimeError>,
@@ -616,7 +632,8 @@ chrome.developerPrivate.openDevTools = function(properties, callback) {};
/**
* Delete reported extension erors.
- * @param {DeleteExtensionErrorsProperties} properties
+ * @param {DeleteExtensionErrorsProperties} properties The properties specifying
Marc Treib 2015/05/20 11:22:41 These descriptions were added by the closure compi
Devlin 2015/05/20 15:41:33 Someone (most likely me) probably updated the doc,
Marc Treib 2015/05/20 16:51:45 Acknowledged.
+ * the errors to remove.
* @param {function():void=} callback
* @see https://developer.chrome.com/extensions/developerPrivate#method-deleteExtensionErrors
*/
@@ -624,7 +641,7 @@ chrome.developerPrivate.deleteExtensionErrors = function(properties, callback) {
/**
* Repairs the extension specified.
- * @param {string} extensionId
+ * @param {string} extensionId The id of the extension to repair.
* @param {function():void=} callback
* @see https://developer.chrome.com/extensions/developerPrivate#method-repairExtension
*/
@@ -632,7 +649,8 @@ chrome.developerPrivate.repairExtension = function(extensionId, callback) {};
/**
* Shows the options page for the extension specified.
- * @param {string} extensionId
+ * @param {string} extensionId The id of the extension to show the options page
+ * for.
* @param {function():void=} callback
* @see https://developer.chrome.com/extensions/developerPrivate#method-showOptions
*/
@@ -640,7 +658,7 @@ chrome.developerPrivate.showOptions = function(extensionId, callback) {};
/**
* Shows the path of the extension specified.
- * @param {string} extensionId
+ * @param {string} extensionId The id of the extension to show the path for.
* @param {function():void=} callback
* @see https://developer.chrome.com/extensions/developerPrivate#method-showPath
*/

Powered by Google App Engine
This is Rietveld 408576698