summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_service_impl.cc
diff options
context:
space:
mode:
authorhamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 07:51:42 +0000
committerhamaji@chromium.org <hamaji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-20 07:51:42 +0000
commitaec5ed535e9588a85246b049c36e0d83b119387d (patch)
tree0222c0c04092525090bb90af0006a6994de0c336 /content/browser/plugin_service_impl.cc
parent2c1cb79c1edabde4d65676dce382adef7acb5713 (diff)
downloadchromium_src-aec5ed535e9588a85246b049c36e0d83b119387d.zip
chromium_src-aec5ed535e9588a85246b049c36e0d83b119387d.tar.gz
chromium_src-aec5ed535e9588a85246b049c36e0d83b119387d.tar.bz2
Pepper: Whitelist dev channel APIs for some apps.
Some applications need access to dev channel APIs before they will become stable. As written, this change only performs whitelisting for NaCl apps; I don't think we have any need for enabling this in the non-NaCl case. I need to find a good way to test this. BUG=383937 R=dmichael@chromium.org, jln@chromium.org, piman@chromium.org Review URL: https://codereview.chromium.org/338523007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_service_impl.cc')
-rw-r--r--content/browser/plugin_service_impl.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/browser/plugin_service_impl.cc b/content/browser/plugin_service_impl.cc
index 0d285fd..a2c3170 100644
--- a/content/browser/plugin_service_impl.cc
+++ b/content/browser/plugin_service_impl.cc
@@ -852,9 +852,11 @@ bool PluginServiceImpl::IsPluginWindow(HWND window) {
}
#endif
-bool PluginServiceImpl::PpapiDevChannelSupported() {
+bool PluginServiceImpl::PpapiDevChannelSupported(
+ BrowserContext* browser_context,
+ const GURL& document_url) {
return content::GetContentClient()->browser()->
- IsPluginAllowedToUseDevChannelAPIs();
+ IsPluginAllowedToUseDevChannelAPIs(browser_context, document_url);
}
} // namespace content