summaryrefslogtreecommitdiffstats
path: root/content/public/renderer/render_thread.h
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-19 07:33:00 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-19 07:33:00 +0000
commitb02f590b8663f6c40df80bb9e041c32d9b84b519 (patch)
tree1bfe33f4c3d3e1d6af01aebe85811112d5c08f1d /content/public/renderer/render_thread.h
parentf91a75e00c853bcab5ab23175b97b022055bc9bb (diff)
downloadchromium_src-b02f590b8663f6c40df80bb9e041c32d9b84b519.zip
chromium_src-b02f590b8663f6c40df80bb9e041c32d9b84b519.tar.gz
chromium_src-b02f590b8663f6c40df80bb9e041c32d9b84b519.tar.bz2
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
Diffstat (limited to 'content/public/renderer/render_thread.h')
-rw-r--r--content/public/renderer/render_thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h
index 353d38a..328a6bd 100644
--- a/content/public/renderer/render_thread.h
+++ b/content/public/renderer/render_thread.h
@@ -15,6 +15,7 @@
#include <windows.h>
#endif
+class GURL;
class MessageLoop;
namespace base {
@@ -105,6 +106,11 @@ class CONTENT_EXPORT RenderThread : public IPC::Sender {
virtual void UpdateHistograms(int sequence_number) = 0;
+ // Resolve the proxy servers to use for a given url. On success true is
+ // returned and |proxy_list| is set to a PAC string containing a list of
+ // proxy servers.
+ virtual bool ResolveProxy(const GURL& url, std::string* proxy_list) = 0;
+
#if defined(OS_WIN)
// Request that the given font be loaded by the browser so it's cached by the
// OS. Please see ChildProcessHost::PreCacheFont for details.