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

Issue 8826005: Chrome-side change to support stdout/err to postmessage debug hookup. (Closed)

Created:
9 years ago by bsy
Modified:
9 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Chrome-side change to support stdout/err to postmessage debug hookup. This CL adds virtual function in reverse interface needed to support Native Client side debuggging only support for sending standard output and standard error output (write syscall buffer contents) through the reverse channel to the renderer to be transformed into PostMessage data. We do not use message channels because PPAPI currently does not support message channels; instead messages are prefixed by a fixed string which a debug-use-only event listener should match (and invoke stopPropagation on). BUG= http://code.google.com/p/nativeclient/issues/detail?id=2474 TEST= nacl-side CL, see http://codereview.chromium.org/8825007 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113723

Patch Set 1 #

Patch Set 2 : Chrome-side changes to support stdout/err-to-postmessage hookup #

Patch Set 3 : more PostMessage collision #

Total comments: 2

Patch Set 4 : !@#$% PostMessage #

Patch Set 5 : moved undef PostMessage into instance.h #

Patch Set 6 : mv undef to .cc #

Patch Set 7 : moved undef of PostMessage out of instance.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -2 lines) Patch
M ppapi/native_client/src/trusted/plugin/browser_interface.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.h View 1 2 3 4 5 6 4 chunks +12 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.cc View 1 2 3 4 5 6 3 chunks +32 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
sehr (please use chromium)
lgtm
9 years ago (2011-12-07 00:32:48 UTC) #1
commit-bot: I haz the power
No comments yet.
9 years ago (2011-12-07 00:33:07 UTC) #2
bsy
PTAL. win trybot is now happy.
9 years ago (2011-12-07 07:43:02 UTC) #3
sehr (please use chromium)
On 2011/12/07 07:43:02, bsy wrote: > PTAL. win trybot is now happy. LGTM.
9 years ago (2011-12-07 18:45:46 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bsy@google.com/8826005/7001
9 years ago (2011-12-07 18:47:25 UTC) #5
commit-bot: I haz the power
Presubmit check for 8826005-7001 failed and returned exit status 1. Running presubmit commit checks ...
9 years ago (2011-12-07 18:47:33 UTC) #6
dmichael (off chromium)
http://codereview.chromium.org/8826005/diff/3001/ppapi/native_client/src/trusted/plugin/service_runtime.cc File ppapi/native_client/src/trusted/plugin/service_runtime.cc (right): http://codereview.chromium.org/8826005/diff/3001/ppapi/native_client/src/trusted/plugin/service_runtime.cc#newcode57 ppapi/native_client/src/trusted/plugin/service_runtime.cc:57: #endif Wouldn't it have worked to just move this ...
9 years ago (2011-12-07 19:02:13 UTC) #7
bsy
http://codereview.chromium.org/8826005/diff/3001/ppapi/native_client/src/trusted/plugin/service_runtime.cc File ppapi/native_client/src/trusted/plugin/service_runtime.cc (right): http://codereview.chromium.org/8826005/diff/3001/ppapi/native_client/src/trusted/plugin/service_runtime.cc#newcode57 ppapi/native_client/src/trusted/plugin/service_runtime.cc:57: #endif you were looking at an old change set. ...
9 years ago (2011-12-07 21:18:32 UTC) #8
bsy
moved undef to service_runtime.cc so that the public header doesn't have to have anything to ...
9 years ago (2011-12-08 06:59:58 UTC) #9
dmichael (off chromium)
LGTM Thanks, and sorry for the trouble. For the record, my goal is not to ...
9 years ago (2011-12-08 17:14:08 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bsy@google.com/8826005/18001
9 years ago (2011-12-08 23:05:12 UTC) #11
commit-bot: I haz the power
9 years ago (2011-12-09 01:30:05 UTC) #12
Change committed as 113723

Powered by Google App Engine
This is Rietveld 408576698