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

Unified Diff: chrome/common/extensions/api/developer_private.idl

Issue 954943007: [Extensions] Make chrome://extensions use api functions for file access, reload (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
Index: chrome/common/extensions/api/developer_private.idl
diff --git a/chrome/common/extensions/api/developer_private.idl b/chrome/common/extensions/api/developer_private.idl
index 45899ea9fd9f8b29c2d2d35b0540500fd42c2bec..f19b80b18debadcbaceba4399ff9e65c0605dcb7 100644
--- a/chrome/common/extensions/api/developer_private.idl
+++ b/chrome/common/extensions/api/developer_private.idl
@@ -15,6 +15,10 @@ namespace developerPrivate {
theme
};
+ dictionary ReloadOptions {
+ boolean? failQuietly;
+ };
+
dictionary ItemInspectView {
// path to the inspect page.
DOMString path;
@@ -163,7 +167,9 @@ namespace developerPrivate {
optional VoidCallback callback);
// Reloads a given item with |itemId|.
- static void reload(DOMString itemId, optional VoidCallback callback);
+ static void reload(DOMString itemId,
+ optional ReloadOptions options,
+ optional VoidCallback callback);
// Enable / Disable a given item with id |itemId|.
static void enable(DOMString itemId,

Powered by Google App Engine
This is Rietveld 408576698