Chromium Code Reviews| 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*); |