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

Unified Diff: content/renderer/pepper_plugin_delegate_impl.cc

Issue 7791005: Stop using the default profile's proxy service for plugin proxy requests, and instead use the ass... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix test Created 9 years, 4 months 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
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper_plugin_delegate_impl.cc
===================================================================
--- content/renderer/pepper_plugin_delegate_impl.cc (revision 98569)
+++ content/renderer/pepper_plugin_delegate_impl.cc (working copy)
@@ -18,7 +18,6 @@
#include "base/sync_socket.h"
#include "base/task.h"
#include "base/time.h"
-#include "content/common/child_process_messages.h"
#include "content/common/child_process.h"
#include "content/common/child_thread.h"
#include "content/common/content_switches.h"
@@ -1404,10 +1403,10 @@
}
std::string PepperPluginDelegateImpl::ResolveProxy(const GURL& url) {
- int net_error;
+ bool result;
std::string proxy_result;
RenderThread::current()->Send(
- new ChildProcessHostMsg_ResolveProxy(url, &net_error, &proxy_result));
+ new ViewHostMsg_ResolveProxy(url, &result, &proxy_result));
return proxy_result;
}
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698