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

Issue 176813010: Avoid blocking the PNaCl translator processes when chrome NaCl GDB flag is on. (Closed)

Created:
6 years, 10 months ago by jvoung (off chromium)
Modified:
6 years, 9 months ago
CC:
chromium-reviews, native-client-reviews_googlegroups.com, Sam Clegg, binji, noelallen1
Visibility:
Public.

Description

Add flag to avoid blocking the PNaCl translator when chrome NaCl GDB flag is on. Augment the NaCl GDB mask to avoid blocking the PNaCl translator in addition to secure shell. Make this the default. This has the side-effect of identifying the translator as separate from the application in chrome's task manager, since the "url" is changed for these helper NaCl modules from the application manifest to something like chrome://pnacl-translator/x86-64/pnacl-llc.nexe. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3765 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255543

Patch Set 1 #

Patch Set 2 : grit_whitelist #

Patch Set 3 : clean up comment #

Total comments: 4

Patch Set 4 : clean up comment, put initialization in ctor #

Patch Set 5 : flip defaults #

Patch Set 6 : explain more #

Total comments: 6

Patch Set 7 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -34 lines) Patch
M build/ios/grit_whitelist.txt View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +7 lines, -4 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/browser/nacl_host/nacl_browser_delegate_impl.cc View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 3 4 5 6 1 chunk +9 lines, -2 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 2 3 4 5 6 3 chunks +5 lines, -3 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_resources.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_resources.cc View 5 chunks +21 lines, -14 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
jvoung (off chromium)
6 years, 10 months ago (2014-02-25 17:51:40 UTC) #1
teravest
https://codereview.chromium.org/176813010/diff/40001/chrome/browser/nacl_host/nacl_browser_delegate_impl.cc File chrome/browser/nacl_host/nacl_browser_delegate_impl.cc (right): https://codereview.chromium.org/176813010/diff/40001/chrome/browser/nacl_host/nacl_browser_delegate_impl.cc#newcode172 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc:172: pattern.SetValidSchemes(URLPattern::SCHEME_ALL); I'm confused. Why do you want to set ...
6 years, 10 months ago (2014-02-25 18:51:28 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/176813010/diff/40001/chrome/browser/nacl_host/nacl_browser_delegate_impl.cc File chrome/browser/nacl_host/nacl_browser_delegate_impl.cc (right): https://codereview.chromium.org/176813010/diff/40001/chrome/browser/nacl_host/nacl_browser_delegate_impl.cc#newcode172 chrome/browser/nacl_host/nacl_browser_delegate_impl.cc:172: pattern.SetValidSchemes(URLPattern::SCHEME_ALL); On 2014/02/25 18:51:29, teravest wrote: > I'm confused. ...
6 years, 10 months ago (2014-02-25 23:52:31 UTC) #3
teravest
On Tue, Feb 25, 2014 at 4:52 PM, <jvoung@chromium.org> wrote: > > https://codereview.chromium.org/176813010/diff/40001/chrome/browser/nacl_host/nacl_browser_delegate_impl.cc > File ...
6 years, 10 months ago (2014-02-26 17:09:31 UTC) #4
teravest
On Tue, Feb 25, 2014 at 4:52 PM, <jvoung@chromium.org> wrote: > > https://codereview.chromium.org/176813010/diff/40001/chrome/browser/nacl_host/nacl_browser_delegate_impl.cc > File ...
6 years, 10 months ago (2014-02-26 17:09:33 UTC) #5
jvoung (off chromium)
On 2014/02/26 17:09:33, teravest wrote: > On Tue, Feb 25, 2014 at 4:52 PM, <mailto:jvoung@chromium.org> ...
6 years, 10 months ago (2014-02-26 18:34:15 UTC) #6
teravest
lgtm Thanks for explaining this, the interface to URLPattern sure seems strange. On Wed, Feb ...
6 years, 10 months ago (2014-02-26 18:36:51 UTC) #7
teravest
lgtm Thanks for explaining this, the interface to URLPattern sure seems strange. On Wed, Feb ...
6 years, 10 months ago (2014-02-26 18:36:51 UTC) #8
jvoung (off chromium)
+sdk folks Brad and Sam, I've changed the default to what we discussed.
6 years, 9 months ago (2014-03-06 18:45:56 UTC) #9
bradn
lgtm https://codereview.chromium.org/176813010/diff/100001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/176813010/diff/100001/chrome/browser/about_flags.cc#newcode194 chrome/browser/about_flags.cc:194: { IDS_NACL_DEBUG_MASK_CHOICE_EXCLUDE_UTILS_PNACL, "", "" }, Maybe pull out ...
6 years, 9 months ago (2014-03-06 18:56:34 UTC) #10
jvoung (off chromium)
Thanks! https://codereview.chromium.org/176813010/diff/100001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/176813010/diff/100001/chrome/browser/about_flags.cc#newcode194 chrome/browser/about_flags.cc:194: { IDS_NACL_DEBUG_MASK_CHOICE_EXCLUDE_UTILS_PNACL, "", "" }, On 2014/03/06 18:56:34, ...
6 years, 9 months ago (2014-03-06 19:02:51 UTC) #11
jvoung (off chromium)
The CQ bit was checked by jvoung@chromium.org
6 years, 9 months ago (2014-03-06 19:05:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/176813010/120001
6 years, 9 months ago (2014-03-06 19:09:05 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/176813010/120001
6 years, 9 months ago (2014-03-06 20:59:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/176813010/120001
6 years, 9 months ago (2014-03-06 21:52:51 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 08:33:12 UTC) #16
Message was sent while issue was closed.
Change committed as 255543

Powered by Google App Engine
This is Rietveld 408576698