Chromium Code Reviews| Index: chrome/browser/extensions/extension_util.h |
| diff --git a/chrome/browser/extensions/extension_util.h b/chrome/browser/extensions/extension_util.h |
| index 452206e441ff68d62429329384d2b0fd298cc115..afad28a1b178d1dfd4b56e4ce4113f2154e9f219 100644 |
| --- a/chrome/browser/extensions/extension_util.h |
| +++ b/chrome/browser/extensions/extension_util.h |
| @@ -29,6 +29,10 @@ struct ExtensionInfo; |
| namespace util { |
| +// Returns true if |extension_id| should be enabled by default in incognito |
| +// windows. |
| +bool EnableIncognitoByDefault(const Extension* extension); |
|
not at google - send to devlin
2014/06/18 23:49:20
rather than making this a separate function I was
Mike Wittman
2014/06/19 00:21:49
Done.
|
| + |
| // Returns true if |extension_id| can run in an incognito window. |
| bool IsIncognitoEnabled(const std::string& extension_id, |
| content::BrowserContext* context); |