Index: ppapi/shared_impl/ppb_file_ref_shared.h |
diff --git a/ppapi/shared_impl/ppb_file_ref_shared.h b/ppapi/shared_impl/ppb_file_ref_shared.h |
index 5decd7f858367921062f70d13df46bf7b80e8587..a35a35fc069b54d48d8e2d727225daa440ca298a 100644 |
--- a/ppapi/shared_impl/ppb_file_ref_shared.h |
+++ b/ppapi/shared_impl/ppb_file_ref_shared.h |
@@ -24,6 +24,11 @@ struct PPB_FileRef_CreateInfo { |
int file_system_type; // One of PP_FileSystemType values. |
std::string path; |
std::string name; |
+ |
+ // Since FileRef needs to hold a FileSystem reference, we need to pass the |
+ // resource in this CreateInfo. Note that this is a plugin resource as |
+ // FileSystem is already in new design. |
+ PP_Resource file_system_plugin_resource; |
}; |
// This class provides the shared implementation of a FileRef. The functions |