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

Issue 69663002: PPAPI: Implement PPB_FileMapping on POSIX (Closed)

Created:
7 years, 1 month ago by dmichael (off chromium)
Modified:
6 years, 10 months ago
Reviewers:
teravest, bbudge
CC:
chromium-reviews, tzik
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Moved to ppb_file_mapping_dev, compiles for POSIXwq #

Patch Set 3 : Rough patch. Starting testing. #

Patch Set 4 : Simple test passes now. #

Patch Set 5 : Test that we can write to the memory region and affect the file. #

Patch Set 6 : Merge, adopt new safe numerics stuff #

Patch Set 7 : Unmap now uses a completion callback #

Patch Set 8 : add testing for partial regions #

Patch Set 9 : Fix Windows build? #

Total comments: 29

Patch Set 10 : review comments #

Patch Set 11 : bbudge review comment, fix windows build (probably) #

Total comments: 12

Patch Set 12 : bbudge review comments #

Total comments: 7

Patch Set 13 : bbudge's review comments #

Patch Set 14 : merge #

Patch Set 15 : merge #

Patch Set 16 : fix missing return #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1113 lines, -13 lines) Patch
M chrome/browser/component_updater/ppapi_utils.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +10 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper/plugin_module.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/api/ppb_file_mapping.idl View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/c/ppb_file_mapping.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -6 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -4 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download
M ppapi/proxy/file_io_resource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -1 line 0 comments Download
A ppapi/proxy/file_mapping_resource.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +77 lines, -0 lines 0 comments Download
A ppapi/proxy/file_mapping_resource.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +160 lines, -0 lines 0 comments Download
A ppapi/proxy/file_mapping_resource_posix.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +89 lines, -0 lines 0 comments Download
A ppapi/proxy/file_mapping_resource_win.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +40 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/shared_impl/resource.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/shared_impl/singleton_resource_id.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/all_c_includes.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A ppapi/tests/test_file_mapping.h View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
A ppapi/tests/test_file_mapping.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +540 lines, -0 lines 0 comments Download
M ppapi/thunk/enter.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev_channel.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A ppapi/thunk/ppb_file_mapping_api.h View 1 2 3 4 5 6 7 8 9 1 chunk +46 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_file_mapping_thunk.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +77 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
dmichael (off chromium)
I think this is pretty much ready for review. Wasn't sure of a good way ...
6 years, 11 months ago (2014-01-23 20:19:18 UTC) #1
teravest
https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc File ppapi/proxy/file_mapping_resource.cc (right): https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc#newcode1 ppapi/proxy/file_mapping_resource.cc:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
6 years, 11 months ago (2014-01-23 21:40:57 UTC) #2
bbudge
https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc File ppapi/proxy/file_mapping_resource.cc (right): https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc#newcode74 ppapi/proxy/file_mapping_resource.cc:74: return PP_ERROR_BADARGUMENT; Kind of a gray area, but this ...
6 years, 11 months ago (2014-01-23 23:01:02 UTC) #3
dmichael (off chromium)
Thanks, guys! Comments addressed. https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc File ppapi/proxy/file_mapping_resource.cc (right): https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc#newcode1 ppapi/proxy/file_mapping_resource.cc:1: // Copyright (c) 2013 The ...
6 years, 11 months ago (2014-01-24 20:02:49 UTC) #4
bbudge
https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc File ppapi/proxy/file_mapping_resource.cc (right): https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc#newcode74 ppapi/proxy/file_mapping_resource.cc:74: return PP_ERROR_BADARGUMENT; On 2014/01/24 20:02:50, dmichael wrote: > On ...
6 years, 11 months ago (2014-01-24 21:41:21 UTC) #5
dmichael (off chromium)
https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc File ppapi/proxy/file_mapping_resource.cc (right): https://codereview.chromium.org/69663002/diff/310001/ppapi/proxy/file_mapping_resource.cc#newcode74 ppapi/proxy/file_mapping_resource.cc:74: return PP_ERROR_BADARGUMENT; On 2014/01/24 21:41:21, bbudge wrote: > On ...
6 years, 11 months ago (2014-01-24 22:05:12 UTC) #6
bbudge
https://codereview.chromium.org/69663002/diff/550001/ppapi/proxy/file_mapping_resource.cc File ppapi/proxy/file_mapping_resource.cc (right): https://codereview.chromium.org/69663002/diff/550001/ppapi/proxy/file_mapping_resource.cc#newcode56 ppapi/proxy/file_mapping_resource.cc:56: // Ensure no bits that we don't recognize are ...
6 years, 11 months ago (2014-01-25 01:04:54 UTC) #7
dmichael (off chromium)
https://codereview.chromium.org/69663002/diff/550001/ppapi/proxy/file_mapping_resource.cc File ppapi/proxy/file_mapping_resource.cc (right): https://codereview.chromium.org/69663002/diff/550001/ppapi/proxy/file_mapping_resource.cc#newcode56 ppapi/proxy/file_mapping_resource.cc:56: // Ensure no bits that we don't recognize are ...
6 years, 11 months ago (2014-01-27 18:29:52 UTC) #8
bbudge
Nice work. Couple of nits. LGTM https://codereview.chromium.org/69663002/diff/840001/ppapi/proxy/file_mapping_resource.h File ppapi/proxy/file_mapping_resource.h (right): https://codereview.chromium.org/69663002/diff/840001/ppapi/proxy/file_mapping_resource.h#newcode34 ppapi/proxy/file_mapping_resource.h:34: uint32_t map_flags, nit: ...
6 years, 11 months ago (2014-01-27 18:56:43 UTC) #9
dmichael (off chromium)
Thanks, Bill! Comments addressed. https://codereview.chromium.org/69663002/diff/840001/ppapi/tests/test_file_mapping.cc File ppapi/tests/test_file_mapping.cc (right): https://codereview.chromium.org/69663002/diff/840001/ppapi/tests/test_file_mapping.cc#newcode144 ppapi/tests/test_file_mapping.cc:144: // FIXME(dmichael): Make sure our ...
6 years, 11 months ago (2014-01-27 19:20:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/69663002/890001
6 years, 11 months ago (2014-01-27 19:35:27 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/test/ppapi/ppapi_browsertest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 11 months ago (2014-01-27 19:35:39 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/69663002/910001
6 years, 11 months ago (2014-01-27 21:30:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/69663002/910001
6 years, 11 months ago (2014-01-27 23:57:01 UTC) #14
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 11 months ago (2014-01-28 00:22:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/69663002/930001
6 years, 11 months ago (2014-01-28 00:24:57 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=252568
6 years, 11 months ago (2014-01-28 02:53:03 UTC) #17
dmichael (off chromium)
Committed patchset #15 manually as r247473 (presubmit successful).
6 years, 10 months ago (2014-01-28 18:36:31 UTC) #18
haitaol1
A revert of this CL has been created in https://codereview.chromium.org/131543007/ by haitaol@chromium.org. The reason for ...
6 years, 10 months ago (2014-01-28 18:47:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/69663002/920027
6 years, 10 months ago (2014-01-28 19:25:37 UTC) #20
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) remoting_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=217389
6 years, 10 months ago (2014-01-28 21:40:03 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/69663002/920027
6 years, 10 months ago (2014-01-28 23:06:51 UTC) #22
commit-bot: I haz the power
6 years, 10 months ago (2014-01-29 00:50:09 UTC) #23
Message was sent while issue was closed.
Change committed as 247546

Powered by Google App Engine
This is Rietveld 408576698