Index: content/renderer/webplugin_delegate_proxy.cc |
=================================================================== |
--- content/renderer/webplugin_delegate_proxy.cc (revision 98569) |
+++ content/renderer/webplugin_delegate_proxy.cc (working copy) |
@@ -433,6 +433,7 @@ |
OnGetWindowScriptNPObject) |
IPC_MESSAGE_HANDLER(PluginHostMsg_GetPluginElement, |
OnGetPluginElement) |
+ IPC_MESSAGE_HANDLER(PluginHostMsg_ResolveProxy, OnResolveProxy) |
IPC_MESSAGE_HANDLER(PluginHostMsg_SetCookie, OnSetCookie) |
IPC_MESSAGE_HANDLER(PluginHostMsg_GetCookies, OnGetCookies) |
IPC_MESSAGE_HANDLER(PluginHostMsg_MissingPluginStatus, |
@@ -1099,6 +1100,14 @@ |
*success = true; |
} |
+void WebPluginDelegateProxy::OnResolveProxy(const GURL& url, |
+ bool* result, |
+ std::string* proxy_list) { |
+ *result = false; |
+ RenderThread::current()->Send( |
+ new ViewHostMsg_ResolveProxy(url, result, proxy_list)); |
+} |
+ |
void WebPluginDelegateProxy::OnGetPluginElement(int route_id, bool* success) { |
*success = false; |
NPObject* npobject = NULL; |