diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-31 01:34:20 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-31 01:34:20 +0000 |
commit | 41b2780f0135d23196958816d3adcfd606b80f1e (patch) | |
tree | 306a00be7404dfc6d3ff9ef667d35827f87281a2 /chrome/common | |
parent | 18a12354e6c3e1edf2f85e11cd7359127d2d3ce2 (diff) | |
download | chromium_src-41b2780f0135d23196958816d3adcfd606b80f1e.zip chromium_src-41b2780f0135d23196958816d3adcfd606b80f1e.tar.gz chromium_src-41b2780f0135d23196958816d3adcfd606b80f1e.tar.bz2 |
Move proxy resolve requests out of plugin/renderer process, and into the browser.
Review URL: http://codereview.chromium.org/14142
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/plugin_messages_internal.h | 3 | ||||
-rw-r--r-- | chrome/common/render_messages_internal.h | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/chrome/common/plugin_messages_internal.h b/chrome/common/plugin_messages_internal.h index c806bf0..85093d5 100644 --- a/chrome/common/plugin_messages_internal.h +++ b/chrome/common/plugin_messages_internal.h @@ -70,7 +70,8 @@ IPC_BEGIN_MESSAGES(PluginProcessHost, 4) std::string /* cookies */) // Get the list of proxies to use for |url|, as a semicolon delimited list - // of "<TYPE> <HOST>:<PORT>" | "DIRECT". + // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also ViewHostMsg_ResolveProxy + // which does the same thing. IPC_SYNC_MESSAGE_CONTROL1_2(PluginProcessHostMsg_ResolveProxy, GURL /* url */, int /* network error */, diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 70ed328..732c730 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -1102,4 +1102,12 @@ IPC_BEGIN_MESSAGES(ViewHost, 2) int64 /* id of the text input field */, int /* id of this message */) + // Get the list of proxies to use for |url|, as a semicolon delimited list + // of "<TYPE> <HOST>:<PORT>" | "DIRECT". See also + // PluginProcessHostMsg_ResolveProxy which does the same thing. + IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_ResolveProxy, + GURL /* url */, + int /* network error */, + std::string /* proxy list */) + IPC_END_MESSAGES(ViewHost) |