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

Unified Diff: content/renderer/render_thread_impl.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
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index ce775a8f7c9126b4f77ea09f6fad079fe7c363d8..aa6345f92f56555145e91c222f667c6d28e1d7d3 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -68,6 +68,7 @@
#include "content/renderer/render_process_impl.h"
#include "content/renderer/render_view_impl.h"
#include "content/renderer/renderer_webkitplatformsupport_impl.h"
+#include "googleurl/src/gurl.h"
jam 2012/12/19 01:39:39 nit: don't include this, it's a given and by defin
raymes 2012/12/19 02:59:29 Done.
#include "grit/content_resources.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_forwarding_message_filter.h"
@@ -848,6 +849,12 @@ void RenderThreadImpl::UpdateHistograms(int sequence_number) {
child_histogram_message_filter()->SendHistograms(sequence_number);
}
+bool RenderThreadImpl::ResolveProxy(const GURL& url, std::string* proxy_list) {
+ bool result = false;
+ Send(new ViewHostMsg_ResolveProxy(url, &result, proxy_list));
+ return result;
+}
+
void RenderThreadImpl::PostponeIdleNotification() {
idle_notifications_to_skip_ = 2;
}
« no previous file with comments | « content/renderer/render_thread_impl.h ('k') | content/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698