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

Issue 7349016: Added versioning for PPB_Core::MemAlloc and MemFree (Closed)

Created:
9 years, 5 months ago by Matt Ball
Modified:
9 years, 5 months ago
CC:
chromium-reviews, piman+watch_chromium.org, polina, brettw
Visibility:
Public.

Description

Removed MemAlloc and MemFree from PPB_Core BUG=80610 TEST=Trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92554

Patch Set 1 #

Total comments: 4

Patch Set 2 : Changed the rest of ppapi to use the new core interface #

Patch Set 3 : webkit updates -- still need to update char_set_impl... #

Patch Set 4 : Updated example.cc and char_set stuff #

Patch Set 5 : Removed Core 0.5 interface #

Patch Set 6 : Minor cleanup #

Total comments: 6

Patch Set 7 : Changes based on comments from dmichael #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -79 lines) Patch
M ppapi/c/ppb_core.h View 1 2 3 4 5 2 chunks +2 lines, -20 lines 0 comments Download
M ppapi/cpp/core.h View 1 1 chunk +0 lines, -18 lines 0 comments Download
M ppapi/cpp/dev/scriptable_object_deprecated.cc View 1 2 3 4 5 6 2 chunks +7 lines, -3 lines 0 comments Download
M ppapi/cpp/private/var_private.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M ppapi/cpp/var.cc View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M ppapi/example/example.cc View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M ppapi/proxy/ppb_char_set_proxy.cc View 1 2 3 4 chunks +6 lines, -6 lines 0 comments Download
M ppapi/proxy/ppb_core_proxy.cc View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/shared_impl/char_set_impl.h View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/shared_impl/char_set_impl.cc View 1 2 3 5 chunks +8 lines, -8 lines 0 comments Download
M ppapi/tests/test_char_set.cc View 1 2 3 4 5 6 7 chunks +10 lines, -7 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_char_set_impl.cc View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Matt Ball
This is just a quick checkpoint so you can see what I've done so far. ...
9 years, 5 months ago (2011-07-12 19:07:34 UTC) #1
dmichael (off chromium)
A little early feedback. Thanks for working on this! http://codereview.chromium.org/7349016/diff/1/ppapi/c/ppb_core.h File ppapi/c/ppb_core.h (right): http://codereview.chromium.org/7349016/diff/1/ppapi/c/ppb_core.h#newcode17 ppapi/c/ppb_core.h:17: ...
9 years, 5 months ago (2011-07-12 19:10:27 UTC) #2
Matt Ball
Thanks for the early feedback! I've got a slightly more complete version that I'm currently ...
9 years, 5 months ago (2011-07-12 23:15:26 UTC) #3
Matt Ball
PTAL I think it's ready for review now.
9 years, 5 months ago (2011-07-13 19:58:44 UTC) #4
dmichael (off chromium)
some suggestions/nits, but o/w LGTM Great work! http://codereview.chromium.org/7349016/diff/12001/ppapi/cpp/var.cc File ppapi/cpp/var.cc (right): http://codereview.chromium.org/7349016/diff/12001/ppapi/cpp/var.cc#newcode13 ppapi/cpp/var.cc:13: #include "ppapi/c/dev/ppb_memory_dev.h" ...
9 years, 5 months ago (2011-07-14 05:28:21 UTC) #5
Matt Ball
9 years, 5 months ago (2011-07-14 15:49:20 UTC) #6
http://codereview.chromium.org/7349016/diff/12001/ppapi/cpp/var.cc
File ppapi/cpp/var.cc (right):

http://codereview.chromium.org/7349016/diff/12001/ppapi/cpp/var.cc#newcode13
ppapi/cpp/var.cc:13: #include "ppapi/c/dev/ppb_memory_dev.h"
On 2011/07/14 05:28:21, dmichael1 wrote:
> nit: This should probably come first alphabetically (though admittedly things
> are already a bit off here

Done.

http://codereview.chromium.org/7349016/diff/12001/ppapi/example/example.cc
File ppapi/example/example.cc (right):

http://codereview.chromium.org/7349016/diff/12001/ppapi/example/example.cc#ne...
ppapi/example/example.cc:336: reinterpret_cast<PP_PrintOutputFormat_Dev*>(
On 2011/07/14 05:28:21, dmichael1 wrote:
> optional: Since you're in the neighborhood, you could make that a static_cast

Done.

http://codereview.chromium.org/7349016/diff/12001/ppapi/proxy/ppb_core_proxy.cc
File ppapi/proxy/ppb_core_proxy.cc (right):

http://codereview.chromium.org/7349016/diff/12001/ppapi/proxy/ppb_core_proxy....
ppapi/proxy/ppb_core_proxy.cc:96: };
On 2011/07/14 05:28:21, dmichael1 wrote:
> I'm not sure moving it here buys you much. I guess it's a little less exposed
> (function scope instead of file scope), but it also makes it different from
all
> the other GetInfo functions. <shrug/>

Done.

Powered by Google App Engine
This is Rietveld 408576698