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

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: Rebase 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..9bf0bea1afc14dd649988c6e077359e56ae95de6 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/OwnPtr.h"
yhirano 2014/11/07 06:05:28 PassOwnPtr instead of OwnPtr?
hiroshige 2014/11/07 07:16:59 Done.
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*);

Powered by Google App Engine
This is Rietveld 408576698