| Index: ppapi/thunk/resource_creation_api.h
|
| diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h
|
| index 4da36c11c341ad5fb45165d5f12d5bf76fc6a472..3ef04c937d34e9fa86871f16f3188ffc42f5c8e2 100644
|
| --- a/ppapi/thunk/resource_creation_api.h
|
| +++ b/ppapi/thunk/resource_creation_api.h
|
| @@ -28,6 +28,7 @@ struct PP_Size;
|
|
|
| namespace ppapi {
|
|
|
| +struct PPB_FileRef_CreateInfo;
|
| struct URLRequestInfoData;
|
| struct URLResponseInfoData;
|
|
|
| @@ -45,6 +46,14 @@ class ResourceCreationAPI {
|
| virtual PP_Resource CreateFileIO(PP_Instance instance) = 0;
|
| virtual PP_Resource CreateFileRef(PP_Resource file_system,
|
| const char* path) = 0;
|
| +
|
| + // Like the above version but takes a serialized file ref. The resource
|
| + // in the serialized file ref is passed into this, which takes ownership of
|
| + // the reference. In the proxy, the return value will be a plugin resource,
|
| + // in the impl, the return value will be the same resource ID.
|
| + virtual PP_Resource CreateFileRef(
|
| + const PPB_FileRef_CreateInfo& serialized) = 0;
|
| +
|
| virtual PP_Resource CreateFileSystem(PP_Instance instance,
|
| PP_FileSystemType type) = 0;
|
| virtual PP_Resource CreateIMEInputEvent(PP_Instance instance,
|
|
|