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

Unified Diff: content/public/renderer/render_thread.h

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 | « no previous file | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698