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

Issue 14142: Start using the proxy resolve IPC for plugins.... (Closed)

Created:
12 years ago by eroman
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Move proxy resolve requests out of plugin/renderer process, and into the browser. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=9006

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 5

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 12

Patch Set 6 : '' #

Total comments: 8

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 1

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+776 lines, -118 lines) Patch
M chrome/browser/browser.scons View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/browser.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/browser/net/resolve_proxy_msg_helper.h View 1 chunk +103 lines, -0 lines 0 comments Download
A chrome/browser/net/resolve_proxy_msg_helper.cc View 1 chunk +89 lines, -0 lines 0 comments Download
A chrome/browser/net/resolve_proxy_msg_helper_unittest.cc View 7 8 1 chunk +349 lines, -0 lines 0 comments Download
M chrome/browser/plugin_process_host.h View 5 6 4 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/plugin_process_host.cc View 5 6 4 chunks +9 lines, -58 lines 0 comments Download
M chrome/browser/resource_message_filter.h View 5 6 4 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/resource_message_filter.cc View 5 6 3 chunks +15 lines, -1 line 0 comments Download
M chrome/common/plugin_messages_internal.h View 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/render_messages_internal.h View 5 6 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/plugin/plugin_thread.cc View 1 2 3 4 5 6 2 chunks +32 lines, -0 lines 0 comments Download
M chrome/renderer/renderer_glue.cc View 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/test/unit/unit_tests.scons View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/unit/unittests.vcproj View 1 chunk +8 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.h View 3 4 5 6 2 chunks +26 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.cc View 3 4 5 6 4 chunks +63 lines, -2 lines 0 comments Download
M webkit/glue/plugins/mozilla_extensions.cc View 1 2 3 4 5 6 2 chunks +2 lines, -50 lines 0 comments Download
M webkit/glue/webkit_glue.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/simple_resource_loader_bridge.cc View 1 2 3 4 5 6 7 2 chunks +19 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
eroman
I am sending this change out primarily to get design feedback. Written as-is it is ...
12 years ago (2008-12-16 01:02:16 UTC) #1
darin (slow to review)
http://codereview.chromium.org/14142/diff/6/207 File webkit/tools/test_shell/simple_resource_loader_bridge.cc (right): http://codereview.chromium.org/14142/diff/6/207#newcode480 Line 480: class SyncProxyResolver : public base::RefCounted<SyncProxyResolver> { i think ...
12 years ago (2008-12-16 03:13:44 UTC) #2
jam
the design looks good to me, 2/3 can just be implemented by 4 I think. ...
12 years ago (2008-12-16 20:32:04 UTC) #3
eroman
http://codereview.chromium.org/14142/diff/6/207 File webkit/tools/test_shell/simple_resource_loader_bridge.cc (right): http://codereview.chromium.org/14142/diff/6/207#newcode585 Line 585: return rv == net::OK; On 2008/12/16 20:32:04, John ...
12 years ago (2008-12-16 20:49:50 UTC) #4
jam
http://codereview.chromium.org/14142/diff/6/207 File webkit/tools/test_shell/simple_resource_loader_bridge.cc (right): http://codereview.chromium.org/14142/diff/6/207#newcode585 Line 585: return rv == net::OK; On 2008/12/16 20:49:50, eroman ...
12 years ago (2008-12-16 21:26:20 UTC) #5
eroman
Thanks for the feedback. Updated the patchset: moved the helper out of simple_resource_loader_bridge.cc, so there ...
12 years ago (2008-12-16 23:31:52 UTC) #6
eroman
ping.
11 years, 10 months ago (2009-01-29 02:24:42 UTC) #7
eroman
I have updated the patchset so it now encompasses all of the cases (single process ...
11 years, 10 months ago (2009-01-29 02:25:56 UTC) #8
darin (slow to review)
design looks good to me. http://codereview.chromium.org/14142/diff/401/604 File chrome/plugin/plugin_thread.cc (right): http://codereview.chromium.org/14142/diff/401/604#newcode198 Line 198: return ipc_ok ? ...
11 years, 10 months ago (2009-01-29 05:32:33 UTC) #9
eroman
Sorry, I was missing two newly added files in the previous upload. Please also review: ...
11 years, 10 months ago (2009-01-29 09:44:06 UTC) #10
darin (slow to review)
LGTM http://codereview.chromium.org/14142/diff/401/604 File chrome/plugin/plugin_thread.cc (right): http://codereview.chromium.org/14142/diff/401/604#newcode214 Line 214: extern int ResolveProxyFromRenderThread(const GURL&, std::string*); Oh, I ...
11 years, 10 months ago (2009-01-29 21:20:12 UTC) #11
darin (slow to review)
http://codereview.chromium.org/14142/diff/421/638 File chrome/browser/resolve_proxy_msg_helper.cc (right): http://codereview.chromium.org/14142/diff/421/638#newcode12 Line 12: // TODO(eroman): Add unit tests nit: usually best ...
11 years, 10 months ago (2009-01-29 21:22:53 UTC) #12
jam
lgtm it's amazing that so much work had to be done just for the java ...
11 years, 10 months ago (2009-01-29 21:26:53 UTC) #13
eroman
> it's amazing that so much work had to be done just for the java ...
11 years, 10 months ago (2009-01-29 22:22:01 UTC) #14
eroman
http://codereview.chromium.org/14142/diff/421/638 File chrome/browser/resolve_proxy_msg_helper.cc (right): http://codereview.chromium.org/14142/diff/421/638#newcode12 Line 12: // TODO(eroman): Add unit tests On 2009/01/29 21:22:53, ...
11 years, 10 months ago (2009-01-30 10:37:02 UTC) #15
darin (slow to review)
11 years, 10 months ago (2009-01-30 16:47:19 UTC) #16
LGTM

http://codereview.chromium.org/14142/diff/456/684
File chrome/browser/net/resolve_proxy_msg_helper_unittest.cc (right):

http://codereview.chromium.org/14142/diff/456/684#newcode205
Line 205: // Avoid the need to have an AddRef / ReleaseRef.
nit: ReleaseRef -> Release

Powered by Google App Engine
This is Rietveld 408576698