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

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: 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
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..aa1c310af4e265cbd8551972f19e7d3f15725263 100644
--- a/chrome/common/extensions/api/developer_private.idl
+++ b/chrome/common/extensions/api/developer_private.idl
@@ -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 {

Powered by Google App Engine
This is Rietveld 408576698