diff options
Diffstat (limited to 'extensions/common/permissions/permissions_data.cc')
-rw-r--r-- | extensions/common/permissions/permissions_data.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/common/permissions/permissions_data.cc b/extensions/common/permissions/permissions_data.cc index 6eb8199..958c5e9 100644 --- a/extensions/common/permissions/permissions_data.cc +++ b/extensions/common/permissions/permissions_data.cc @@ -25,12 +25,6 @@ namespace { PermissionsData::PolicyDelegate* g_policy_delegate = NULL; -// Returns true if this extension id is from a trusted provider. -bool ShouldSkipPermissionWarnings(const std::string& extension_id) { - // See http://b/4946060 for more details. - return extension_id == std::string("nckgahadagoaajjgafhacjanaoiihapd"); -} - } // namespace PermissionsData::PermissionsData(const Extension* extension) @@ -72,6 +66,12 @@ bool PermissionsData::CanExecuteScriptEverywhere(const Extension* extension) { whitelist.end(); } +bool PermissionsData::ShouldSkipPermissionWarnings( + const std::string& extension_id) { + // See http://b/4946060 for more details. + return extension_id == std::string("nckgahadagoaajjgafhacjanaoiihapd"); +} + // static bool PermissionsData::IsRestrictedUrl(const GURL& document_url, const GURL& top_frame_url, |