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

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

Issue 1010083008: [Extensions] Replace the developer_private.js extern with the autogenerated one (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 5 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 | « no previous file | third_party/closure_compiler/externs/developer_private.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 602e0614b6eeffa3c0ece81948c427b507bde754..20f7cb17985032b2f47c024f474130676d2ebb56 100644
--- a/chrome/common/extensions/api/developer_private.idl
+++ b/chrome/common/extensions/api/developer_private.idl
@@ -403,10 +403,10 @@ namespace developerPrivate {
// |includeDisabled| : include disabled items.
// |includeTerminated| : include terminated items.
// |callback| : Called with items info.
- // DEPRECATED: Prefer getExtensionsInfo.
- static void getItemsInfo(boolean includeDisabled,
- boolean includeTerminated,
- ItemsInfoCallback callback);
+ [deprecated="Use getExtensionsInfo"] static void getItemsInfo(
+ boolean includeDisabled,
+ boolean includeTerminated,
+ ItemsInfoCallback callback);
// Opens a permissions dialog.
// |extensionId| : The id of the extension to show permissions for.
@@ -475,15 +475,21 @@ namespace developerPrivate {
DeleteExtensionErrorsProperties properties,
optional VoidCallback callback);
- // Deprecated api methods, retained for compatability.
- [nocompile] static void allowIncognito(DOMString extensionId,
- boolean allow,
- optional VoidCallback callback);
- [nocompile] static void allowFileAccess(DOMString extensionId,
- boolean allow,
- optional VoidCallback callback);
- [nocompile] static void inspect(InspectOptions options,
+ [nocompile, deprecated="Use management.setEnabled"]
+ static void enable(DOMString id,
+ boolean enabled,
+ optional VoidCallback callback);
+ [nocompile, deprecated="Use updateExtensionConfiguration"]
+ static void allowIncognito(DOMString extensionId,
+ boolean allow,
+ optional VoidCallback callback);
+ [nocompile, deprecated="Use updateExtensionConfiguration"]
+ static void allowFileAccess(DOMString extensionId,
+ boolean allow,
optional VoidCallback callback);
+ [nocompile, deprecated="Use openDevTools"]
+ static void inspect(InspectOptions options,
+ optional VoidCallback callback);
};
interface Events {
« no previous file with comments | « no previous file | third_party/closure_compiler/externs/developer_private.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698