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

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

Issue 997183005: [Extensions] Add a developerPrivate.updateExtensionConfiguration function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 75b8556eaccd6d7c0142e7c9ed54dd6f2cde00bb..042fe91fa94447925a2514b7e050ac0b9b5aba0b 100644
--- a/third_party/closure_compiler/externs/developer_private.js
+++ b/third_party/closure_compiler/externs/developer_private.js
@@ -270,6 +270,18 @@ var InspectOptions;
/**
* @typedef {{
+ * extensionId: string,
+ * fileAccess: (boolean|undefined),
+ * incognitoAccess: (boolean|undefined),
+ * errorCollection: (boolean|undefined),
+ * runOnAllUrls: (boolean|undefined),
+ * showActionButton: (boolean|undefined)
+ * }}
+ */
+var ExtensionConfigurationUpdate;
+
+/**
+ * @typedef {{
* failQuietly: (boolean|undefined)
* }}
*/
@@ -449,6 +461,13 @@ chrome.developerPrivate.allowFileAccess = function(extensionId, allow, callback)
chrome.developerPrivate.reload = function(extensionId, options, callback) {};
/**
+ * Modifies an extension's current configuration.
+ * @param {ExtensionConfigurationUpdate} update The parameters for updating the extension's configuration. Any properties omitted from |update| will not be changed.
+ * @param {Function=} callback
+ */
+chrome.developerPrivate.updateExtensionConfiguration = function(update, callback) {};
+
+/**
* Enables / Disables a given extension.
* @param {string} extensionId The id of the extension to enable/disable.
* @param {boolean} enable Whether the extension should be enabled.
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698