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 34d2541d5ddd0f0060ef16ee9eeaca6a48f672a9..9306d46a4f0e8e5e2c1b2872dc7e1fa51c30fb28 100644 |
--- a/third_party/closure_compiler/externs/developer_private.js |
+++ b/third_party/closure_compiler/externs/developer_private.js |
@@ -4,7 +4,13 @@ |
/** @fileoverview Externs generated from namespace: developerPrivate */ |
-// Note: hand-modified to change Array to !Array in ItemInfo typedef. |
+// Note: hand-modified to change Array to !Array in ItemInfo typedef, and add |
+// typedef {string} for idl enums. |
+ |
+/** |
+ * @typedef {string} |
+ */ |
+var ItemType; |
/** |
* @typedef {{ |
@@ -69,6 +75,26 @@ var ItemInfo; |
var InspectOptions; |
/** |
+ * @typedef {string} |
+ */ |
+var PackStatus; |
+ |
+/** |
+ * @typedef {string} |
+ */ |
+var FileType; |
+ |
+/** |
+ * @typedef {string} |
+ */ |
+var SelectType; |
+ |
+/** |
+ * @typedef {string} |
+ */ |
+var EventType; |
+ |
+/** |
* @typedef {{ |
* message: string, |
* item_path: string, |
@@ -196,5 +222,19 @@ chrome.developerPrivate.packDirectory = function(path, private_key_path, flags, |
*/ |
chrome.developerPrivate.isProfileManaged = function(callback) {}; |
+/** |
+ * Reads and returns the contents of a file related to an extension which |
+ * caused an error. |
+ * @param {?} dict |
+ * @param {Function} callback |
+ */ |
+chrome.developerPrivate.requestFileSource = function(dict, callback) {}; |
+ |
+/** |
+ * Open the developer tools to focus on a particular error. |
+ * @param {?} dict |
+ */ |
+chrome.developerPrivate.openDevTools = function(dict) {}; |
+ |
/** @type {!ChromeEvent} */ |
chrome.developerPrivate.onItemStateChanged; |