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

Issue 12702011: Pepper: Unify Buffer and BufferTrusted APIs. (Closed)

Created:
7 years, 9 months ago by teravest
Modified:
7 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Pepper: Unify Buffer and BufferTrusted APIs. For consistency, APIs with both normal/trusted and normal/private interfaces will be merged together. This also makes it easer to generate thunks for more IDL files, since the API name (and file name) can be derived without extra annotations. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=190122

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comment nits. #

Total comments: 6

Patch Set 3 : Remove stale includes #

Patch Set 4 : Fix build errors.; #

Patch Set 5 : Remove proxy implementation of GetSharedMemory. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -47 lines) Patch
M content/renderer/pepper/pepper_video_capture_host.cc View 2 chunks +1 line, -2 lines 0 comments Download
M ppapi/generators/idl_thunk.py View 1 2 chunks +5 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/ppb_buffer_proxy.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_buffer_proxy.cc View 1 2 3 4 3 chunks +6 lines, -2 lines 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M ppapi/shared_impl/resource.h View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/thunk/ppb_buffer_api.h View 1 chunk +3 lines, -0 lines 0 comments Download
D ppapi/thunk/ppb_buffer_trusted_api.h View 1 chunk +0 lines, -25 lines 0 comments Download
M ppapi/thunk/ppb_buffer_trusted_thunk.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webkit/plugins/ppapi/ppb_buffer_impl.h View 1 2 4 chunks +2 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/ppb_buffer_impl.cc View 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
teravest
7 years, 9 months ago (2013-03-20 14:44:11 UTC) #1
dmichael (off chromium)
lgtm https://codereview.chromium.org/12702011/diff/1/ppapi/generators/idl_thunk.py File ppapi/generators/idl_thunk.py (right): https://codereview.chromium.org/12702011/diff/1/ppapi/generators/idl_thunk.py#newcode108 ppapi/generators/idl_thunk.py:108: # Clip off _dev suffix. s/_dev/_trusted https://codereview.chromium.org/12702011/diff/1/webkit/plugins/ppapi/ppb_buffer_impl.h File ...
7 years, 9 months ago (2013-03-20 16:50:37 UTC) #2
teravest
+yzshen for content/renderer/pepper/OWNERS
7 years, 9 months ago (2013-03-20 17:03:06 UTC) #3
teravest
https://codereview.chromium.org/12702011/diff/1/ppapi/generators/idl_thunk.py File ppapi/generators/idl_thunk.py (right): https://codereview.chromium.org/12702011/diff/1/ppapi/generators/idl_thunk.py#newcode108 ppapi/generators/idl_thunk.py:108: # Clip off _dev suffix. On 2013/03/20 16:50:37, dmichael ...
7 years, 9 months ago (2013-03-20 17:03:27 UTC) #4
yzshen1
https://codereview.chromium.org/12702011/diff/5001/ppapi/proxy/ppb_buffer_proxy.cc File ppapi/proxy/ppb_buffer_proxy.cc (right): https://codereview.chromium.org/12702011/diff/5001/ppapi/proxy/ppb_buffer_proxy.cc#newcode19 ppapi/proxy/ppb_buffer_proxy.cc:19: #include "ppapi/thunk/ppb_buffer_trusted_api.h" This needs to be changed, right? https://codereview.chromium.org/12702011/diff/5001/ppapi/proxy/ppp_content_decryptor_private_proxy.cc ...
7 years, 9 months ago (2013-03-20 17:08:38 UTC) #5
teravest
Thanks for catching the stale includes. Removed. https://codereview.chromium.org/12702011/diff/5001/ppapi/proxy/ppb_buffer_proxy.cc File ppapi/proxy/ppb_buffer_proxy.cc (right): https://codereview.chromium.org/12702011/diff/5001/ppapi/proxy/ppb_buffer_proxy.cc#newcode19 ppapi/proxy/ppb_buffer_proxy.cc:19: #include "ppapi/thunk/ppb_buffer_trusted_api.h" ...
7 years, 9 months ago (2013-03-20 17:12:41 UTC) #6
yzshen1
lgtm
7 years, 9 months ago (2013-03-20 17:18:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/12702011/9001
7 years, 9 months ago (2013-03-20 17:20:19 UTC) #8
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-20 17:42:51 UTC) #9
teravest
Looks like the proxy wasn't handling GetSharedMemory(), and I forgot to add it. Fixing that ...
7 years, 9 months ago (2013-03-20 20:08:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/12702011/26001
7 years, 9 months ago (2013-03-20 21:12:43 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=125211
7 years, 9 months ago (2013-03-20 23:11:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/12702011/26001
7 years, 9 months ago (2013-03-21 14:30:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/12702011/26001
7 years, 9 months ago (2013-03-22 18:32:37 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/12702011/26001
7 years, 9 months ago (2013-03-23 15:18:30 UTC) #15
commit-bot: I haz the power
7 years, 9 months ago (2013-03-23 23:50:50 UTC) #16
Message was sent while issue was closed.
Change committed as 190122

Powered by Google App Engine
This is Rietveld 408576698