Index: chrome/browser/extensions/extensions_service.h |
diff --git a/chrome/browser/extensions/extensions_service.h b/chrome/browser/extensions/extensions_service.h |
index 213471c4e27a8f6088a72716c4c909726a5e7a4c..7cc2c9dccec5e373a161a553ef2a0150833ac1b6 100644 |
--- a/chrome/browser/extensions/extensions_service.h |
+++ b/chrome/browser/extensions/extensions_service.h |
@@ -181,6 +181,10 @@ class ExtensionsService |
bool IsIncognitoEnabled(const Extension* extension); |
void SetIsIncognitoEnabled(const Extension* extension, bool enabled); |
+ // Returns true if the given extension can see events and data from another |
+ // sub-profile (incognito to original profile, or vice versa). |
+ bool CanCrossIncognito(const Extension* extension); |
+ |
// Whether this extension can inject scripts into pages with file URLs. |
bool AllowFileAccess(const Extension* extension); |
void SetAllowFileAccess(const Extension* extension, bool allow); |