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

Issue 14860020: chrome://nacl asserts (Closed)

Created:
7 years, 7 months ago by yael.aharon
Modified:
7 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

chrome://nacl asserts A check was added in r180577 to check that the pnacl directory exists. The check runs in the UI thread and calls file_util::PathExists(). The UI thread does not have permission to make this call, and it asserts in ThreadRestrictions::AssertIOAllowed Create a NaClDOMHandlerProxy class that performs this check in the FILE thread. BUG=240013 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200669

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix style issues #

Total comments: 3

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 19

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Patch Set 8 : Fix the clang build #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 10
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -5 lines) Patch
M chrome/browser/ui/webui/nacl_ui.cc View 1 2 3 4 5 6 7 8 9 7 chunks +104 lines, -5 lines 10 comments Download

Messages

Total messages: 31 (0 generated)
yael.aharon1
Can you please review? thanks!
7 years, 7 months ago (2013-05-15 19:39:50 UTC) #1
jvoung (off chromium)
Thanks for fixing this! Some style fixes. https://codereview.chromium.org/14860020/diff/1/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/14860020/diff/1/chrome/browser/ui/webui/nacl_ui.cc#newcode78 chrome/browser/ui/webui/nacl_ui.cc:78: void validatePnaclPath(); ...
7 years, 7 months ago (2013-05-15 20:28:28 UTC) #2
yael.aharon1
On 2013/05/15 20:28:28, jvoung (cr) wrote: > Thanks for fixing this! Some style fixes. > ...
7 years, 7 months ago (2013-05-15 20:37:28 UTC) #3
yael.aharon1
Fixed the style issues, could you please have another look? thanks
7 years, 7 months ago (2013-05-15 20:46:07 UTC) #4
jvoung (off chromium)
https://codereview.chromium.org/14860020/diff/5001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/14860020/diff/5001/chrome/browser/ui/webui/nacl_ui.cc#newcode80 chrome/browser/ui/webui/nacl_ui.cc:80: void setHandler(NaClDOMHandler* handler); For chromium, I think the style ...
7 years, 7 months ago (2013-05-15 21:19:30 UTC) #5
yael.aharon1
On 2013/05/15 21:19:30, jvoung (cr) wrote: > https://codereview.chromium.org/14860020/diff/5001/chrome/browser/ui/webui/nacl_ui.cc > File chrome/browser/ui/webui/nacl_ui.cc (right): > > https://codereview.chromium.org/14860020/diff/5001/chrome/browser/ui/webui/nacl_ui.cc#newcode80 ...
7 years, 7 months ago (2013-05-15 21:31:26 UTC) #6
yael.aharon1
Updated based on last comments, thanks
7 years, 7 months ago (2013-05-15 21:38:06 UTC) #7
jvoung (off chromium)
lgtm https://codereview.chromium.org/14860020/diff/6002/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/14860020/diff/6002/chrome/browser/ui/webui/nacl_ui.cc#newcode80 chrome/browser/ui/webui/nacl_ui.cc:80: void set_handler(NaClDOMHandler* handler){ space between ) and { ...
7 years, 7 months ago (2013-05-15 21:43:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yael.aharon@intel.com/14860020/15001
7 years, 7 months ago (2013-05-15 21:47:51 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=3143
7 years, 7 months ago (2013-05-15 21:55:20 UTC) #10
yael.aharon1
I am sorry, I thought one lgtm was enough. Who is the OWNER for this ...
7 years, 7 months ago (2013-05-15 22:02:21 UTC) #11
yael.aharon1
Can I please get an OWNER to review this? thanks
7 years, 7 months ago (2013-05-15 22:06:06 UTC) #12
James Hawkins
https://codereview.chromium.org/14860020/diff/15001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/14860020/diff/15001/chrome/browser/ui/webui/nacl_ui.cc#newcode72 chrome/browser/ui/webui/nacl_ui.cc:72: class NaClDOMHandlerProxy : public nit: Too many spaces after ...
7 years, 7 months ago (2013-05-15 22:15:19 UTC) #13
yael.aharon1
On 2013/05/15 22:15:19, James Hawkins wrote: > Thanks for reviewing! The chromium style is new ...
7 years, 7 months ago (2013-05-16 00:56:12 UTC) #14
yael.aharon1
I updated the patch based on your latest comments, please review again :) thanks.
7 years, 7 months ago (2013-05-16 01:10:16 UTC) #15
James Hawkins
On 2013/05/16 01:10:16, yael.aharon1 wrote: > I updated the patch based on your latest comments, ...
7 years, 7 months ago (2013-05-16 17:29:58 UTC) #16
yael.aharon
I addressed all your comments, and now I marked them as done. https://codereview.chromium.org/14860020/diff/15001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc ...
7 years, 7 months ago (2013-05-16 17:39:26 UTC) #17
James Hawkins
https://codereview.chromium.org/14860020/diff/15001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/14860020/diff/15001/chrome/browser/ui/webui/nacl_ui.cc#newcode72 chrome/browser/ui/webui/nacl_ui.cc:72: class NaClDOMHandlerProxy : public On 2013/05/16 17:39:26, yael.aharon wrote: ...
7 years, 7 months ago (2013-05-16 17:42:17 UTC) #18
yael.aharon1
Done, and added the class documentation which I thought I added yesterday, but didn't. https://codereview.chromium.org/14860020/diff/22001/chrome/browser/ui/webui/nacl_ui.cc ...
7 years, 7 months ago (2013-05-16 17:53:05 UTC) #19
James Hawkins
LGTM with nit. https://codereview.chromium.org/14860020/diff/28001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/14860020/diff/28001/chrome/browser/ui/webui/nacl_ui.cc#newcode197 chrome/browser/ui/webui/nacl_ui.cc:197: if (proxy_) { nit: Be consistent: ...
7 years, 7 months ago (2013-05-16 17:56:36 UTC) #20
yael.aharon1
https://codereview.chromium.org/14860020/diff/28001/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/14860020/diff/28001/chrome/browser/ui/webui/nacl_ui.cc#newcode197 chrome/browser/ui/webui/nacl_ui.cc:197: if (proxy_) { On 2013/05/16 17:56:37, James Hawkins wrote: ...
7 years, 7 months ago (2013-05-16 18:09:51 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yael.aharon@intel.com/14860020/33001
7 years, 7 months ago (2013-05-16 18:10:06 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-16 18:34:50 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yael.aharon@intel.com/14860020/35003
7 years, 7 months ago (2013-05-16 18:56:04 UTC) #24
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-16 19:20:27 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yael.aharon@intel.com/14860020/51002
7 years, 7 months ago (2013-05-16 19:35:30 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yael.aharon@intel.com/14860020/36006
7 years, 7 months ago (2013-05-16 20:47:45 UTC) #27
Dan Beam
lgtm w/nits https://codereview.chromium.org/14860020/diff/36006/chrome/browser/ui/webui/nacl_ui.cc File chrome/browser/ui/webui/nacl_ui.cc (right): https://codereview.chromium.org/14860020/diff/36006/chrome/browser/ui/webui/nacl_ui.cc#newcode70 chrome/browser/ui/webui/nacl_ui.cc:70: class NaClDOMHandler; opt nit: NaclDomHandler https://codereview.chromium.org/14860020/diff/36006/chrome/browser/ui/webui/nacl_ui.cc#newcode76 chrome/browser/ui/webui/nacl_ui.cc:76: ...
7 years, 7 months ago (2013-05-17 00:19:57 UTC) #28
commit-bot: I haz the power
Change committed as 200669
7 years, 7 months ago (2013-05-17 00:35:26 UTC) #29
yael.aharon1
Dan, thank you for your review. I will create a new CL to address it. ...
7 years, 7 months ago (2013-05-17 01:43:33 UTC) #30
Dan Beam
7 years, 7 months ago (2013-05-17 02:03:22 UTC) #31
Message was sent while issue was closed.
On 2013/05/17 01:43:33, yael.aharon1 wrote:
> Dan, thank you for your review. I will create a new CL to address it.
> I cannot find any code that defines or uses ALLOW_THIS_IN_INITIALIZER_LIST().
> In the ppapi code, I see PP_ALLOW_THIS_IN_INITIALIZER_LIST, but this change is
> not in ppapi. 
> Please advice if you think this change is needed.
> thanks.

my bad, this was removed a while ago -
http://src.chromium.org/viewvc/chrome?revision=197671&view=revision - sorry
about that

Powered by Google App Engine
This is Rietveld 408576698