| Index: extensions/common/permissions/permissions_data.h
|
| diff --git a/extensions/common/permissions/permissions_data.h b/extensions/common/permissions/permissions_data.h
|
| index 40c6946c47ebb915097e19b2b649ccaffeb1017f..dd74d28dfa74c35e2dc0ee51747642124cd429ae 100644
|
| --- a/extensions/common/permissions/permissions_data.h
|
| +++ b/extensions/common/permissions/permissions_data.h
|
| @@ -76,6 +76,10 @@ class PermissionsData {
|
| // whitelist of extensions that can script all pages.
|
| static bool CanExecuteScriptEverywhere(const Extension* extension);
|
|
|
| + // Returns true if we should skip the permisisons warning for the extension
|
| + // with the given |extension_id|.
|
| + static bool ShouldSkipPermissionWarnings(const std::string& extension_id);
|
| +
|
| // Returns true if the given |url| is restricted for the given |extension|,
|
| // as is commonly the case for chrome:// urls.
|
| // NOTE: You probably want to use CanAccessPage().
|
|
|