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..8ccfda47c393d3b0886878614615d4dddce8b475 100644 |
--- a/chrome/browser/extensions/extension_util.h |
+++ b/chrome/browser/extensions/extension_util.h |
@@ -76,6 +76,10 @@ void SetAllowedScriptingOnAllUrls(const std::string& extension_id, |
content::BrowserContext* context, |
bool allowed); |
+// Returns true if the --scripts-require-action flag would possibly affect |
+// the given |extension|. |
+bool ScriptsMayRequireActionForExtension(const Extension* extension); |
+ |
// Returns true if |extension_id| can be launched (possibly only after being |
// enabled). |
bool IsAppLaunchable(const std::string& extension_id, |