summaryrefslogtreecommitdiffstats
path: root/content/common/child_process_messages.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 17:16:55 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 17:16:55 +0000
commitf6b224d1e92a0986adf6fb3bdaebef1c606147e1 (patch)
tree051d106c0d20fdeba08e3d5f482d538b035589c7 /content/common/child_process_messages.h
parent79a90d230d67c14292d1807dca6938c11de9275d (diff)
downloadchromium_src-f6b224d1e92a0986adf6fb3bdaebef1c606147e1.zip
chromium_src-f6b224d1e92a0986adf6fb3bdaebef1c606147e1.tar.gz
chromium_src-f6b224d1e92a0986adf6fb3bdaebef1c606147e1.tar.bz2
Simplify ResolveProxyMsgHelper. Make it not special case renderer/plugin, and derive from BrowserMessageFilter for easier filtering and replying.
Review URL: http://codereview.chromium.org/6695009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_process_messages.h')
-rw-r--r--content/common/child_process_messages.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index ce02ec9..85c824e 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -5,6 +5,7 @@
// Common IPC messages used for child processes.
// Multiply-included message file, hence no include guard.
+#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_macros.h"
#define IPC_MESSAGE_START ChildProcessMsgStart
@@ -27,3 +28,10 @@ IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,
// Messages sent from the child process to the browser.
IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)
+
+// Get the list of proxies to use for |url|, as a semicolon delimited list
+// of "<TYPE> <HOST>:<PORT>" | "DIRECT".
+IPC_SYNC_MESSAGE_CONTROL1_2(ChildProcessHostMsg_ResolveProxy,
+ GURL /* url */,
+ int /* network error */,
+ std::string /* proxy list */) \ No newline at end of file