summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_service_impl.cc
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 20:42:06 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-12 20:42:06 +0000
commit8ddc6b7c44630c67acd9c6b5dceaa1e6cce67431 (patch)
tree6132eb484acd52716648fb444f6790d4934f8d7d /content/browser/plugin_service_impl.cc
parent46a20dedad3c121fa8368641d01962f20b21f79f (diff)
downloadchromium_src-8ddc6b7c44630c67acd9c6b5dceaa1e6cce67431.zip
chromium_src-8ddc6b7c44630c67acd9c6b5dceaa1e6cce67431.tar.gz
chromium_src-8ddc6b7c44630c67acd9c6b5dceaa1e6cce67431.tar.bz2
Pepper: Send dev/canary channel status to plugins.
As part of supporting "dev channel" methods in Pepper APIs, the plugin needs to know whether or not it's running in a channel that supports those methods. This patch plumbs that information through LoadPlugin so it's available by the time get_interface<>() would ever be called. TBR=piman BUG=325403 Review URL: https://codereview.chromium.org/104673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240398 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_service_impl.cc')
-rw-r--r--content/browser/plugin_service_impl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/plugin_service_impl.cc b/content/browser/plugin_service_impl.cc
index 74feede..cb0a7b4 100644
--- a/content/browser/plugin_service_impl.cc
+++ b/content/browser/plugin_service_impl.cc
@@ -841,4 +841,9 @@ bool PluginServiceImpl::IsPluginWindow(HWND window) {
}
#endif
+bool PluginServiceImpl::PpapiDevChannelSupported() {
+ return content::GetContentClient()->browser()->
+ IsPluginAllowedToUseDevChannelAPIs();
+}
+
} // namespace content