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

Unified Diff: chrome/browser/extensions/extension_util.h

Issue 331743004: Always enable enhanced bookmarks external component extensions for incognito mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: rebase Created 6 years, 6 months 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/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);

Powered by Google App Engine
This is Rietveld 408576698