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

Issue 5098002: Private Pepper extension for Flapper to allow TCP connections to be made (Closed)

Created:
10 years, 1 month ago by viettrungluu
Modified:
9 years, 6 months ago
Reviewers:
brettw, piman
CC:
chromium-reviews, jam, ben+cc_chromium.org, darin-cc_chromium.org, stuartmorgan+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Private Pepper extension for Flapper to allow TCP connections to be made (from inside the renderer sandbox). (Only enabled on ChromeOS, since it opens a hole in the renderer. This should be revisited, with controls tightened, once Flapper runs out of process.) BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70687

Patch Set 1 #

Patch Set 2 : Fix message deserialization bug. #

Total comments: 5

Patch Set 3 : brand new version, with a brand new resource #

Patch Set 4 : ws fix #

Patch Set 5 : alpha order fix #

Patch Set 6 : merge ToT, applied fixes per earlier review #

Patch Set 7 : update MockPluginDelegate #

Patch Set 8 : oops #

Total comments: 1

Patch Set 9 : disable more thoroughly using ENABLE_FLAPPER_HACKS #

Patch Set 10 : fix chrome/browser/renderer_host/pepper_message_filter.cc:43: error: unused variable ‘msg_is_ok__’ #

Patch Set 11 : add ppapi/c to some include_rules to fix checkdeps #

Unified diffs Side-by-side diffs Delta from patch set Stats (+949 lines, -17 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/pepper_message_filter.h View 1 2 3 4 5 6 7 8 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/pepper_message_filter.cc View 1 2 3 4 5 6 7 8 9 1 chunk +285 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 chunks +9 lines, -1 line 0 comments Download
M chrome/common/render_messages.cc View 1 2 3 4 5 6 7 8 4 chunks +31 lines, -2 lines 0 comments Download
M chrome/common/render_messages_internal.h View 1 2 3 4 5 3 chunks +21 lines, -0 lines 0 comments Download
M chrome/renderer/pepper_plugin_delegate_impl.h View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/renderer/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 5 chunks +48 lines, -1 line 0 comments Download
M chrome/renderer/render_view.h View 1 2 3 4 5 6 7 8 5 chunks +11 lines, -5 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 4 5 6 7 8 4 chunks +19 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_flash.h View 1 2 3 4 5 6 7 8 3 chunks +39 lines, -1 line 0 comments Download
A ppapi/cpp/private/flash.h View 1 2 3 4 5 6 7 8 1 chunk +42 lines, -0 lines 0 comments Download
A ppapi/cpp/private/flash.cc View 1 2 3 4 5 6 7 8 1 chunk +64 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 3 4 5 6 2 chunks +14 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 chunks +11 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_flash_impl.h View 1 2 3 4 5 6 7 8 3 chunks +50 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/ppb_flash_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +190 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/resource.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
viettrungluu
10 years, 1 month ago (2010-11-17 21:00:24 UTC) #1
piman
http://codereview.chromium.org/5098002/diff/2001/chrome/browser/renderer_host/pepper_message_filter.cc File chrome/browser/renderer_host/pepper_message_filter.cc (right): http://codereview.chromium.org/5098002/diff/2001/chrome/browser/renderer_host/pepper_message_filter.cc#newcode65 chrome/browser/renderer_host/pepper_message_filter.cc:65: IPC_MESSAGE_HANDLER(ViewHostMsg_PepperConnectTcp, OnPepperConnectTcp) OnPepperConnectTcpAddress ? http://codereview.chromium.org/5098002/diff/2001/chrome/browser/renderer_host/pepper_message_filter.cc#newcode176 chrome/browser/renderer_host/pepper_message_filter.cc:176: void OnLookupFinished(int /*result*/) ...
10 years, 1 month ago (2010-11-17 21:41:22 UTC) #2
viettrungluu
It's alive (again)! I think I addressed all your comments, though attaching the connector to ...
9 years, 11 months ago (2011-01-06 17:40:54 UTC) #3
viettrungluu
+brettw, since piman is apparently not a morning person. (For the checkdeps errors, I'm going ...
9 years, 11 months ago (2011-01-06 19:23:58 UTC) #4
piman
One small thing, otherwise LGTM http://codereview.chromium.org/5098002/diff/26001/webkit/plugins/ppapi/plugin_module.cc File webkit/plugins/ppapi/plugin_module.cc (right): http://codereview.chromium.org/5098002/diff/26001/webkit/plugins/ppapi/plugin_module.cc#newcode245 webkit/plugins/ppapi/plugin_module.cc:245: return PPB_Flash_Impl::GetInterface(); I think ...
9 years, 11 months ago (2011-01-06 19:31:15 UTC) #5
brettw
If we're going to have a compile define, it seems like the message handler in ...
9 years, 11 months ago (2011-01-06 20:41:24 UTC) #6
viettrungluu
On 2011/01/06 20:41:24, brettw wrote: > If we're going to have a compile define, it ...
9 years, 11 months ago (2011-01-06 23:26:48 UTC) #7
piman
9 years, 11 months ago (2011-01-06 23:35:16 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698