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

Unified Diff: ppapi/proxy/file_system_resource.h

Issue 26803004: PPAPI: Add PluginPrivateFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
Index: ppapi/proxy/file_system_resource.h
diff --git a/ppapi/proxy/file_system_resource.h b/ppapi/proxy/file_system_resource.h
index a7164343334c970bdd88fd0a264d36159ee8ca65..b56933d64c6ef12a0016910a836612d8ef9178d4 100644
--- a/ppapi/proxy/file_system_resource.h
+++ b/ppapi/proxy/file_system_resource.h
@@ -50,6 +50,9 @@ class PPAPI_PROXY_EXPORT FileSystemResource
int32_t InitIsolatedFileSystem(const std::string& fsid,
const base::Callback<void(int32_t)>& callback);
+ int32_t OpenPluginPrivateFileSystem(
+ const base::Callback<void(int32_t)>& callback);
+
private:
// Called when the host has responded to our open request.
void OpenComplete(scoped_refptr<TrackedCallback> callback,
@@ -60,6 +63,16 @@ class PPAPI_PROXY_EXPORT FileSystemResource
const base::Callback<void(int32_t)>& callback,
const ResourceMessageReplyParams& params);
+ // Called when the host has responded to our OpenPluginPrivateFileSystem
+ // request.
+ void OpenPluginPrivateFileSystemComplete(
+ const base::Callback<void(int32_t)>& callback,
+ const ResourceMessageReplyParams& params,
+ const std::string& fsid);
+ void InitPluginPrivateFileSystemComplete(
+ const base::Callback<void(int32_t)>& callback,
+ const ResourceMessageReplyParams& params);
+
PP_FileSystemType type_;
bool called_open_;
uint32_t callback_count_;

Powered by Google App Engine
This is Rietveld 408576698