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

Issue 79020: linux (and some posix): multiprocess plugins compiling. (Closed)

Created:
11 years, 8 months ago by Evan Martin
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

linux (and some posix): multiprocess plugins compiling. The goal of this change is to *not* make any behavioral change, but to instead just get all the plugin-related files linking on Linux with a bunch of NOTIMPLEMENTED()s in the appropriate places. It's enormous enough already without any refactorings or new features. Changes include: - Lots of gcc warning fixes. - Use portable replacements for Windows-specific functions (_strdup, etc.). - Use TransportDIB instead of just shared memory in the plugin messaging. Note that this is not fleshed out on Linux and on Windows it just hacks in the existing handles so there should be no functional change. - Fix --plugin-launcher to use cross-platform APIs.

Patch Set 1 #

Total comments: 33

Patch Set 2 : new work #

Patch Set 3 : merged #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+324 lines, -152 lines) Patch
M base/string_util_posix.h View 1 chunk +6 lines, -0 lines 0 comments Download
M base/string_util_win.h View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/app/chrome_dll_main.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/plugin_process_host.cc View 1 2 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome.gyp View 1 2 3 3 chunks +21 lines, -6 lines 0 comments Download
M chrome/common/child_process_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/ipc_channel.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/ipc_channel_posix.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/ipc_channel_posix.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/ipc_channel_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/ipc_channel_proxy.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/plugin_messages_internal.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/temp_scaffolding_stubs.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/common/transport_dib.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/plugin/chrome_plugin_host.cc View 1 6 chunks +6 lines, -7 lines 0 comments Download
M chrome/plugin/npobject_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/plugin/npobject_proxy.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/plugin/npobject_stub.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/plugin/npobject_stub.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/plugin/npobject_util.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/plugin/npobject_util.cc View 1 5 chunks +3 lines, -15 lines 0 comments Download
M chrome/plugin/plugin_channel.h View 1 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/plugin/plugin_channel.cc View 1 6 chunks +10 lines, -8 lines 0 comments Download
M chrome/plugin/plugin_channel_base.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/plugin/plugin_channel_base.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/plugin/plugin_main.cc View 1 2 4 chunks +21 lines, -10 lines 0 comments Download
M chrome/plugin/plugin_thread.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/plugin/plugin_thread.cc View 1 4 chunks +20 lines, -4 lines 0 comments Download
M chrome/plugin/webplugin_delegate_stub.h View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/plugin/webplugin_delegate_stub.cc View 1 8 chunks +24 lines, -8 lines 0 comments Download
M chrome/plugin/webplugin_proxy.h View 1 2 5 chunks +11 lines, -6 lines 0 comments Download
M chrome/plugin/webplugin_proxy.cc View 1 2 9 chunks +34 lines, -9 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.h View 6 chunks +13 lines, -11 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 1 21 chunks +85 lines, -30 lines 0 comments Download
M webkit/glue/webplugin_impl.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Evan Martin
john: primary reviewer. agl: would you glance at the transport dib-related changes (plugin_messages_internal.h, webplugin_delegate_stub.*, webplugin_proxy.*) ...
11 years, 8 months ago (2009-04-16 21:15:55 UTC) #1
Evan Martin
+dean FYI
11 years, 8 months ago (2009-04-16 21:16:07 UTC) #2
agl
LGTM. Evan and I chatted about how TransportDIBs work and the future directions for this.
11 years, 8 months ago (2009-04-16 22:06:02 UTC) #3
jam
very cool note I'm not that familiar with TransportDIB so I'll take your word on ...
11 years, 8 months ago (2009-04-16 23:02:54 UTC) #4
Amanda Walker
Overall lg, a few nits and some suggestions about PlatformCanvas methods. http://codereview.chromium.org/79020/diff/1/21 File chrome/plugin/npobject_proxy.cc (right): ...
11 years, 8 months ago (2009-04-16 23:53:46 UTC) #5
Evan Martin
New patch (two smaller commits of pieces of this). http://codereview.chromium.org/79020/diff/1/20 File chrome/plugin/chrome_plugin_host.cc (right): http://codereview.chromium.org/79020/diff/1/20#newcode422 Line ...
11 years, 8 months ago (2009-04-21 02:01:10 UTC) #6
jam
http://codereview.chromium.org/79020/diff/1/31 File chrome/plugin/plugin_main.cc (right): http://codereview.chromium.org/79020/diff/1/31#newcode64 Line 64: CommandLine compiler_warning = parsed_command_line; On 2009/04/21 02:01:10, Evan ...
11 years, 8 months ago (2009-04-21 05:04:45 UTC) #7
Evan Martin
http://codereview.chromium.org/79020/diff/1/31 File chrome/plugin/plugin_main.cc (right): http://codereview.chromium.org/79020/diff/1/31#newcode64 Line 64: CommandLine compiler_warning = parsed_command_line; On 2009/04/21 05:04:45, John ...
11 years, 8 months ago (2009-04-21 17:10:25 UTC) #8
jam
http://codereview.chromium.org/79020/diff/1/31 File chrome/plugin/plugin_main.cc (right): http://codereview.chromium.org/79020/diff/1/31#newcode64 Line 64: CommandLine compiler_warning = parsed_command_line; On 2009/04/21 17:10:25, Evan ...
11 years, 8 months ago (2009-04-21 20:54:53 UTC) #9
Evan Martin
OK, new patch up
11 years, 8 months ago (2009-04-22 00:30:09 UTC) #10
Evan Martin
ping. resynced with trunk.
11 years, 8 months ago (2009-04-23 01:10:17 UTC) #11
jam
11 years, 8 months ago (2009-04-23 01:33:45 UTC) #12
lgtm

Powered by Google App Engine
This is Rietveld 408576698