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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 8662008: Implement chrome.systemPrivate.getIncognitoModeAvailability extension API function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged with ToT Created 9 years 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/chrome_tests.gypi ('k') | chrome/common/extensions/extension_permission_set.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index a6c94fa2066079875c7e31a467e0469aa22434fb..42b64f707f69904b055272598cdea5545aa86284 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -9359,5 +9359,32 @@
]
}
]
+ },
+ {
+ "namespace": "systemPrivate",
+ "nodoc": true,
+ "types": [],
+ "functions": [
+ {
+ "name": "getIncognitoModeAvailability",
+ "type": "function",
+ "description": "Returns whether the incognito mode is enabled, disabled or forced",
+ "parameters": [
+ {
+ "name": "callback",
+ "type": "function",
+ "description": "Called with the result.",
+ "parameters": [
+ {
+ "name": "value",
+ "type": "string",
+ "enum": ["enabled", "disabled", "forced"],
+ "description": "Exposes whether the incognito mode is available to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito mode), 'forced' (all pages/sessions are forced into Incognito mode)."
+ }
+ ]
+ }
+ ]
+ }
+ ]
}
]
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/extension_permission_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698