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

Issue 1323823002: Adding nonsfi content handler (Closed)

Created:
5 years, 3 months ago by Sean Klein
Modified:
5 years, 3 months ago
Reviewers:
Mark Seaborn
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Adding nonsfi content handler to Mojo. Tested manually by prepending the following: >>> "#!mojo mojo:nacl_nonsfi_content_handler" to a nonfi nexe, and then running this nexe as follows: >>> ./out/Debug/mojo_shell NEXE BUG=https://github.com/domokit/mojo/issues/396 R=mseaborn@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/4f0aa600c9f6483d97772850374136f614de7128

Patch Set 1 : #

Total comments: 26

Patch Set 2 : Responding to Code Review #

Total comments: 28

Patch Set 3 : #

Total comments: 12

Patch Set 4 : Respond to code review, git cl format #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -47 lines) Patch
M mojo/nacl/BUILD.gn View 1 2 3 2 chunks +15 lines, -3 lines 0 comments Download
A mojo/nacl/irt_mojo_nonsfi.h View 1 2 3 1 chunk +23 lines, -0 lines 1 comment Download
A mojo/nacl/irt_mojo_nonsfi.cc View 1 2 3 1 chunk +63 lines, -0 lines 0 comments Download
M mojo/nacl/monacl_shell_nonsfi.cc View 1 2 3 2 chunks +2 lines, -44 lines 0 comments Download
M services/nacl/BUILD.gn View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
A services/nacl/content_handler_main_nonsfi.cc View 1 2 3 1 chunk +105 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Sean Klein
5 years, 3 months ago (2015-08-31 22:49:24 UTC) #2
Sean Klein
5 years, 3 months ago (2015-08-31 22:49:25 UTC) #3
Mark Seaborn
https://codereview.chromium.org/1323823002/diff/60001/services/nacl/BUILD.gn File services/nacl/BUILD.gn (right): https://codereview.chromium.org/1323823002/diff/60001/services/nacl/BUILD.gn#newcode31 services/nacl/BUILD.gn:31: "nonsfi_content_handler_main.cc", Nit: "monacl_shell_nonsfi.cc" is named with "_nonsfi" as a ...
5 years, 3 months ago (2015-09-01 15:55:45 UTC) #7
Sean Klein
https://codereview.chromium.org/1323823002/diff/60001/services/nacl/BUILD.gn File services/nacl/BUILD.gn (right): https://codereview.chromium.org/1323823002/diff/60001/services/nacl/BUILD.gn#newcode31 services/nacl/BUILD.gn:31: "nonsfi_content_handler_main.cc", On 2015/09/01 15:55:45, Mark Seaborn wrote: > Nit: ...
5 years, 3 months ago (2015-09-01 20:24:48 UTC) #9
Mark Seaborn
https://codereview.chromium.org/1323823002/diff/100001/mojo/nacl/BUILD.gn File mojo/nacl/BUILD.gn (right): https://codereview.chromium.org/1323823002/diff/100001/mojo/nacl/BUILD.gn#newcode77 mojo/nacl/BUILD.gn:77: "mojo_interface_nacl_nonsfi.cc", Naming nit: irt_mojo_nonsfi.cc perhaps? It would be good ...
5 years, 3 months ago (2015-09-01 21:05:47 UTC) #10
Sean Klein
https://codereview.chromium.org/1323823002/diff/100001/mojo/nacl/BUILD.gn File mojo/nacl/BUILD.gn (right): https://codereview.chromium.org/1323823002/diff/100001/mojo/nacl/BUILD.gn#newcode77 mojo/nacl/BUILD.gn:77: "mojo_interface_nacl_nonsfi.cc", On 2015/09/01 21:05:46, Mark Seaborn wrote: > Naming ...
5 years, 3 months ago (2015-09-01 22:55:27 UTC) #11
Mark Seaborn
LGTM https://codereview.chromium.org/1323823002/diff/100001/services/nacl/content_handler_main_nonsfi.cc File services/nacl/content_handler_main_nonsfi.cc (right): https://codereview.chromium.org/1323823002/diff/100001/services/nacl/content_handler_main_nonsfi.cc#newcode28 services/nacl/content_handler_main_nonsfi.cc:28: if (!mojo::common::BlockingCopyToFile(response->body.Pass(), path)) { On 2015/09/01 22:55:27, smklein1 ...
5 years, 3 months ago (2015-09-02 20:27:16 UTC) #12
Sean Klein
https://codereview.chromium.org/1323823002/diff/120001/mojo/nacl/BUILD.gn File mojo/nacl/BUILD.gn (right): https://codereview.chromium.org/1323823002/diff/120001/mojo/nacl/BUILD.gn#newcode75 mojo/nacl/BUILD.gn:75: source_set("irt_mojo_nonsfi") { On 2015/09/02 20:27:15, Mark Seaborn wrote: > ...
5 years, 3 months ago (2015-09-02 22:36:19 UTC) #13
Sean Klein
Committed patchset #4 (id:140001) manually as 4f0aa600c9f6483d97772850374136f614de7128 (presubmit successful).
5 years, 3 months ago (2015-09-02 22:53:25 UTC) #14
Mark Seaborn
5 years, 3 months ago (2015-09-02 23:07:09 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/1323823002/diff/140001/mojo/nacl/irt_mojo_non...
File mojo/nacl/irt_mojo_nonsfi.h (right):

https://codereview.chromium.org/1323823002/diff/140001/mojo/nacl/irt_mojo_non...
mojo/nacl/irt_mojo_nonsfi.h:10: namespace irtNonsfi {
Nit: namespace names should be all lower-case --
https://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Namespace_Names

"namespace nacl" would be OK.  It's not really essential to use namespaces, it
just seems cleaner to start with this convention.

Powered by Google App Engine
This is Rietveld 408576698