Chromium Code Reviews| 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 c16f22c41ca0a043792e4c19236b8addbeae5f78..29ffb48deda2e8f000a3bac4c59785de2581652f 100644 |
| --- a/chrome/common/extensions/api/developer_private.idl |
| +++ b/chrome/common/extensions/api/developer_private.idl |
| @@ -60,6 +60,8 @@ namespace developerPrivate { |
| DOMString? homepage_url; |
| DOMString? update_url; |
| InstallWarning[] install_warnings; |
| + any[] manifest_errors; |
| + any[] runtime_errors; |
| boolean offline_enabled; |
| // All views of the current extension. |
| @@ -97,7 +99,8 @@ namespace developerPrivate { |
| // New window / view opened. |
| VIEW_REGISTERED, |
| // window / view closed. |
| - VIEW_UNREGISTERED |
| + VIEW_UNREGISTERED, |
| + ERROR_ADDED |
| }; |
| dictionary PackDirectoryResponse { |
| @@ -126,11 +129,11 @@ namespace developerPrivate { |
| callback VoidCallback = void (); |
| callback BooleanCallback = void (boolean result); |
| callback ItemsInfoCallback = void (ItemInfo[] result); |
| - callback GetStringsCallback = void (object result); |
| callback GetProjectsInfoCallback = void (ProjectInfo[] result); |
| callback PathCallback = void (DOMString path); |
| callback PackCallback = void (PackDirectoryResponse response); |
| callback VoidCallback = void(); |
| + callback AnyCallback = void (any result); |
| interface Functions { |
| // Runs auto update for extensions and apps immediately. |
| @@ -195,13 +198,11 @@ namespace developerPrivate { |
| long flags, |
| PackCallback callback); |
| - // Gets localized translated strings for apps_debugger. It returns the |
| - // strings as a dictionary mapping from string identifier to the |
| - // translated string to use in the apps_debugger app UI. |
| - static void getStrings(GetStringsCallback callback); |
| - |
| // Returns true if the profile is managed. |
| static void isProfileManaged(BooleanCallback callback); |
| + |
| + static void requestFileSource(any dict, AnyCallback callback); |
| + static void openDevTools(any dict); |
|
Finnur
2014/02/11 13:11:28
Document.
Devlin
2014/02/11 18:41:16
Whoops! Done.
|
| }; |
| interface Events { |