Index: extensions/common/permissions/permissions_data.h |
diff --git a/extensions/common/permissions/permissions_data.h b/extensions/common/permissions/permissions_data.h |
index ee1715df6c97f0e091bba99af83ea4119da08675..5c0652c5bb7c2ea6eeb660f784881fb03beadfc5 100644 |
--- a/extensions/common/permissions/permissions_data.h |
+++ b/extensions/common/permissions/permissions_data.h |
@@ -177,6 +177,10 @@ class PermissionsData { |
int tab_id, |
std::string* error); |
+ // Returns true if the user should be alerted to the fact that the given |
+ // |extension| is running a script. |
not at google - send to devlin
2014/05/08 20:47:09
shorter: Returns true if the user should be alerte
Devlin
2014/05/08 23:01:00
Yay for 20 characters less!
not at google - send to devlin
2014/05/08 23:33:19
Think of all the people that have to read 20 fewer
|
+ static bool RequiresActionForScriptExecution(const Extension* extension); |
+ |
// Parse the permissions of a given extension in the initialization process. |
bool ParsePermissions(Extension* extension, base::string16* error); |