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

Issue 23346009: [PPAPI] Added a new Var subclass, ResourceVar. (Closed)

Created:
7 years, 4 months ago by Matt Giuca
Modified:
7 years, 3 months ago
Reviewers:
raymes, yzshen1
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

[PPAPI] Added a new Var subclass, ResourceVar. This var type holds PP_Resource objects, and will have vartype PP_VARTYPE_RESOURCE. Currently, there is no such vartype, so it is not yet possible to use this class. BUG=177017 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220905

Patch Set 1 #

Total comments: 23

Patch Set 2 : ResourceVar has IPC::Message instead of custom struct. #

Patch Set 3 : Moved ResourceVar to a new file. #

Total comments: 1

Patch Set 4 : Added constructor that takes IPC::Message. #

Total comments: 14

Patch Set 5 : Respond to yzshen feedback. #

Patch Set 6 : Rebase. #

Patch Set 7 : gyp: Fix linker errors by linking against ipc.dll. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -0 lines) Patch
M ppapi/ppapi_internal.gyp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A ppapi/shared_impl/resource_var.h View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
A ppapi/shared_impl/resource_var.cc View 1 2 3 4 1 chunk +36 lines, -0 lines 0 comments Download
M ppapi/shared_impl/var.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/shared_impl/var.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Matt Giuca
https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h File ppapi/shared_impl/var.h (right): https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h#newcode197 ppapi/shared_impl/var.h:197: struct PPAPI_SHARED_EXPORT ResourceInfo { The reason I put this ...
7 years, 4 months ago (2013-08-23 08:41:16 UTC) #1
raymes
https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h File ppapi/shared_impl/var.h (right): https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h#newcode212 ppapi/shared_impl/var.h:212: PP_FileSystemType file_system_type; As discussed could this be an IPC::Message ...
7 years, 4 months ago (2013-08-26 00:06:11 UTC) #2
yzshen1
Thanks, Matt! https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h File ppapi/shared_impl/var.h (right): https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h#newcode194 ppapi/shared_impl/var.h:194: // ResourceVar ----------------------------------------------------------------- Please consider a separate ...
7 years, 3 months ago (2013-08-26 17:20:46 UTC) #3
Matt Giuca
https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h File ppapi/shared_impl/var.h (right): https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h#newcode194 ppapi/shared_impl/var.h:194: // ResourceVar ----------------------------------------------------------------- On 2013/08/26 17:20:46, yzshen1 wrote: > ...
7 years, 3 months ago (2013-08-28 07:12:13 UTC) #4
yzshen1
https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h File ppapi/shared_impl/var.h (right): https://codereview.chromium.org/23346009/diff/1/ppapi/shared_impl/var.h#newcode246 ppapi/shared_impl/var.h:246: ResourceInfo* mutable_data() { return &data_; } On 2013/08/28 07:12:14, ...
7 years, 3 months ago (2013-08-28 17:31:58 UTC) #5
Matt Giuca
https://codereview.chromium.org/23346009/diff/21001/ppapi/shared_impl/resource_var.cc File ppapi/shared_impl/resource_var.cc (right): https://codereview.chromium.org/23346009/diff/21001/ppapi/shared_impl/resource_var.cc#newcode14 ppapi/shared_impl/resource_var.cc:14: : creation_message_(creation_message) {} On 2013/08/28 17:31:58, yzshen1 wrote: > ...
7 years, 3 months ago (2013-08-29 01:44:47 UTC) #6
yzshen1
https://codereview.chromium.org/23346009/diff/21001/ppapi/shared_impl/resource_var.h File ppapi/shared_impl/resource_var.h (right): https://codereview.chromium.org/23346009/diff/21001/ppapi/shared_impl/resource_var.h#newcode51 ppapi/shared_impl/resource_var.h:51: PP_Resource resource_id_; > When passing a resource from host ...
7 years, 3 months ago (2013-08-30 00:25:26 UTC) #7
Matt Giuca
https://codereview.chromium.org/23346009/diff/21001/ppapi/shared_impl/resource_var.h File ppapi/shared_impl/resource_var.h (right): https://codereview.chromium.org/23346009/diff/21001/ppapi/shared_impl/resource_var.h#newcode51 ppapi/shared_impl/resource_var.h:51: PP_Resource resource_id_; Thanks for explaining. OK it sounds like ...
7 years, 3 months ago (2013-08-30 02:55:19 UTC) #8
yzshen1
On 2013/08/30 02:55:19, Matt Giuca wrote: > https://codereview.chromium.org/23346009/diff/21001/ppapi/shared_impl/resource_var.h > File ppapi/shared_impl/resource_var.h (right): > > https://codereview.chromium.org/23346009/diff/21001/ppapi/shared_impl/resource_var.h#newcode51 ...
7 years, 3 months ago (2013-08-30 16:50:24 UTC) #9
raymes
We will still need fields for pending host IDs correct?
7 years, 3 months ago (2013-09-01 23:41:27 UTC) #10
Matt Giuca
On 2013/09/01 23:41:27, raymes wrote: > We will still need fields for pending host IDs ...
7 years, 3 months ago (2013-09-02 00:00:02 UTC) #11
raymes
lgtm I think we may need them down the track, but it's easy to add ...
7 years, 3 months ago (2013-09-02 00:20:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/23346009/37001
7 years, 3 months ago (2013-09-02 06:04:28 UTC) #13
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 3 months ago (2013-09-02 06:34:29 UTC) #14
Matt Giuca
I got it working on Win (and hopefully Mac). Raymes, can you take a quick ...
7 years, 3 months ago (2013-09-03 01:42:39 UTC) #15
raymes
lgtm On Tue, Sep 3, 2013 at 11:42 AM, <mgiuca@chromium.org> wrote: > I got it ...
7 years, 3 months ago (2013-09-03 03:01:51 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/23346009/66001
7 years, 3 months ago (2013-09-03 03:02:51 UTC) #17
commit-bot: I haz the power
7 years, 3 months ago (2013-09-03 07:09:46 UTC) #18
Message was sent while issue was closed.
Change committed as 220905

Powered by Google App Engine
This is Rietveld 408576698