summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/pepper/pepper_file_io_host.h
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 21:19:03 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-28 21:19:03 +0000
commit540d6af4f7ac9e5dbad65fc8fec8673f7144c018 (patch)
tree0e9599c36a8f05ccca9bd7b01fcb59b036a536c4 /content/browser/renderer_host/pepper/pepper_file_io_host.h
parent8ca54e192eaadc07db4434e8ed960691dcab7395 (diff)
downloadchromium_src-540d6af4f7ac9e5dbad65fc8fec8673f7144c018.zip
chromium_src-540d6af4f7ac9e5dbad65fc8fec8673f7144c018.tar.gz
chromium_src-540d6af4f7ac9e5dbad65fc8fec8673f7144c018.tar.bz2
[Pepper] Wire up append mode writing support of FileIO
BUG=334171 Review URL: https://codereview.chromium.org/130053003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/pepper/pepper_file_io_host.h')
-rw-r--r--content/browser/renderer_host/pepper/pepper_file_io_host.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/content/browser/renderer_host/pepper/pepper_file_io_host.h b/content/browser/renderer_host/pepper/pepper_file_io_host.h
index 76991a9..45953c9 100644
--- a/content/browser/renderer_host/pepper/pepper_file_io_host.h
+++ b/content/browser/renderer_host/pepper/pepper_file_io_host.h
@@ -23,6 +23,10 @@
#include "url/gurl.h"
#include "webkit/browser/fileapi/file_system_context.h"
+namespace ppapi {
+struct FileGrowth;
+}
+
namespace content {
class PepperFileSystemBrowserHost;
@@ -58,7 +62,7 @@ class PepperFileIOHost : public ppapi::host::ResourceHost,
int32_t OnHostMsgSetLength(ppapi::host::HostMessageContext* context,
int64_t length);
int32_t OnHostMsgClose(ppapi::host::HostMessageContext* context,
- int64_t max_written_offset);
+ const ppapi::FileGrowth& file_growth);
int32_t OnHostMsgFlush(ppapi::host::HostMessageContext* context);
int32_t OnHostMsgRequestOSFileHandle(
ppapi::host::HostMessageContext* context);