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

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

Issue 979453002: [Extensions] Make chrome://extensions use developerPrivate for unpacked loading (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments 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 af5123496ec6f595422d756ac8acc453a4642493..0d61886ebd28e569a167469621e41728217ec018 100644
--- a/chrome/common/extensions/api/developer_private.idl
+++ b/chrome/common/extensions/api/developer_private.idl
@@ -78,7 +78,13 @@ namespace developerPrivate {
dictionary ReloadOptions {
// If false, an alert dialog will show in the event of a reload error.
// Defaults to false.
- boolean failQuietly;
+ boolean? failQuietly;
+ };
+
+ dictionary LoadUnpackedOptions {
+ // If false, an alert dialog will show in the event of a reload error.
+ // Defaults to false.
+ boolean? failQuietly;
};
enum PackStatus {
@@ -247,7 +253,9 @@ namespace developerPrivate {
optional VoidCallback callback);
// Loads a user-selected unpacked item.
- static void loadUnpacked(optional VoidCallback callback);
+ // |options| : Additional configuration parameters.
+ static void loadUnpacked(optional LoadUnpackedOptions options,
+ optional VoidCallback callback);
// Loads an extension / app.
// |directory| : The directory to load the extension from.

Powered by Google App Engine
This is Rietveld 408576698