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)." |
+ } |
+ ] |
+ } |
+ ] |
+ } |
+ ] |
} |
] |