| Index: content/child/npapi/plugin_stream_url.cc
|
| diff --git a/content/child/npapi/plugin_stream_url.cc b/content/child/npapi/plugin_stream_url.cc
|
| index 84490d7de93c7a96cc62863b47695041b9d9943a..545584bbdeaa73a92de12d379c682eccddac184e 100644
|
| --- a/content/child/npapi/plugin_stream_url.cc
|
| +++ b/content/child/npapi/plugin_stream_url.cc
|
| @@ -20,10 +20,8 @@ namespace content {
|
| PluginStreamUrl::PluginStreamUrl(
|
| unsigned long resource_id,
|
| const GURL &url,
|
| - PluginInstance *instance,
|
| - bool notify_needed,
|
| - void *notify_data)
|
| - : PluginStream(instance, url.spec().c_str(), notify_needed, notify_data),
|
| + PluginInstance *instance)
|
| + : PluginStream(instance, url.spec().c_str()),
|
| url_(url),
|
| id_(resource_id) {
|
| }
|
| @@ -90,16 +88,6 @@ void PluginStreamUrl::CancelRequest() {
|
| }
|
|
|
| void PluginStreamUrl::WillSendRequest(const GURL& url, int http_status_code) {
|
| - if (notify_needed()) {
|
| - // If the plugin participates in HTTP url redirect handling then notify it.
|
| - if (net::HttpResponseHeaders::IsRedirectResponseCode(http_status_code) &&
|
| - instance()->handles_url_redirects()) {
|
| - pending_redirect_url_ = url.spec();
|
| - instance()->NPP_URLRedirectNotify(url.spec().c_str(), http_status_code,
|
| - notify_data());
|
| - return;
|
| - }
|
| - }
|
| url_ = url;
|
| UpdateUrl(url.spec().c_str());
|
| }
|
|
|