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

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

Issue 2767173002: [MD Extensions] Respond with a load error when loading unpacked fails (Closed)
Patch Set: . Created 3 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 | « chrome/common/extensions/api/developer_private.idl ('k') | 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 101dd4f4798236d86815ddd5e3b9b00296d52b6a..934e912a81f57723ece2a16ca9e62722339db510 100644
--- a/third_party/closure_compiler/externs/developer_private.js
+++ b/third_party/closure_compiler/externs/developer_private.js
@@ -1,4 +1,4 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
+// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -415,7 +415,8 @@ chrome.developerPrivate.ReloadOptions;
/**
* @typedef {{
- * failQuietly: (boolean|undefined)
+ * failQuietly: (boolean|undefined),
+ * populateError: (boolean|undefined)
* }}
* @see https://developer.chrome.com/extensions/developerPrivate#type-LoadUnpackedOptions
*/
@@ -498,6 +499,26 @@ chrome.developerPrivate.EventData;
/**
* @typedef {{
+ * beforeHighlight: string,
+ * highlight: string,
+ * afterHighlight: string
+ * }}
+ * @see https://developer.chrome.com/extensions/developerPrivate#type-ErrorFileSource
+ */
+chrome.developerPrivate.ErrorFileSource;
+
+/**
+ * @typedef {{
+ * error: string,
+ * path: string,
+ * source: (!chrome.developerPrivate.ErrorFileSource|undefined)
+ * }}
+ * @see https://developer.chrome.com/extensions/developerPrivate#type-LoadError
+ */
+chrome.developerPrivate.LoadError;
+
+/**
+ * @typedef {{
* extensionId: string,
* pathSuffix: string,
* message: string,
@@ -632,7 +653,8 @@ chrome.developerPrivate.updateExtensionConfiguration = function(update, callback
* Loads a user-selected unpacked item.
* @param {!chrome.developerPrivate.LoadUnpackedOptions=} options Additional
* configuration parameters.
- * @param {function():void=} callback
+ * @param {function((!chrome.developerPrivate.LoadError|undefined)):void=}
+ * callback
* @see https://developer.chrome.com/extensions/developerPrivate#method-loadUnpacked
*/
chrome.developerPrivate.loadUnpacked = function(options, callback) {};
« no previous file with comments | « chrome/common/extensions/api/developer_private.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698