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

Issue 130053003: [Pepper] Wire up append mode writing support of FileIO (Closed)

Created:
6 years, 11 months ago by tzik
Modified:
6 years, 10 months ago
Reviewers:
bbudge, jschuh
CC:
chromium-reviews
Visibility:
Public.

Description

[Pepper] Wire up append mode writing support of FileIO BUG=334171 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247504

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : #

Total comments: 4

Patch Set 6 : buildfix #

Patch Set 7 : s/file_growth/file_growths/ #

Total comments: 7

Patch Set 8 : fix ppapi_unittests #

Patch Set 9 : s/max_written_offsets/file_sizes/g #

Total comments: 4

Patch Set 10 : +ForTesting #

Patch Set 11 : s/growth/growths/ #

Patch Set 12 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -81 lines) Patch
M content/browser/renderer_host/pepper/pepper_file_io_host.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_file_io_host.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -4 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_file_system_browser_host.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_file_system_browser_host.cc View 1 2 3 4 5 6 7 8 9 4 chunks +3 lines, -8 lines 0 comments Download
M content/browser/renderer_host/pepper/quota_reservation.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -7 lines 0 comments Download
M ppapi/proxy/file_io_resource.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -3 lines 0 comments Download
M ppapi/proxy/file_system_resource.cc View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -9 lines 0 comments Download
M ppapi/proxy/file_system_resource_unittest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +9 lines, -9 lines 0 comments Download
M ppapi/proxy/nacl_message_scanner.cc View 1 2 3 4 5 6 7 8 5 chunks +20 lines, -15 lines 0 comments Download
M ppapi/proxy/nacl_message_scanner_unittest.cc View 1 2 3 4 5 6 7 8 9 5 chunks +16 lines, -16 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 4 chunks +10 lines, -7 lines 0 comments Download
M ppapi/shared_impl/file_growth.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/shared_impl/file_growth.cc View 1 2 3 4 5 6 7 8 9 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
tzik
Hi. Bill: This is wiring part append mode write from/to Pepper IPC, and hopefully last ...
6 years, 11 months ago (2014-01-20 12:19:49 UTC) #1
bbudge
https://codereview.chromium.org/130053003/diff/90005/content/browser/renderer_host/pepper/pepper_file_io_host.cc File content/browser/renderer_host/pepper/pepper_file_io_host.cc (right): https://codereview.chromium.org/130053003/diff/90005/content/browser/renderer_host/pepper/pepper_file_io_host.cc#newcode337 content/browser/renderer_host/pepper/pepper_file_io_host.cc:337: int64_t max_written_offset) { function signature isn't updated to new ...
6 years, 11 months ago (2014-01-21 18:03:50 UTC) #2
bbudge
6 years, 11 months ago (2014-01-21 18:03:51 UTC) #3
jschuh
Could I get some more context here, such as an implementation bug describing how this ...
6 years, 11 months ago (2014-01-22 00:07:12 UTC) #4
tzik
On 2014/01/22 00:07:12, Justin Schuh wrote: > Could I get some more context here, such ...
6 years, 11 months ago (2014-01-22 07:16:58 UTC) #5
tzik
https://codereview.chromium.org/130053003/diff/90005/content/browser/renderer_host/pepper/pepper_file_io_host.cc File content/browser/renderer_host/pepper/pepper_file_io_host.cc (right): https://codereview.chromium.org/130053003/diff/90005/content/browser/renderer_host/pepper/pepper_file_io_host.cc#newcode337 content/browser/renderer_host/pepper/pepper_file_io_host.cc:337: int64_t max_written_offset) { On 2014/01/21 18:03:51, bbudge wrote: > ...
6 years, 11 months ago (2014-01-22 07:17:10 UTC) #6
bbudge
https://codereview.chromium.org/130053003/diff/270001/ppapi/proxy/file_system_resource.h File ppapi/proxy/file_system_resource.h (right): https://codereview.chromium.org/130053003/diff/270001/ppapi/proxy/file_system_resource.h#newcode20 ppapi/proxy/file_system_resource.h:20: #include "ppapi/shared_impl/file_growth.h" This doesn't seem to be needed in ...
6 years, 11 months ago (2014-01-22 20:47:27 UTC) #7
bbudge
Another thing. I think you'll need to change NaClMessageScannerTest: https://code.google.com/p/chromium/codesearch#chromium/src/ppapi/proxy/nacl_message_scanner_unittest.cc&sq=package:chromium&type=cs&l=22
6 years, 11 months ago (2014-01-22 21:02:29 UTC) #8
jschuh
ipc security lgtm
6 years, 11 months ago (2014-01-23 05:09:39 UTC) #9
tzik
https://codereview.chromium.org/130053003/diff/270001/ppapi/proxy/file_system_resource.h File ppapi/proxy/file_system_resource.h (right): https://codereview.chromium.org/130053003/diff/270001/ppapi/proxy/file_system_resource.h#newcode20 ppapi/proxy/file_system_resource.h:20: #include "ppapi/shared_impl/file_growth.h" On 2014/01/22 20:47:27, bbudge wrote: > This ...
6 years, 11 months ago (2014-01-23 08:42:54 UTC) #10
bbudge
https://codereview.chromium.org/130053003/diff/270001/ppapi/proxy/nacl_message_scanner.cc File ppapi/proxy/nacl_message_scanner.cc (right): https://codereview.chromium.org/130053003/diff/270001/ppapi/proxy/nacl_message_scanner.cc#newcode399 ppapi/proxy/nacl_message_scanner.cc:399: FileGrowth(trusted_max_written_offset, 0)))); On 2014/01/23 08:42:54, tzik wrote: > On ...
6 years, 11 months ago (2014-01-23 11:50:06 UTC) #11
tzik
On 2014/01/23 11:50:06, bbudge wrote: > https://codereview.chromium.org/130053003/diff/270001/ppapi/proxy/nacl_message_scanner.cc > File ppapi/proxy/nacl_message_scanner.cc (right): > > https://codereview.chromium.org/130053003/diff/270001/ppapi/proxy/nacl_message_scanner.cc#newcode399 > ...
6 years, 11 months ago (2014-01-24 05:59:34 UTC) #12
bbudge
On 2014/01/24 05:59:34, tzik wrote: > On 2014/01/23 11:50:06, bbudge wrote: > > > https://codereview.chromium.org/130053003/diff/270001/ppapi/proxy/nacl_message_scanner.cc ...
6 years, 11 months ago (2014-01-24 13:12:42 UTC) #13
tzik
On 2014/01/24 13:12:42, bbudge wrote: > On 2014/01/24 05:59:34, tzik wrote: > > On 2014/01/23 ...
6 years, 11 months ago (2014-01-27 06:24:23 UTC) #14
bbudge
On 2014/01/27 06:24:23, tzik wrote: > On 2014/01/24 13:12:42, bbudge wrote: > > On 2014/01/24 ...
6 years, 11 months ago (2014-01-27 11:11:09 UTC) #15
bbudge
LGTM with some comments https://codereview.chromium.org/130053003/diff/400001/content/browser/renderer_host/pepper/pepper_file_system_browser_host.h File content/browser/renderer_host/pepper/pepper_file_system_browser_host.h (right): https://codereview.chromium.org/130053003/diff/400001/content/browser/renderer_host/pepper/pepper_file_system_browser_host.h#newcode118 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h:118: const ppapi::FileGrowthMap& file_growth); file_growths https://codereview.chromium.org/130053003/diff/400001/ppapi/shared_impl/file_growth.h ...
6 years, 11 months ago (2014-01-27 21:53:36 UTC) #16
tzik
https://codereview.chromium.org/130053003/diff/400001/content/browser/renderer_host/pepper/pepper_file_system_browser_host.h File content/browser/renderer_host/pepper/pepper_file_system_browser_host.h (right): https://codereview.chromium.org/130053003/diff/400001/content/browser/renderer_host/pepper/pepper_file_system_browser_host.h#newcode118 content/browser/renderer_host/pepper/pepper_file_system_browser_host.h:118: const ppapi::FileGrowthMap& file_growth); On 2014/01/27 21:53:37, bbudge wrote: > ...
6 years, 11 months ago (2014-01-28 06:12:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/130053003/540001
6 years, 11 months ago (2014-01-28 06:13:05 UTC) #18
commit-bot: I haz the power
Failed to trigger a try job on win_x64_rel HTTP Error 400: Bad Request
6 years, 10 months ago (2014-01-28 18:35:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/130053003/560001
6 years, 10 months ago (2014-01-28 18:38:03 UTC) #20
commit-bot: I haz the power
6 years, 10 months ago (2014-01-28 21:19:07 UTC) #21
Message was sent while issue was closed.
Change committed as 247504

Powered by Google App Engine
This is Rietveld 408576698