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

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: s/max_written_offsets/file_sizes/g 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
Index: ppapi/proxy/file_io_resource.cc
diff --git a/ppapi/proxy/file_io_resource.cc b/ppapi/proxy/file_io_resource.cc
index f4fa6a50f87434998befcc4fb6183c58db4f66df..3e51b11a69313b2c8ebeae65da9f5d4621e5f472 100644
--- a/ppapi/proxy/file_io_resource.cc
+++ b/ppapi/proxy/file_io_resource.cc
@@ -397,10 +397,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(

Powered by Google App Engine
This is Rietveld 408576698