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

Issue 16881004: Move chrome/nacl to components/nacl. (Closed)

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

Description

Move chrome/nacl to components/nacl. This is part of an effort to componentize NaCl code. Files that belong in the broker process (Windows only) are placed in components/nacl/broker. Files that belong in the loader process are placed in components/nacl/loader. Files that belong in the zygote process are placed in components/nacl/zygote. Some files are shared between the broker, loader and the browser processes. These files are placed in components/nacl/common. BUG=244791

Patch Set 1 : #

Patch Set 2 : Android build fix #

Total comments: 1

Patch Set 3 : Remame nacl/nacl #

Patch Set 4 : create nacl_switches and nacl_paths #

Patch Set 5 : Build fixes #

Patch Set 6 : Windows build fix #

Total comments: 15

Patch Set 7 : test the build #

Patch Set 8 : Address review comments #

Total comments: 1

Patch Set 9 : Rebase and fix indentation #

Patch Set 10 : Make ios happy #

Total comments: 6

Patch Set 11 : Rebase #

Total comments: 1

Patch Set 12 : Add per-file to components/OWNER #

Total comments: 2

Patch Set 13 : Create a zygote folder #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -4158 lines) Patch
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
D chrome/app/nacl_fork_delegate_linux.h View 1 chunk +0 lines, -53 lines 0 comments Download
D chrome/app/nacl_fork_delegate_linux.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -165 lines 0 comments Download
M chrome/browser/nacl_host/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/nacl_host/nacl_broker_host_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/nacl_host/nacl_process_host.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +2 lines, -8 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/common/all_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/common/chrome_sandbox_type_mac.h View 1 chunk +0 lines, -16 lines 0 comments Download
D chrome/common/nacl_cmd_line.h View 1 chunk +0 lines, -16 lines 0 comments Download
D chrome/common/nacl_cmd_line.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -37 lines 0 comments Download
D chrome/common/nacl_debug_exception_handler_win.h View 1 chunk +0 lines, -18 lines 0 comments Download
D chrome/common/nacl_debug_exception_handler_win.cc View 1 chunk +0 lines, -79 lines 0 comments Download
D chrome/common/nacl_helper_linux.h View 1 chunk +0 lines, -42 lines 0 comments Download
M chrome/common/nacl_host_messages.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
D chrome/common/nacl_messages.h View 1 chunk +0 lines, -94 lines 0 comments Download
D chrome/common/nacl_messages.cc View 1 chunk +0 lines, -34 lines 0 comments Download
D chrome/common/nacl_paths.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -31 lines 0 comments Download
D chrome/common/nacl_paths.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -53 lines 0 comments Download
D chrome/common/nacl_types.h View 1 1 chunk +0 lines, -86 lines 0 comments Download
D chrome/common/nacl_types.cc View 1 2 3 4 5 6 1 chunk +0 lines, -55 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
D chrome/nacl.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -218 lines 0 comments Download
M chrome/nacl/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -11 lines 0 comments Download
D chrome/nacl/nacl_broker_listener.h View 1 chunk +0 lines, -50 lines 0 comments Download
D chrome/nacl/nacl_broker_listener.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -131 lines 0 comments Download
M chrome/nacl/nacl_exe_win_64.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -5 lines 0 comments Download
D chrome/nacl/nacl_helper_linux.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -300 lines 0 comments Download
D chrome/nacl/nacl_ipc_adapter.h View 1 chunk +0 lines, -192 lines 0 comments Download
D chrome/nacl/nacl_ipc_adapter.cc View 1 chunk +0 lines, -584 lines 0 comments Download
D chrome/nacl/nacl_ipc_adapter_unittest.cc View 1 chunk +0 lines, -344 lines 0 comments Download
D chrome/nacl/nacl_listener.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -74 lines 0 comments Download
D chrome/nacl/nacl_listener.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -326 lines 0 comments Download
D chrome/nacl/nacl_main.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -67 lines 0 comments Download
D chrome/nacl/nacl_main_platform_delegate.h View 1 chunk +0 lines, -44 lines 0 comments Download
D chrome/nacl/nacl_main_platform_delegate_linux.cc View 1 chunk +0 lines, -51 lines 0 comments Download
D chrome/nacl/nacl_main_platform_delegate_mac.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -82 lines 0 comments Download
D chrome/nacl/nacl_main_platform_delegate_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -94 lines 0 comments Download
D chrome/nacl/nacl_sandbox_linux.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -10 lines 0 comments Download
D chrome/nacl/nacl_sandbox_linux.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -72 lines 0 comments Download
D chrome/nacl/nacl_validation_db.h View 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/nacl/nacl_validation_query.h View 1 chunk +0 lines, -94 lines 0 comments Download
D chrome/nacl/nacl_validation_query.cc View 1 chunk +0 lines, -172 lines 0 comments Download
D chrome/nacl/nacl_validation_query_unittest.cc View 1 chunk +0 lines, -283 lines 0 comments Download
M components/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -0 lines 0 comments Download
A + components/nacl.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +26 lines, -26 lines 0 comments Download
A components/nacl/broker/DEPS View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A + components/nacl/broker/nacl_broker_listener.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
A + components/nacl/broker/nacl_broker_listener.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -5 lines 0 comments Download
A components/nacl/common/DEPS View 1 chunk +3 lines, -0 lines 0 comments Download
A + components/nacl/common/nacl_cmd_line.h View 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/common/nacl_cmd_line.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/common/nacl_debug_exception_handler_win.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/common/nacl_debug_exception_handler_win.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/common/nacl_fork_delegate_linux.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/common/nacl_helper_linux.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/common/nacl_messages.h View 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/common/nacl_messages.cc View 1 chunk +6 lines, -6 lines 0 comments Download
A + components/nacl/common/nacl_paths.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -4 lines 0 comments Download
A + components/nacl/common/nacl_paths.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
A components/nacl/common/nacl_sandbox_type_mac.h View 1 chunk +16 lines, -0 lines 0 comments Download
A + components/nacl/common/nacl_types.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/common/nacl_types.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/loader/DEPS View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -3 lines 0 comments Download
A + components/nacl/loader/nacl_helper_linux.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/loader/nacl_ipc_adapter.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/loader/nacl_ipc_adapter.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/loader/nacl_ipc_adapter_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/loader/nacl_listener.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -4 lines 0 comments Download
A + components/nacl/loader/nacl_listener.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -5 lines 0 comments Download
A + components/nacl/loader/nacl_main.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -5 lines 0 comments Download
A + components/nacl/loader/nacl_main_platform_delegate.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/loader/nacl_main_platform_delegate_linux.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/loader/nacl_main_platform_delegate_mac.mm View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/loader/nacl_main_platform_delegate_win.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/loader/nacl_sandbox_linux.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -3 lines 0 comments Download
A + components/nacl/loader/nacl_sandbox_linux.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/loader/nacl_validation_db.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/loader/nacl_validation_query.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/loader/nacl_validation_query.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + components/nacl/loader/nacl_validation_query_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + components/nacl/zygote/nacl_fork_delegate_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +4 lines, -5 lines 0 comments Download
M components/nacl_common.gyp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +27 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
yael.aharon1
This patch moves chrome/nacl files to components/nacl/nacl. There are 2 levels called "nacl" because later ...
7 years, 6 months ago (2013-06-14 03:29:48 UTC) #1
jam
On 2013/06/14 03:29:48, yael.aharon1 wrote: > This patch moves chrome/nacl files to components/nacl/nacl. There are ...
7 years, 6 months ago (2013-06-14 19:37:40 UTC) #2
Jói
I reviewed components/nacl.gypi and components/nacl/OWNERS which both LGTM. For the review of the rest (under ...
7 years, 6 months ago (2013-06-14 19:43:44 UTC) #3
yael.aharon1
Is there a naming convention in the project for something like this? How about components/nacl/nacl_process?
7 years, 6 months ago (2013-06-14 19:50:32 UTC) #4
Jói
On 2013/06/14 19:50:32, yael.aharon1 wrote: > Is there a naming convention in the project for ...
7 years, 6 months ago (2013-06-14 19:56:14 UTC) #5
Mark Seaborn
On 14 June 2013 12:50, <yael.aharon@chromium.org> wrote: > Is there a naming convention in the ...
7 years, 6 months ago (2013-06-14 20:02:20 UTC) #6
Mark Seaborn
On 14 June 2013 12:50, <yael.aharon@chromium.org> wrote: > Is there a naming convention in the ...
7 years, 6 months ago (2013-06-14 20:02:21 UTC) #7
yael.aharon1
On 2013/06/14 20:02:21, Mark Seaborn wrote: > On 14 June 2013 12:50, <mailto:yael.aharon@chromium.org> wrote: > ...
7 years, 6 months ago (2013-06-14 20:53:50 UTC) #8
jam
https://codereview.chromium.org/16881004/diff/41001/components/nacl/common/nacl_delegate.h File components/nacl/common/nacl_delegate.h (right): https://codereview.chromium.org/16881004/diff/41001/components/nacl/common/nacl_delegate.h#newcode35 components/nacl/common/nacl_delegate.h:35: }; this is very hacky, please find a clean ...
7 years, 6 months ago (2013-06-14 23:18:52 UTC) #9
yael.aharon1
On 2013/06/14 23:18:52, jam wrote: > https://codereview.chromium.org/16881004/diff/41001/components/nacl/common/nacl_delegate.h > File components/nacl/common/nacl_delegate.h (right): > > https://codereview.chromium.org/16881004/diff/41001/components/nacl/common/nacl_delegate.h#newcode35 > ...
7 years, 6 months ago (2013-06-15 17:49:15 UTC) #10
yael.aharon1
Mark Seaborn, as am OWNER for many of these files, can you please review this ...
7 years, 6 months ago (2013-06-17 15:18:19 UTC) #11
yael.aharon1
In order to fix the Windows build, I need to take ProcessNeedsProfileDir() out of the ...
7 years, 6 months ago (2013-06-17 17:08:38 UTC) #12
jam
On 2013/06/17 17:08:38, yael.aharon1 wrote: > In order to fix the Windows build, I need ...
7 years, 6 months ago (2013-06-17 20:10:42 UTC) #13
yael.aharon1
On 2013/06/17 20:10:42, jam wrote: > On 2013/06/17 17:08:38, yael.aharon1 wrote: > > In order ...
7 years, 6 months ago (2013-06-17 21:05:01 UTC) #14
jam
On 2013/06/17 21:05:01, yael.aharon1 wrote: > On 2013/06/17 20:10:42, jam wrote: > > On 2013/06/17 ...
7 years, 6 months ago (2013-06-17 21:39:30 UTC) #15
yael.aharon1
https://codereview.chromium.org/16881004/diff/102001/components/nacl/broker/nacl_exe_win_64.cc File components/nacl/broker/nacl_exe_win_64.cc (right): https://codereview.chromium.org/16881004/diff/102001/components/nacl/broker/nacl_exe_win_64.cc#newcode25 components/nacl/broker/nacl_exe_win_64.cc:25: extern void InitCrashReporter(); On 2013/06/17 20:10:43, jam wrote: > ...
7 years, 6 months ago (2013-06-18 17:16:29 UTC) #16
yael.aharon1
I don't understand why the trybots are updating to revision 206927 which is from 10 ...
7 years, 6 months ago (2013-06-18 19:08:20 UTC) #17
jam
On 2013/06/18 19:08:20, yael.aharon1 wrote: > I don't understand why the trybots are updating to ...
7 years, 6 months ago (2013-06-19 17:55:53 UTC) #18
yael.aharon1
message: On 2013/06/19 17:55:53, jam wrote: > On 2013/06/18 19:08:20, yael.aharon1 wrote: > you can ...
7 years, 6 months ago (2013-06-19 19:32:55 UTC) #19
yael.aharon1
https://codereview.chromium.org/16881004/diff/102001/chrome/chrome_common.gypi File chrome/chrome_common.gypi (right): https://codereview.chromium.org/16881004/diff/102001/chrome/chrome_common.gypi#newcode440 chrome/chrome_common.gypi:440: '../components/nacl/common/nacl_delegate.h', On 2013/06/17 20:10:43, jam wrote: > you shouldn't ...
7 years, 6 months ago (2013-06-19 20:38:52 UTC) #20
cpu_(ooo_6.6-7.5)
apps folder lgtm https://codereview.chromium.org/16881004/diff/100002/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/16881004/diff/100002/chrome/app/chrome_main_delegate.cc#newcode543 chrome/app/chrome_main_delegate.cc:543: process_type == switches::kGpuProcess || indenting seems ...
7 years, 6 months ago (2013-06-20 03:09:44 UTC) #21
yael.aharon1
jam@, I think I addressed all your comments so far. Can you please review the ...
7 years, 6 months ago (2013-06-20 14:05:48 UTC) #22
jam
can you get a nacl owner to look at this first? then when they're done ...
7 years, 6 months ago (2013-06-20 23:20:33 UTC) #23
yael.aharon1
On 2013/06/20 23:20:33, jam wrote: > can you get a nacl owner to look at ...
7 years, 6 months ago (2013-06-20 23:51:01 UTC) #24
Mark Seaborn
https://codereview.chromium.org/16881004/diff/170001/components/nacl/common/nacl_cmd_line.cc File components/nacl/common/nacl_cmd_line.cc (left): https://codereview.chromium.org/16881004/diff/170001/components/nacl/common/nacl_cmd_line.cc#oldcode26 components/nacl/common/nacl_cmd_line.cc:26: switches::kSilentDumpOnDCHECK, Why are these two options being removed? Do ...
7 years, 6 months ago (2013-06-21 00:00:46 UTC) #25
yael.aharon1
I split some parts of this patch out, would appreciate your review. https://codereview.chromium.org/17041003/ - removing ...
7 years, 6 months ago (2013-06-21 03:09:33 UTC) #26
yael.aharon1
I rebased this CL after breaking off https://codereview.chromium.org/17041003/ https://codereview.chromium.org/17379019/ https://codereview.chromium.org/17198013/ What is left in this ...
7 years, 6 months ago (2013-06-25 12:10:57 UTC) #27
yael.aharon1
ping?
7 years, 5 months ago (2013-06-27 13:55:38 UTC) #28
Jói
I reviewed the top-level //components stuff, not the stuff under //components/nacl. Please get folks in ...
7 years, 5 months ago (2013-06-27 14:18:38 UTC) #29
yael.aharon1
On 2013/06/27 14:18:38, Jói wrote: > I reviewed the top-level //components stuff, not the stuff ...
7 years, 5 months ago (2013-06-27 15:03:39 UTC) #30
Mark Seaborn
On 2013/06/27 15:03:39, yael.aharon1 wrote: > Can you please suggest who can review this from ...
7 years, 5 months ago (2013-06-27 15:30:16 UTC) #31
yael.aharon1
On 2013/06/27 15:30:16, Mark Seaborn wrote: > On 2013/06/27 15:03:39, yael.aharon1 wrote: > > Can ...
7 years, 5 months ago (2013-06-27 15:41:28 UTC) #32
Mark Seaborn
https://codereview.chromium.org/16881004/diff/207001/components/nacl/common/nacl_fork_delegate_linux.h File components/nacl/common/nacl_fork_delegate_linux.h (right): https://codereview.chromium.org/16881004/diff/207001/components/nacl/common/nacl_fork_delegate_linux.h#newcode1 components/nacl/common/nacl_fork_delegate_linux.h:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
7 years, 5 months ago (2013-06-27 15:45:52 UTC) #33
yael.aharon1
On 2013/06/27 15:45:52, Mark Seaborn wrote: > https://codereview.chromium.org/16881004/diff/207001/components/nacl/common/nacl_fork_delegate_linux.h > File components/nacl/common/nacl_fork_delegate_linux.h (right): > > https://codereview.chromium.org/16881004/diff/207001/components/nacl/common/nacl_fork_delegate_linux.h#newcode1 ...
7 years, 5 months ago (2013-06-27 15:57:25 UTC) #34
yael.aharon1
I moved nacl_fork_delegate_linux.cc to a folder called zygote. Please let me know if you think ...
7 years, 5 months ago (2013-06-27 16:39:52 UTC) #35
Jói
LGTM for //components/* > https://codereview.chromium.org/16881004/diff/170001/components/nacl.gypi#newcode1 >> >> components/nacl.gypi:1: # Copyright (c) 2012 The Chromium Authors. ...
7 years, 5 months ago (2013-06-27 19:50:15 UTC) #36
Jói
LGTM for //components/* > https://codereview.chromium.org/16881004/diff/170001/components/nacl.gypi#newcode1 >> >> components/nacl.gypi:1: # Copyright (c) 2012 The Chromium Authors. ...
7 years, 5 months ago (2013-06-27 19:50:17 UTC) #37
yael.aharon1
Mark, do you have any other comments? Just FYI, "git blame" is not going to ...
7 years, 5 months ago (2013-06-27 20:41:46 UTC) #38
yael.aharon1
ping?
7 years, 5 months ago (2013-07-05 12:54:36 UTC) #39
Mark Seaborn
7 years, 2 months ago (2013-10-09 19:19:51 UTC) #40
Message was sent while issue was closed.
This change is superseded: Yael split it up into smaller changes, most of which
have been committed now.

Powered by Google App Engine
This is Rietveld 408576698