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

Unified Diff: content/browser/renderer_host/pepper/pepper_file_io_host.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: content/browser/renderer_host/pepper/pepper_file_io_host.cc
diff --git a/content/browser/renderer_host/pepper/pepper_file_io_host.cc b/content/browser/renderer_host/pepper/pepper_file_io_host.cc
index be7640b6ae0d49e843d6b9f8ebb14a717cc48c7e..ae0777ec5d1091d497e8cda70ca480b322250261 100644
--- a/content/browser/renderer_host/pepper/pepper_file_io_host.cc
+++ b/content/browser/renderer_host/pepper/pepper_file_io_host.cc
@@ -334,11 +334,9 @@ int32_t PepperFileIOHost::OnHostMsgFlush(
int32_t PepperFileIOHost::OnHostMsgClose(
ppapi::host::HostMessageContext* context,
- int64_t max_written_offset) {
+ const ppapi::FileGrowth& file_growth) {
if (check_quota_) {
- file_system_host_->CloseQuotaFile(
- this,
- ppapi::FileGrowth(max_written_offset, 0));
+ file_system_host_->CloseQuotaFile(this, file_growth);
check_quota_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698