Index: content/public/renderer/render_thread.h |
diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h |
index 353d38a16a98e470fc113c38074794d8a2d69deb..328a6bd22c2d44bf7bc423c64d906423a21f049d 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. |