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

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

Issue 705003002: Change the return type of WTF::bind() to |OwnPtr<Function>| (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reflect comments from yhirano Created 6 years, 1 month 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: Source/modules/filesystem/LocalFileSystem.h
diff --git a/Source/modules/filesystem/LocalFileSystem.h b/Source/modules/filesystem/LocalFileSystem.h
index c894ea20e1b06fe12831701e796370e1f2373b9a..e9e30ff32def45d23f19965cc1e97c64750897eb 100644
--- a/Source/modules/filesystem/LocalFileSystem.h
+++ b/Source/modules/filesystem/LocalFileSystem.h
@@ -35,6 +35,7 @@
#include "platform/FileSystemType.h"
#include "wtf/Forward.h"
#include "wtf/Functional.h"
+#include "wtf/PassOwnPtr.h"
namespace blink {
@@ -73,7 +74,7 @@ protected:
private:
WebFileSystem* fileSystem() const;
- void requestFileSystemAccessInternal(ExecutionContext*, const Closure& allowed, const Closure& denied);
+ void requestFileSystemAccessInternal(ExecutionContext*, PassOwnPtr<Closure> allowed, PassOwnPtr<Closure> denied);
void fileSystemNotAvailable(PassRefPtrWillBeRawPtr<ExecutionContext>, CallbackWrapper*);
void fileSystemNotAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, CallbackWrapper*);
void fileSystemAllowedInternal(PassRefPtrWillBeRawPtr<ExecutionContext>, FileSystemType, CallbackWrapper*);
« no previous file with comments | « Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp ('k') | Source/modules/filesystem/LocalFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698