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

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: Made destructor virtual 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 6c583344d6baabdaead4db818ccb82eab0037067..e2b1d83b5838e856adc7ed536ba3c9c91b11ad96 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -9149,5 +9149,18 @@
]
}
]
+ },
+ {
+ "namespace": "systemPrivate",
+ "nodoc": true,
+ "types": [],
+ "functions": [],
+ "properties": {
+ "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)."
+ }
+ }
}
]

Powered by Google App Engine
This is Rietveld 408576698