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

Unified Diff: Source/modules/filesystem/LocalFileSystem.h

Issue 277353002: Use asynchronized api for file system request. [blink] (3/4) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Apply Kinuko's patch. Created 6 years, 7 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
« no previous file with comments | « Source/modules/filesystem/FileSystemClient.h ('k') | Source/modules/filesystem/LocalFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/filesystem/LocalFileSystem.h
diff --git a/Source/modules/filesystem/LocalFileSystem.h b/Source/modules/filesystem/LocalFileSystem.h
index 867db6c7bf5a65512524817f1a574dd5bce183d1..f13a782f4c778da0a4f7951bb445eb35bec9f308 100644
--- a/Source/modules/filesystem/LocalFileSystem.h
+++ b/Source/modules/filesystem/LocalFileSystem.h
@@ -35,10 +35,12 @@
#include "core/workers/WorkerClients.h"
#include "platform/FileSystemType.h"
#include "wtf/Forward.h"
+#include "wtf/Functional.h"
namespace WebCore {
class AsyncFileSystemCallbacks;
+class CallbackWrapper;
class FileSystemClient;
class ExecutionContext;
@@ -67,6 +69,12 @@ public:
protected:
explicit LocalFileSystem(PassOwnPtr<FileSystemClient>);
+private:
+ void requestFileSystemAccessInternal(ExecutionContext*, const Closure& allowed, const Closure& denied);
+ void fileSystemNotAllowedInternal(PassRefPtr<ExecutionContext>, PassRefPtr<CallbackWrapper>);
+ void fileSystemAllowedInternal(PassRefPtr<ExecutionContext>, FileSystemType, PassRefPtr<CallbackWrapper>);
+ void resolveURLInternal(const KURL&, PassRefPtr<CallbackWrapper>);
+ void deleteFileSystemInternal(PassRefPtr<ExecutionContext>, FileSystemType, PassRefPtr<CallbackWrapper>);
OwnPtr<FileSystemClient> m_client;
};
« no previous file with comments | « Source/modules/filesystem/FileSystemClient.h ('k') | Source/modules/filesystem/LocalFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698