Add ResolveProxy to the content API.

Currently the pepper_flash_renderer_host.cc is in content/ but brettw informs me that Flash-related hosts should live in chrome/. To do this ResolveProxy needs to be added to the content API. The host will be moved out of content/ in the next CL.


Review URL: https://chromiumcodereview.appspot.com/11649010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173874 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index ce775a8f..7b52bf1 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -848,6 +848,12 @@
   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;
 }