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

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: Addressed comments, fixed bug Created 9 years, 1 month 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/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 4ded7d2b45c4d86ed975dec35ac0b31ce808858f..b1a7ee1f88c1d86cb92d125ca6a6945a483bb437 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -1183,6 +1183,11 @@
"type": "integer",
"value": "-1",
"description": "The windowId value that represents the absence of a chrome browser window."
+ },
+ "incognitoModeAvailability": {
+ "$ref": "ChromeSetting",
+ "value": ["incognitoModeAvailability", {"type": "string", "enum": ["enabled", "disabled", "forced"]}],
+ "description": "Read-only property that 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)."
}
},
"functions": [

Powered by Google App Engine
This is Rietveld 408576698