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

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

Issue 12317036: Add API in developerPrivate to allow/ disallow incognito mode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 7 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
« no previous file with comments | « chrome/browser/resources/apps_debugger/main.html ('k') | no next file » | 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 658111428e7715714675a539c6bf3ae32fc0852b..ec6084e37b09d546d6bb7214d84d0c65eb3fb756 100644
--- a/chrome/common/extensions/api/developer_private.idl
+++ b/chrome/common/extensions/api/developer_private.idl
@@ -98,6 +98,7 @@ namespace developerPrivate {
PackStatus status;
};
+ callback VoidCallback = void ();
callback BooleanCallback = void (boolean result);
callback ItemsInfoCallback = void (ItemInfo[] result);
callback GetStringsCallback = void (object result);
@@ -139,6 +140,11 @@ namespace developerPrivate {
boolean enable,
optional VoidCallback callback);
+ // Allow / Disallow item with |item_id| in incognito mode.
+ static void allowIncognito(DOMString item_id,
+ boolean allow,
+ VoidCallback callback);
+
// Load a user selected unpacked item
static void loadUnpacked(optional VoidCallback callback);
« no previous file with comments | « chrome/browser/resources/apps_debugger/main.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698