| Index: content/plugin/webplugin_proxy.cc
|
| diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc
|
| index 22e1890b031385027637ca4518b34a0db2b2f6e7..f905324d1edb12a84830d1296773b503d334d0ba 100644
|
| --- a/content/plugin/webplugin_proxy.cc
|
| +++ b/content/plugin/webplugin_proxy.cc
|
| @@ -270,46 +270,6 @@ void WebPluginProxy::OnResourceCreated(int resource_id,
|
| resource_clients_[resource_id] = client;
|
| }
|
|
|
| -void WebPluginProxy::HandleURLRequest(const char* url,
|
| - const char* method,
|
| - const char* target,
|
| - const char* buf,
|
| - unsigned int len,
|
| - int notify_id,
|
| - bool popups_allowed,
|
| - bool notify_redirects) {
|
| - if (!target && base::EqualsCaseInsensitiveASCII(method, "GET")) {
|
| - // Please refer to https://bugzilla.mozilla.org/show_bug.cgi?id=366082
|
| - // for more details on this.
|
| - if (delegate_->GetQuirks() &
|
| - WebPluginDelegateImpl::PLUGIN_QUIRK_BLOCK_NONSTANDARD_GETURL_REQUESTS) {
|
| - GURL request_url(url);
|
| - if (!request_url.SchemeIs(url::kHttpScheme) &&
|
| - !request_url.SchemeIs(url::kHttpsScheme) &&
|
| - !request_url.SchemeIs(url::kFtpScheme)) {
|
| - return;
|
| - }
|
| - }
|
| - }
|
| -
|
| - PluginHostMsg_URLRequest_Params params;
|
| - params.url = url;
|
| - params.method = method;
|
| - if (target)
|
| - params.target = std::string(target);
|
| -
|
| - if (len) {
|
| - params.buffer.resize(len);
|
| - memcpy(¶ms.buffer.front(), buf, len);
|
| - }
|
| -
|
| - params.notify_id = notify_id;
|
| - params.popups_allowed = popups_allowed;
|
| - params.notify_redirects = notify_redirects;
|
| -
|
| - Send(new PluginHostMsg_URLRequest(route_id_, params));
|
| -}
|
| -
|
| void WebPluginProxy::Paint(const gfx::Rect& rect) {
|
| #if defined(OS_MACOSX)
|
| if (!windowless_context())
|
| @@ -501,12 +461,6 @@ void WebPluginProxy::CancelDocumentLoad() {
|
| Send(new PluginHostMsg_CancelDocumentLoad(route_id_));
|
| }
|
|
|
| -void WebPluginProxy::InitiateHTTPRangeRequest(
|
| - const char* url, const char* range_info, int range_request_id) {
|
| - Send(new PluginHostMsg_InitiateHTTPRangeRequest(
|
| - route_id_, url, range_info, range_request_id));
|
| -}
|
| -
|
| void WebPluginProxy::DidStartLoading() {
|
| Send(new PluginHostMsg_DidStartLoading(route_id_));
|
| }
|
|
|