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

Unified Diff: content/plugin/plugin_thread.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/common/view_messages.h ('k') | content/plugin/webplugin_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_thread.cc
===================================================================
--- content/plugin/plugin_thread.cc (revision 98569)
+++ content/plugin/plugin_thread.cc (working copy)
@@ -21,12 +21,10 @@
#include "base/threading/thread_local.h"
#include "content/common/child_process.h"
#include "content/common/content_switches.h"
-#include "content/common/child_process_messages.h"
#include "content/common/plugin_messages.h"
#include "content/plugin/content_plugin_client.h"
#include "content/plugin/npobject_util.h"
#include "ipc/ipc_channel_handle.h"
-#include "net/base/net_errors.h"
#include "webkit/glue/webkit_glue.h"
#include "webkit/plugins/npapi/plugin_lib.h"
#include "webkit/plugins/npapi/webplugin_delegate_impl.h"
@@ -170,19 +168,3 @@
void PluginThread::OnNotifyRenderersOfPendingShutdown() {
PluginChannel::NotifyRenderersOfPendingShutdown();
}
-
-namespace webkit_glue {
-bool FindProxyForUrl(const GURL& url, std::string* proxy_list) {
- int net_error;
- std::string proxy_result;
-
- bool result = ChildThread::current()->Send(
- new ChildProcessHostMsg_ResolveProxy(url, &net_error, &proxy_result));
- if (!result || net_error != net::OK)
- return false;
-
- *proxy_list = proxy_result;
- return true;
-}
-
-} // namespace webkit_glue
« no previous file with comments | « content/common/view_messages.h ('k') | content/plugin/webplugin_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698