Index: content/plugin/webplugin_proxy.cc |
diff --git a/content/plugin/webplugin_proxy.cc b/content/plugin/webplugin_proxy.cc |
index 5bd3d67eb644cca6e9589f97a52d4abb6758a72e..134479079764f8ea7eadb79d4a99bcf49aa54d42 100644 |
--- a/content/plugin/webplugin_proxy.cc |
+++ b/content/plugin/webplugin_proxy.cc |
@@ -269,46 +269,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()) |
@@ -500,12 +460,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_)); |
} |