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

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

Issue 956063002: Fix developer_private.js for closure compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | 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 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698