diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 00:02:16 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-06 00:02:16 +0000 |
commit | 60eca4eb056d421943eba9b87d6590985565c2fb (patch) | |
tree | 653086542564cdb19099cd3cf2d6baa89cd1b025 /content/browser/plugin_service_impl.cc | |
parent | 24835e9056711da23091ce0116e7ca41d1bdf279 (diff) | |
download | chromium_src-60eca4eb056d421943eba9b87d6590985565c2fb.zip chromium_src-60eca4eb056d421943eba9b87d6590985565c2fb.tar.gz chromium_src-60eca4eb056d421943eba9b87d6590985565c2fb.tar.bz2 |
Move more of the plugin code in the renderer to use RenderFrame instead of RenderView.
This is part of the work of making ContentRendererClient's OverrideCreatePlugin and CreatePluginReplacement take only a RenderFrame. I'm still not there yet, which is why their signatures haven't been trimmed.
BUG=304341
R=fsamuel@chromium.org, nasko@chromium.org
Review URL: https://codereview.chromium.org/107183002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239075 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_service_impl.cc')
-rw-r--r-- | content/browser/plugin_service_impl.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/content/browser/plugin_service_impl.cc b/content/browser/plugin_service_impl.cc index 96216c1..b0153d9 100644 --- a/content/browser/plugin_service_impl.cc +++ b/content/browser/plugin_service_impl.cc @@ -367,7 +367,7 @@ PpapiPluginProcessHost* PluginServiceImpl::FindOrStartPpapiBrokerProcess( void PluginServiceImpl::OpenChannelToNpapiPlugin( int render_process_id, - int render_view_id, + int render_frame_id, const GURL& url, const GURL& page_url, const std::string& mime_type, @@ -379,7 +379,7 @@ void PluginServiceImpl::OpenChannelToNpapiPlugin( // Make sure plugins are loaded if necessary. PluginServiceFilterParams params = { render_process_id, - render_view_id, + render_frame_id, page_url, client->GetResourceContext() }; @@ -430,14 +430,14 @@ void PluginServiceImpl::ForwardGetAllowedPluginForOpenChannelToPlugin( const std::string& mime_type, PluginProcessHost::Client* client, const std::vector<WebPluginInfo>&) { - GetAllowedPluginForOpenChannelToPlugin(params.render_process_id, - params.render_view_id, url, params.page_url, mime_type, client, - params.resource_context); + GetAllowedPluginForOpenChannelToPlugin( + params.render_process_id, params.render_frame_id, url, params.page_url, + mime_type, client, params.resource_context); } void PluginServiceImpl::GetAllowedPluginForOpenChannelToPlugin( int render_process_id, - int render_view_id, + int render_frame_id, const GURL& url, const GURL& page_url, const std::string& mime_type, @@ -446,7 +446,7 @@ void PluginServiceImpl::GetAllowedPluginForOpenChannelToPlugin( WebPluginInfo info; bool allow_wildcard = true; bool found = GetPluginInfo( - render_process_id, render_view_id, resource_context, + render_process_id, render_frame_id, resource_context, url, page_url, mime_type, allow_wildcard, NULL, &info, NULL); base::FilePath plugin_path; @@ -498,7 +498,7 @@ bool PluginServiceImpl::GetPluginInfoArray( } bool PluginServiceImpl::GetPluginInfo(int render_process_id, - int render_view_id, + int render_frame_id, ResourceContext* context, const GURL& url, const GURL& page_url, @@ -516,7 +516,7 @@ bool PluginServiceImpl::GetPluginInfo(int render_process_id, for (size_t i = 0; i < plugins.size(); ++i) { if (!filter_ || filter_->IsPluginAvailable(render_process_id, - render_view_id, + render_frame_id, context, url, page_url, |