diff options
Diffstat (limited to 'chrome/renderer/extensions/extension_process_bindings.h')
-rw-r--r-- | chrome/renderer/extensions/extension_process_bindings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/renderer/extensions/extension_process_bindings.h b/chrome/renderer/extensions/extension_process_bindings.h index 93c7d24..e95e737 100644 --- a/chrome/renderer/extensions/extension_process_bindings.h +++ b/chrome/renderer/extensions/extension_process_bindings.h @@ -50,6 +50,9 @@ class ExtensionProcessBindings { static void SetIncognitoEnabled(const std::string& extension_id, bool enabled); + // Checks whether incognito is enabled for a particular extension. + static bool HasIncognitoEnabled(const std::string& extension_id); + // Check if the extension in the currently running context has permission to // access the given extension function. Must be called with a valid V8 // context in scope. |