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

Unified Diff: content/renderer/pepper/pepper_file_io_host.h

Issue 22646005: Do PPB_FileIO Query and Read in the plugin process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Defer buffer allocation until we read. Created 7 years, 4 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 | « no previous file | content/renderer/pepper/pepper_file_io_host.cc » ('j') | ppapi/proxy/file_io_resource.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_file_io_host.h
diff --git a/content/renderer/pepper/pepper_file_io_host.h b/content/renderer/pepper/pepper_file_io_host.h
index e827f476d53be38a38650c90ad0dc63f755186b9..3384e34c5f87b777c6ef9867db948e1e0b53f477 100644
--- a/content/renderer/pepper/pepper_file_io_host.h
+++ b/content/renderer/pepper/pepper_file_io_host.h
@@ -57,13 +57,9 @@ class PepperFileIOHost : public ppapi::host::ResourceHost,
int32_t OnHostMsgOpen(ppapi::host::HostMessageContext* context,
PP_Resource file_ref_resource,
int32_t open_flags);
- int32_t OnHostMsgQuery(ppapi::host::HostMessageContext* context);
int32_t OnHostMsgTouch(ppapi::host::HostMessageContext* context,
PP_Time last_access_time,
PP_Time last_modified_time);
- int32_t OnHostMsgRead(ppapi::host::HostMessageContext* context,
- int64_t offset,
- int32_t bytes_to_read);
int32_t OnHostMsgWrite(ppapi::host::HostMessageContext* context,
int64_t offset,
const std::string& buffer);
« no previous file with comments | « no previous file | content/renderer/pepper/pepper_file_io_host.cc » ('j') | ppapi/proxy/file_io_resource.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698