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

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

Issue 1085113002: [Extensions UI] Use developerPrivate API for repair, options, show path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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 53091a1bcd0723ca5a9bf32047656cc091f051ab..2dbf1dbfe47978039dec23d1f6e4be275aaae103 100644
--- a/third_party/closure_compiler/externs/developer_private.js
+++ b/third_party/closure_compiler/externs/developer_private.js
@@ -619,6 +619,30 @@ chrome.developerPrivate.openDevTools = function(properties, callback) {};
chrome.developerPrivate.deleteExtensionErrors = function(properties, callback) {};
/**
+ * Repairs the extension specified.
+ * @param {string} extensionId
+ * @param {function():void=} callback
+ * @see https://developer.chrome.com/extensions/developerPrivate#method-repairExtension
+ */
+chrome.developerPrivate.repairExtension = function(extensionId, callback) {};
+
+/**
+ * Shows the options page for the extension specified.
+ * @param {string} extensionId
+ * @param {function():void=} callback
+ * @see https://developer.chrome.com/extensions/developerPrivate#method-showOptions
+ */
+chrome.developerPrivate.showOptions = function(extensionId, callback) {};
+
+/**
+ * Shows the path of the extension specified.
+ * @param {string} extensionId
+ * @param {function():void=} callback
+ * @see https://developer.chrome.com/extensions/developerPrivate#method-showPath
+ */
+chrome.developerPrivate.showPath = function(extensionId, callback) {};
+
+/**
* @param {string} id
* @param {boolean} enabled
* @param {function():void=} callback
« 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