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

Issue 876483002: NaCl: Move src/trusted/plugin/ to components/nacl/renderer/plugin/ (Closed)

Created:
5 years, 11 months ago by Mark Seaborn
Modified:
5 years, 10 months ago
CC:
chromium-reviews, dmichael (off chromium), jvoung (off chromium), Derek Schuff
Base URL:
http://git.chromium.org/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

NaCl: Move src/trusted/plugin/ to components/nacl/renderer/plugin/ This moves the "trusted plugin" code so that all the NaCl renderer-side code is in the same place, under components/nacl/renderer/. I've used the "renderer/plugin/" subdir so that this legacy code is distinguished from the newer code that's directly under "renderer/". This will make further incremental cleanups easier: It will enable closer integration between renderer/* and renderer/plugin/*. Rather than indirecting through PPB_NaCl_Private/PPP_PexeStreamHandler, it would be reasonable for the two sides to share pointers to C++ objects. Doing that will be more acceptable when the two sides live in the same directory. * chrome/chrome_tests.gypi: Declaring a runtime dependency isn't necessary since the trusted plugin isn't a separate DSO/DLL these days. * .gitignore: Remove reference to ppGoogleNaClPluginChrome.xml, which no longer exists. * module_ppapi.h: Added an #include guard. BUG=239656 TEST=trybots Committed: https://crrev.com/45df3da06ad59fd20f0c3e7efdd9bc4b5a0e213f Cr-Commit-Position: refs/heads/master@{#313759}

Patch Set 1 #

Patch Set 2 : Update more references #

Patch Set 3 : Rebase + #include order #

Total comments: 4

Patch Set 4 : Update #include guards #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -3961 lines) Patch
M .gitignore View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/BUILD.gn View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/DEPS View 2 chunks +1 line, -1 line 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome.gyp View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +0 lines, -4 lines 1 comment Download
M chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M components/nacl.gyp View 1 chunk +1 line, -1 line 0 comments Download
M components/nacl/renderer/histogram.cc View 3 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/renderer/plugin/DEPS View 1 chunk +6 lines, -0 lines 0 comments Download
A + components/nacl/renderer/plugin/module_ppapi.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
A + components/nacl/renderer/plugin/module_ppapi.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
A + components/nacl/renderer/plugin/nacl_subprocess.h View 1 2 3 2 chunks +5 lines, -6 lines 0 comments Download
A + components/nacl/renderer/plugin/nacl_subprocess.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A + components/nacl/renderer/plugin/plugin.h View 1 2 3 2 chunks +7 lines, -10 lines 0 comments Download
A + components/nacl/renderer/plugin/plugin.cc View 1 2 2 chunks +5 lines, -7 lines 0 comments Download
A + components/nacl/renderer/plugin/plugin.gyp View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/nacl/renderer/plugin/plugin.gypi View 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/renderer/plugin/plugin_error.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/renderer/plugin/pnacl_coordinator.h View 1 2 3 2 chunks +6 lines, -9 lines 0 comments Download
A + components/nacl/renderer/plugin/pnacl_coordinator.cc View 1 2 1 chunk +6 lines, -8 lines 0 comments Download
A + components/nacl/renderer/plugin/pnacl_resources.h View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
A + components/nacl/renderer/plugin/pnacl_resources.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A + components/nacl/renderer/plugin/pnacl_translate_thread.h View 1 2 3 2 chunks +6 lines, -8 lines 0 comments Download
A + components/nacl/renderer/plugin/pnacl_translate_thread.cc View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
A + components/nacl/renderer/plugin/ppapi_entrypoints.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/renderer/plugin/ppapi_entrypoints.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A + components/nacl/renderer/plugin/sel_ldr_launcher_chrome.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
A + components/nacl/renderer/plugin/sel_ldr_launcher_chrome.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/renderer/plugin/service_runtime.h View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
A + components/nacl/renderer/plugin/service_runtime.cc View 1 2 1 chunk +12 lines, -16 lines 0 comments Download
A + components/nacl/renderer/plugin/srpc_client.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
A + components/nacl/renderer/plugin/srpc_client.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
A + components/nacl/renderer/plugin/srpc_params.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/renderer/plugin/srpc_params.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/nacl/renderer/plugin/temporary_file.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/renderer/plugin/temporary_file.cc View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
A + components/nacl/renderer/plugin/utility.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
A + components/nacl/renderer/plugin/utility.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/common/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M extensions/shell/common/shell_content_client.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ppapi/native_client/DEPS View 1 chunk +0 lines, -2 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/DEPS View 1 chunk +0 lines, -7 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/module_ppapi.h View 1 2 1 chunk +0 lines, -34 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/module_ppapi.cc View 1 chunk +0 lines, -87 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/nacl_subprocess.h View 1 2 1 chunk +0 lines, -86 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/nacl_subprocess.cc View 1 2 1 chunk +0 lines, -146 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/plugin.h View 1 2 1 chunk +0 lines, -187 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/plugin.cc View 1 chunk +0 lines, -377 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/plugin.gyp View 1 chunk +0 lines, -34 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/plugin.gypi View 1 chunk +0 lines, -82 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/plugin_error.h View 1 chunk +0 lines, -48 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h View 1 chunk +0 lines, -194 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc View 1 chunk +0 lines, -458 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/pnacl_resources.h View 1 chunk +0 lines, -62 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/pnacl_resources.cc View 1 chunk +0 lines, -80 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h View 1 chunk +0 lines, -134 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc View 1 chunk +0 lines, -443 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/ppapi_entrypoints.h View 1 chunk +0 lines, -21 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/ppapi_entrypoints.cc View 1 chunk +0 lines, -39 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.h View 1 2 1 chunk +0 lines, -26 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc View 1 chunk +0 lines, -21 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/service_runtime.h View 1 chunk +0 lines, -127 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/service_runtime.cc View 1 2 1 chunk +0 lines, -305 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/srpc_client.h View 1 chunk +0 lines, -68 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/srpc_client.cc View 1 chunk +0 lines, -199 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/srpc_params.h View 1 chunk +0 lines, -50 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/srpc_params.cc View 1 chunk +0 lines, -119 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/temporary_file.h View 1 chunk +0 lines, -69 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/temporary_file.cc View 1 chunk +0 lines, -84 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/utility.h View 1 chunk +0 lines, -77 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/utility.cc View 1 chunk +0 lines, -150 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
Mark Seaborn
5 years, 10 months ago (2015-01-28 21:32:39 UTC) #2
teravest
lgtm After committing this, you'll probably want to clean up some paths in native_client/pnacl/driver/pnacl-translate.py comments.
5 years, 10 months ago (2015-01-28 21:57:25 UTC) #3
jvoung (off chromium)
cool! https://codereview.chromium.org/876483002/diff/40001/components/nacl/renderer/plugin/module_ppapi.h File components/nacl/renderer/plugin/module_ppapi.h (right): https://codereview.chromium.org/876483002/diff/40001/components/nacl/renderer/plugin/module_ppapi.h#newcode6 components/nacl/renderer/plugin/module_ppapi.h:6: Hmm never noticed that this doesn't have an ...
5 years, 10 months ago (2015-01-28 22:18:17 UTC) #5
Mark Seaborn
https://codereview.chromium.org/876483002/diff/40001/components/nacl/renderer/plugin/module_ppapi.h File components/nacl/renderer/plugin/module_ppapi.h (right): https://codereview.chromium.org/876483002/diff/40001/components/nacl/renderer/plugin/module_ppapi.h#newcode6 components/nacl/renderer/plugin/module_ppapi.h:6: On 2015/01/28 22:18:17, jvoung wrote: > Hmm never noticed ...
5 years, 10 months ago (2015-01-29 05:35:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/876483002/60001
5 years, 10 months ago (2015-01-29 05:37:01 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/39104)
5 years, 10 months ago (2015-01-29 05:43:10 UTC) #10
Mark Seaborn
For OWNERS sign-offs: +thakis for chrome/ +jamescook for extensions/shell/
5 years, 10 months ago (2015-01-29 05:52:20 UTC) #12
Nico
https://codereview.chromium.org/876483002/diff/60001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (left): https://codereview.chromium.org/876483002/diff/60001/chrome/chrome_tests.gypi#oldcode2035 chrome/chrome_tests.gypi:2035: # Runtime dependency. Is this no longer needed?
5 years, 10 months ago (2015-01-29 05:56:58 UTC) #13
Nico
err nvm, explained in the cl description. chrome/ lgtm
5 years, 10 months ago (2015-01-29 05:57:19 UTC) #14
James Cook
extensions/shell lgtm
5 years, 10 months ago (2015-01-29 19:17:24 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/876483002/60001
5 years, 10 months ago (2015-01-29 19:34:58 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 10 months ago (2015-01-29 19:39:51 UTC) #18
commit-bot: I haz the power
5 years, 10 months ago (2015-01-29 19:42:05 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/45df3da06ad59fd20f0c3e7efdd9bc4b5a0e213f
Cr-Commit-Position: refs/heads/master@{#313759}

Powered by Google App Engine
This is Rietveld 408576698