summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/chrome_extensions_client.h
diff options
context:
space:
mode:
authoryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-03 19:13:26 +0000
committeryoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-03 19:13:26 +0000
commit9a83ea0929d9d68ce175ce1ac968f6ebcd91152d (patch)
tree56a91e44f9afca7aa9ff31ede73db256b6fff7c3 /chrome/common/extensions/chrome_extensions_client.h
parente2bc92bfd8863ee4d9293d6711a516dade843742 (diff)
downloadchromium_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/chrome_extensions_client.h')
-rw-r--r--chrome/common/extensions/chrome_extensions_client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/extensions/chrome_extensions_client.h b/chrome/common/extensions/chrome_extensions_client.h
index a74a890..4f14a9c 100644
--- a/chrome/common/extensions/chrome_extensions_client.h
+++ b/chrome/common/extensions/chrome_extensions_client.h
@@ -25,6 +25,10 @@ class ChromeExtensionsClient : public ExtensionsClient {
virtual void RegisterManifestHandlers() const OVERRIDE;
virtual FeatureProvider* GetFeatureProviderByName(const std::string& name)
const OVERRIDE;
+ virtual void FilterHostPermissions(
+ const URLPatternSet& hosts,
+ URLPatternSet* new_hosts,
+ std::set<PermissionMessage>* messages) const OVERRIDE;
// Get the LazyInstance for ChromeExtensionsClient.
static ChromeExtensionsClient* GetInstance();