summaryrefslogtreecommitdiff
path: root/chromium/ppapi/proxy/file_system_resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ppapi/proxy/file_system_resource.h')
-rw-r--r--chromium/ppapi/proxy/file_system_resource.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/chromium/ppapi/proxy/file_system_resource.h b/chromium/ppapi/proxy/file_system_resource.h
index b104db32420..74677f724ed 100644
--- a/chromium/ppapi/proxy/file_system_resource.h
+++ b/chromium/ppapi/proxy/file_system_resource.h
@@ -38,13 +38,18 @@ class PPAPI_PROXY_EXPORT FileSystemResource
scoped_refptr<TrackedCallback> callback) OVERRIDE;
virtual PP_FileSystemType GetType() OVERRIDE;
- void InitIsolatedFileSystem(const char* fsid);
+ int32_t InitIsolatedFileSystem(const std::string& fsid,
+ const base::Callback<void(int32_t)>& callback);
private:
-
// Called when the host has responded to our open request.
void OpenComplete(scoped_refptr<TrackedCallback> callback,
const ResourceMessageReplyParams& params);
+ // Called when the host has responded to our InitIsolatedFileSystem request.
+ void InitIsolatedFileSystemComplete(
+ const base::Callback<void(int32_t)>& callback,
+ const ResourceMessageReplyParams& params);
+
PP_FileSystemType type_;
bool called_open_;
uint32_t callback_count_;