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

Unified Diff: ppapi/proxy/ppb_file_ref_proxy.h

Issue 8764003: Implement a proxy for Pepper FileIO. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/ppb_file_ref_proxy.h
diff --git a/ppapi/proxy/ppb_file_ref_proxy.h b/ppapi/proxy/ppb_file_ref_proxy.h
index 83fee185883e12d30a35410a9f74168bab88de1f..66fd3fcb0371009d919754fcb23944f08faaba10 100644
--- a/ppapi/proxy/ppb_file_ref_proxy.h
+++ b/ppapi/proxy/ppb_file_ref_proxy.h
@@ -29,6 +29,8 @@ class PPB_FileRef_Proxy : public InterfaceProxy {
static PP_Resource CreateProxyResource(PP_Resource file_system,
const char* path);
+ static PP_Resource CreateProxyResource(
+ const PPB_FileRef_CreateInfo& serialized);
// InterfaceProxy implementation.
virtual bool OnMessageReceived(const IPC::Message& msg);
@@ -58,7 +60,7 @@ class PPB_FileRef_Proxy : public InterfaceProxy {
static const ApiID kApiID = API_ID_PPB_FILE_REF;
private:
- // Message handlers.
+ // Plugin -> host message handlers.
void OnMsgCreate(const HostResource& file_system,
const std::string& path,
PPB_FileRef_CreateInfo* result);

Powered by Google App Engine
This is Rietveld 408576698