| Index: content/browser/renderer_host/pepper/pepper_file_system_browser_host.h
|
| diff --git a/content/browser/renderer_host/pepper/pepper_file_system_browser_host.h b/content/browser/renderer_host/pepper/pepper_file_system_browser_host.h
|
| index 53621e038077ccbdc59cf2f27d39ab0bf805570a..c6e26ded9d9f90ddfc21bb030ebf83120bee6341 100644
|
| --- a/content/browser/renderer_host/pepper/pepper_file_system_browser_host.h
|
| +++ b/content/browser/renderer_host/pepper/pepper_file_system_browser_host.h
|
| @@ -62,14 +62,24 @@ class PepperFileSystemBrowserHost
|
| ppapi::host::ReplyMessageContext reply_context,
|
| fileapi::FileSystemType file_system_type,
|
| scoped_refptr<fileapi::FileSystemContext> fs_context);
|
| - void GotIsolatedFileSystemContext(
|
| - ppapi::host::ReplyMessageContext reply_context,
|
| - scoped_refptr<fileapi::FileSystemContext> fs_context);
|
| void OpenFileSystemComplete(
|
| ppapi::host::ReplyMessageContext reply_context,
|
| const GURL& root,
|
| const std::string& name,
|
| base::PlatformFileError error);
|
| + void GotIsolatedFileSystemContext(
|
| + ppapi::host::ReplyMessageContext reply_context,
|
| + const std::string& fsid,
|
| + PP_IsolatedFileSystemType_Private type,
|
| + scoped_refptr<fileapi::FileSystemContext> fs_context);
|
| + void OpenPluginPrivateFileSystem(
|
| + ppapi::host::ReplyMessageContext reply_context,
|
| + const std::string& fsid,
|
| + scoped_refptr<fileapi::FileSystemContext> fs_context);
|
| + void OpenPluginPrivateFileSystemComplete(
|
| + ppapi::host::ReplyMessageContext reply_context,
|
| + const std::string& fsid,
|
| + base::PlatformFileError error);
|
|
|
| int32_t OnHostMsgOpen(ppapi::host::HostMessageContext* context,
|
| int64_t expected_size);
|
| @@ -78,6 +88,14 @@ class PepperFileSystemBrowserHost
|
| const std::string& fsid,
|
| PP_IsolatedFileSystemType_Private type);
|
|
|
| + void SendReplyForIsolatedFileSystem(
|
| + ppapi::host::ReplyMessageContext reply_context,
|
| + const std::string& fsid,
|
| + int32_t error);
|
| +
|
| + // Returns plugin ID generated from plugin's MIME type.
|
| + std::string GeneratePluginId() const;
|
| +
|
| BrowserPpapiHost* browser_ppapi_host_;
|
|
|
| PP_FileSystemType type_;
|
| @@ -86,6 +104,8 @@ class PepperFileSystemBrowserHost
|
| scoped_refptr<fileapi::FileSystemContext> fs_context_;
|
| bool called_open_; // whether open has been called.
|
|
|
| + std::string fsid_; // used only for isolated filesystems.
|
| +
|
| base::WeakPtrFactory<PepperFileSystemBrowserHost> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(PepperFileSystemBrowserHost);
|
|
|