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

Unified Diff: ppapi/proxy/file_io_resource.cc

Issue 130053003: [Pepper] Wire up append mode writing support of FileIO (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/pepper/quota_reservation.cc ('k') | ppapi/proxy/file_system_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/file_io_resource.cc
diff --git a/ppapi/proxy/file_io_resource.cc b/ppapi/proxy/file_io_resource.cc
index a35c9ece3d7ebb11169a71e58ebea1bd2c070136..715757421e1ed326aa235622e881231c0825cead 100644
--- a/ppapi/proxy/file_io_resource.cc
+++ b/ppapi/proxy/file_io_resource.cc
@@ -404,10 +404,8 @@ void FileIOResource::Close() {
if (file_handle_)
file_handle_ = NULL;
- // TODO(tzik): Post |max_written_offset_| and |append_mode_write_amount_|
- // separately by using FileGrowth after the IPC signature changed.
Post(BROWSER, PpapiHostMsg_FileIO_Close(
- max_written_offset_ + append_mode_write_amount_));
+ FileGrowth(max_written_offset_, append_mode_write_amount_)));
}
int32_t FileIOResource::RequestOSFileHandle(
« no previous file with comments | « content/browser/renderer_host/pepper/quota_reservation.cc ('k') | ppapi/proxy/file_system_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698