diff options
author | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-03 19:13:26 +0000 |
---|---|---|
committer | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-03 19:13:26 +0000 |
commit | 9a83ea0929d9d68ce175ce1ac968f6ebcd91152d (patch) | |
tree | 56a91e44f9afca7aa9ff31ede73db256b6fff7c3 /chrome/common/extensions/permissions/chrome_scheme_hosts.h | |
parent | e2bc92bfd8863ee4d9293d6711a516dade843742 (diff) | |
download | chromium_src-9a83ea0929d9d68ce175ce1ac968f6ebcd91152d.zip chromium_src-9a83ea0929d9d68ce175ce1ac968f6ebcd91152d.tar.gz chromium_src-9a83ea0929d9d68ce175ce1ac968f6ebcd91152d.tar.bz2 |
Refactor PermissionSet to move chrome-specific host checks to ChromeExtensionsClient.
Combine GetChromeSchemeHosts and GetDistinctHostsForDisplay logic for special permission messages for chrome://favicon into GetSpecialHostPermissionWarnings.
BUG=298586
Review URL: https://codereview.chromium.org/25713006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226812 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/permissions/chrome_scheme_hosts.h')
-rw-r--r-- | chrome/common/extensions/permissions/chrome_scheme_hosts.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/common/extensions/permissions/chrome_scheme_hosts.h b/chrome/common/extensions/permissions/chrome_scheme_hosts.h index 8d2a6dd..4ac81622 100644 --- a/chrome/common/extensions/permissions/chrome_scheme_hosts.h +++ b/chrome/common/extensions/permissions/chrome_scheme_hosts.h @@ -5,8 +5,6 @@ #ifndef CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_SCHEME_HOSTS_H_ #define CHROME_COMMON_EXTENSIONS_PERMISSIONS_CHROME_SCHEME_HOSTS_H_ -#include "extensions/common/permissions/permission_message.h" - // Chrome-specific special case handling for permissions on hosts in // the chrome:// scheme. namespace extensions { @@ -15,9 +13,6 @@ class APIPermissionSet; class Extension; class URLPatternSet; -PermissionMessages GetChromeSchemePermissionWarnings( - const URLPatternSet& hosts); - URLPatternSet GetPermittedChromeSchemeHosts( const Extension* extension, const APIPermissionSet& permissions); |