Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3099)

Unified Diff: content/renderer/webplugin_delegate_proxy.cc

Issue 11649010: Add ResolveProxy to the content API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/webplugin_delegate_proxy.cc
diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc
index a05cfec1914393331e77a7567596fa37c183f70f..09f989b9abade65f015724927c1be9f39fcf6c62 100644
--- a/content/renderer/webplugin_delegate_proxy.cc
+++ b/content/renderer/webplugin_delegate_proxy.cc
@@ -990,9 +990,7 @@ void WebPluginDelegateProxy::OnGetWindowScriptNPObject(
void WebPluginDelegateProxy::OnResolveProxy(const GURL& url,
bool* result,
std::string* proxy_list) {
- *result = false;
- RenderThreadImpl::current()->Send(
- new ViewHostMsg_ResolveProxy(url, result, proxy_list));
+ *result = RenderThreadImpl::current()->ResolveProxy(url, proxy_list);
}
void WebPluginDelegateProxy::OnGetPluginElement(int route_id, bool* success) {
« content/renderer/render_thread_impl.cc ('K') | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698