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

Issue 264943003: Pepper: Move manifest logic to components/nacl. (Closed)

Created:
6 years, 7 months ago by teravest
Modified:
6 years, 7 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, yzshen+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org
Visibility:
Public.

Description

Pepper: Move manifest logic to components/nacl. The goal of the trusted plugin refactor is to move as much code as possible out of ppapi/native_client/src/trusted/plugin. This change moves all the manifest parsing and lookup logic out of the trusted plugin at once; it's hard to move piecemeal. BUG=353592 R=bbudge@chromium.org, mallinath@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268250 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268280 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268535

Patch Set 1 : Fix missing space in error message #

Patch Set 2 : Rebased #

Total comments: 15

Patch Set 3 : Fixes for bbudge #

Patch Set 4 : rebased #

Patch Set 5 : fix static initializers #

Patch Set 6 : fix static initializers again #

Patch Set 7 : fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+545 lines, -1209 lines) Patch
M components/nacl.gyp View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M components/nacl/renderer/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A components/nacl/renderer/json_manifest.h View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
A + components/nacl/renderer/json_manifest.cc View 1 20 chunks +218 lines, -238 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 3 4 5 6 4 chunks +126 lines, -2 lines 0 comments Download
M ppapi/api/private/ppb_nacl_private.idl View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 1 2 3 2 chunks +17 lines, -1 line 0 comments Download
D ppapi/native_client/src/trusted/plugin/json_manifest.h View 1 1 chunk +0 lines, -100 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/json_manifest.cc View 1 1 chunk +0 lines, -674 lines 0 comments Download
D ppapi/native_client/src/trusted/plugin/manifest.h View 1 1 chunk +0 lines, -66 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.h View 1 2 3 5 chunks +3 lines, -7 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 2 3 9 chunks +20 lines, -31 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/plugin.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc View 1 2 5 chunks +6 lines, -62 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_resources.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h View 4 chunks +3 lines, -4 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc View 7 chunks +8 lines, -8 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.h View 1 2 3 4 chunks +3 lines, -4 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/service_runtime.cc View 1 2 3 6 chunks +11 lines, -7 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 2 chunks +31 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
teravest
6 years, 7 months ago (2014-05-01 20:36:33 UTC) #1
bbudge
This is exciting. https://codereview.chromium.org/264943003/diff/70022/components/nacl/renderer/json_manifest.cc File components/nacl/renderer/json_manifest.cc (left): https://codereview.chromium.org/264943003/diff/70022/components/nacl/renderer/json_manifest.cc#oldcode23 components/nacl/renderer/json_manifest.cc:23: #include "third_party/jsoncpp/source/include/json/reader.h" Nice to get rid ...
6 years, 7 months ago (2014-05-01 23:32:33 UTC) #2
teravest
https://codereview.chromium.org/264943003/diff/70022/components/nacl/renderer/json_manifest.h File components/nacl/renderer/json_manifest.h (right): https://codereview.chromium.org/264943003/diff/70022/components/nacl/renderer/json_manifest.h#newcode9 components/nacl/renderer/json_manifest.h:9: #include <string> On 2014/05/01 23:32:33, bbudge wrote: > Blank ...
6 years, 7 months ago (2014-05-02 14:23:15 UTC) #3
teravest
+mallinath for adding third_party/jsoncpp/source/include/json to DEPS.
6 years, 7 months ago (2014-05-02 15:46:04 UTC) #4
Mallinath (Gone from Chromium)
lgtm for DEPS changes
6 years, 7 months ago (2014-05-02 16:41:27 UTC) #5
teravest
Bill, Mind taking another look? I'm eager to get this one in since it touches ...
6 years, 7 months ago (2014-05-05 16:47:16 UTC) #6
bbudge
LGTM Thanks
6 years, 7 months ago (2014-05-05 16:49:43 UTC) #7
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 7 months ago (2014-05-05 17:23:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/264943003/130001
6 years, 7 months ago (2014-05-05 17:24:52 UTC) #9
teravest
Committed patchset #4 manually as r268250 (presubmit successful).
6 years, 7 months ago (2014-05-05 19:42:13 UTC) #10
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 7 months ago (2014-05-05 21:28:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/264943003/150001
6 years, 7 months ago (2014-05-05 21:28:47 UTC) #12
teravest
Committed patchset #5 manually as r268280 (presubmit successful).
6 years, 7 months ago (2014-05-05 21:46:45 UTC) #13
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 7 months ago (2014-05-06 14:45:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/264943003/190001
6 years, 7 months ago (2014-05-06 14:46:13 UTC) #15
teravest
6 years, 7 months ago (2014-05-06 16:50:56 UTC) #16
Message was sent while issue was closed.
Committed patchset #7 manually as r268535 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698