Index: content/child/npapi/webplugin_delegate_impl.cc |
=================================================================== |
--- content/child/npapi/webplugin_delegate_impl.cc (revision 222265) |
+++ content/child/npapi/webplugin_delegate_impl.cc (working copy) |
@@ -23,6 +23,7 @@ |
namespace content { |
WebPluginDelegateImpl* WebPluginDelegateImpl::Create( |
+ WebPlugin* plugin, |
const base::FilePath& filename, |
const std::string& mime_type) { |
scoped_refptr<PluginLib> plugin_lib(PluginLib::CreatePluginLib(filename)); |
@@ -34,7 +35,7 @@ |
return NULL; |
scoped_refptr<PluginInstance> instance(plugin_lib->CreateInstance(mime_type)); |
- return new WebPluginDelegateImpl(instance.get()); |
+ return new WebPluginDelegateImpl(plugin, instance.get()); |
} |
void WebPluginDelegateImpl::PluginDestroyed() { |
@@ -49,10 +50,7 @@ |
const GURL& url, |
const std::vector<std::string>& arg_names, |
const std::vector<std::string>& arg_values, |
- WebPlugin* plugin, |
bool load_manually) { |
- plugin_ = plugin; |
- |
instance_->set_web_plugin(plugin_); |
if (quirks_ & PLUGIN_QUIRK_DONT_ALLOW_MULTIPLE_INSTANCES) { |
PluginLib* plugin_lib = instance()->plugin_lib(); |
@@ -301,4 +299,16 @@ |
return resource_client; |
} |
+void WebPluginDelegateImpl::FetchURL(unsigned long resource_id, |
+ int notify_id, |
+ const GURL& url, |
+ const GURL& first_party_for_cookies, |
+ const std::string& method, |
+ const std::string& post_data, |
+ const GURL& referrer, |
+ bool notify_redirects, |
+ bool is_plugin_src_load) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
} // namespace content |