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

Issue 198083006: Update the task manager with the debug stub port chosen by nacl. (Closed)

Created:
6 years, 9 months ago by bradn
Modified:
6 years, 7 months ago
Reviewers:
Mark Seaborn, jschuh
CC:
chromium-reviews
Visibility:
Public.

Description

Update the task manager with the debug stub port chosen by nacl. On mac/linux the debug stub port is allocated chrome side and provided to Native Client. On Windows (where socket handles cannot be passed between processes), the debug port must be allocated by the nacl process (which can only happen when the outer sandbox is disable). Propagate the debug port selected by the nacl side to the task manager to make it available to the user and debugging extensions. Depends on this nacl side change: https://codereview.chromium.org/206493005 BUG=328714 TEST=None R=mseaborn@chromium.org,jschuh@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269499

Patch Set 1 #

Total comments: 12

Patch Set 2 : fix #

Total comments: 19

Patch Set 3 : fixes #

Total comments: 2

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -7 lines) Patch
M components/nacl/browser/nacl_process_host.h View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 3 4 chunks +20 lines, -7 lines 0 comments Download
M components/nacl/common/nacl_messages.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M components/nacl/loader/nacl_listener.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
bradn
Depends on the nacl side change.
6 years, 9 months ago (2014-03-20 21:10:23 UTC) #1
Mark Seaborn
https://codereview.chromium.org/198083006/diff/1/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/198083006/diff/1/components/nacl/browser/nacl_process_host.cc#newcode913 components/nacl/browser/nacl_process_host.cc:913: // This method is called when NaClProcessHostMsg_OnDebugStubPortSelected is It's ...
6 years, 9 months ago (2014-03-26 23:34:04 UTC) #2
Mark Seaborn
Ping -- are you working on this still?
6 years, 7 months ago (2014-04-30 18:56:56 UTC) #3
bradn
ptal https://codereview.chromium.org/198083006/diff/1/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/198083006/diff/1/components/nacl/browser/nacl_process_host.cc#newcode913 components/nacl/browser/nacl_process_host.cc:913: // This method is called when NaClProcessHostMsg_OnDebugStubPortSelected is ...
6 years, 7 months ago (2014-05-05 18:46:07 UTC) #4
Mark Seaborn
https://codereview.chromium.org/198083006/diff/20001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/198083006/diff/20001/components/nacl/browser/nacl_process_host.cc#newcode649 components/nacl/browser/nacl_process_host.cc:649: IPC_MESSAGE_HANDLER(NaClProcessHostMsg_DebugStubPortSelected, FYI, this needs rebasing. I changed this method ...
6 years, 7 months ago (2014-05-08 15:52:22 UTC) #5
bradn
Ok, more sane on when windows stuff is gated in. SetDebugStubPort is present on all ...
6 years, 7 months ago (2014-05-08 17:00:24 UTC) #6
Mark Seaborn
LGTM https://codereview.chromium.org/198083006/diff/20001/components/nacl/loader/nacl_listener.cc File components/nacl/loader/nacl_listener.cc (right): https://codereview.chromium.org/198083006/diff/20001/components/nacl/loader/nacl_listener.cc#newcode115 components/nacl/loader/nacl_listener.cc:115: void DebugStubPortSelectedHandler(uint16_t port) { On 2014/05/08 17:00:24, bradn ...
6 years, 7 months ago (2014-05-08 18:04:43 UTC) #7
bradn
thanks:-) https://codereview.chromium.org/198083006/diff/70001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/198083006/diff/70001/components/nacl/browser/nacl_process_host.cc#newcode948 components/nacl/browser/nacl_process_host.cc:948: void NaClProcessHost::OnDebugStubPortSelected(uint16_t debug_stub_port) { On 2014/05/08 18:04:44, Mark ...
6 years, 7 months ago (2014-05-08 18:09:25 UTC) #8
bradn
The CQ bit was checked by bradnelson@google.com
6 years, 7 months ago (2014-05-08 18:09:29 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bradnelson@google.com/198083006/90001
6 years, 7 months ago (2014-05-08 18:12:33 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-08 22:30:09 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 22:38:17 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/66630)
6 years, 7 months ago (2014-05-08 22:38:18 UTC) #13
bradn
The CQ bit was checked by bradnelson@google.com
6 years, 7 months ago (2014-05-09 01:26:55 UTC) #14
bradn
Adding jschuh for OWNERS on component/nacl/common/*.h
6 years, 7 months ago (2014-05-09 01:31:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bradnelson@google.com/198083006/90001
6 years, 7 months ago (2014-05-09 01:35:20 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-09 02:32:41 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-09 02:39:51 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/66688)
6 years, 7 months ago (2014-05-09 02:39:52 UTC) #19
jschuh
ipc security lgtm
6 years, 7 months ago (2014-05-09 17:24:03 UTC) #20
bradn
The CQ bit was checked by bradnelson@google.com
6 years, 7 months ago (2014-05-09 19:08:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bradnelson@google.com/198083006/90001
6 years, 7 months ago (2014-05-09 19:09:24 UTC) #22
commit-bot: I haz the power
6 years, 7 months ago (2014-05-10 02:57:30 UTC) #23
Message was sent while issue was closed.
Change committed as 269499

Powered by Google App Engine
This is Rietveld 408576698