| Index: third_party/WebKit/Source/modules/filesystem/FileSystemDirectoryEntry.cpp
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/DirectoryEntry.cpp b/third_party/WebKit/Source/modules/filesystem/FileSystemDirectoryEntry.cpp
|
| similarity index 67%
|
| rename from third_party/WebKit/Source/modules/filesystem/DirectoryEntry.cpp
|
| rename to third_party/WebKit/Source/modules/filesystem/FileSystemDirectoryEntry.cpp
|
| index 4d29cd226a03c251e1a46f7afc2bd4cda653b5e1..be2c57e2e91b7c022a131889bed2a2e600f14125 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/DirectoryEntry.cpp
|
| +++ b/third_party/WebKit/Source/modules/filesystem/FileSystemDirectoryEntry.cpp
|
| @@ -28,50 +28,52 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "modules/filesystem/DirectoryEntry.h"
|
| +#include "modules/filesystem/FileSystemDirectoryEntry.h"
|
|
|
| #include "core/fileapi/FileError.h"
|
| #include "core/html/VoidCallback.h"
|
| -#include "modules/filesystem/DirectoryReader.h"
|
| -#include "modules/filesystem/EntryCallback.h"
|
| #include "modules/filesystem/ErrorCallback.h"
|
| #include "modules/filesystem/FileSystemCallbacks.h"
|
| +#include "modules/filesystem/FileSystemDirectoryReader.h"
|
| +#include "modules/filesystem/FileSystemEntryCallback.h"
|
| #include "modules/filesystem/FileSystemFlags.h"
|
|
|
| namespace blink {
|
|
|
| -DirectoryEntry::DirectoryEntry(DOMFileSystemBase* fileSystem,
|
| - const String& fullPath)
|
| - : Entry(fileSystem, fullPath) {}
|
| +FileSystemDirectoryEntry::FileSystemDirectoryEntry(FileSystemBase* fileSystem,
|
| + const String& fullPath)
|
| + : FileSystemEntry(fileSystem, fullPath) {}
|
|
|
| -DirectoryReader* DirectoryEntry::createReader() {
|
| - return DirectoryReader::create(m_fileSystem, m_fullPath);
|
| +FileSystemDirectoryReader* FileSystemDirectoryEntry::createReader() {
|
| + return FileSystemDirectoryReader::create(m_fileSystem, m_fullPath);
|
| }
|
|
|
| -void DirectoryEntry::getFile(const String& path,
|
| - const FileSystemFlags& options,
|
| - EntryCallback* successCallback,
|
| - ErrorCallback* errorCallback) {
|
| +void FileSystemDirectoryEntry::getFile(const String& path,
|
| + const FileSystemFlags& options,
|
| + FileSystemEntryCallback* successCallback,
|
| + ErrorCallback* errorCallback) {
|
| m_fileSystem->getFile(this, path, options, successCallback,
|
| ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| -void DirectoryEntry::getDirectory(const String& path,
|
| - const FileSystemFlags& options,
|
| - EntryCallback* successCallback,
|
| - ErrorCallback* errorCallback) {
|
| +void FileSystemDirectoryEntry::getDirectory(
|
| + const String& path,
|
| + const FileSystemFlags& options,
|
| + FileSystemEntryCallback* successCallback,
|
| + ErrorCallback* errorCallback) {
|
| m_fileSystem->getDirectory(this, path, options, successCallback,
|
| ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| -void DirectoryEntry::removeRecursively(VoidCallback* successCallback,
|
| - ErrorCallback* errorCallback) const {
|
| +void FileSystemDirectoryEntry::removeRecursively(
|
| + VoidCallback* successCallback,
|
| + ErrorCallback* errorCallback) const {
|
| m_fileSystem->removeRecursively(this, successCallback,
|
| ScriptErrorCallback::wrap(errorCallback));
|
| }
|
|
|
| -DEFINE_TRACE(DirectoryEntry) {
|
| - Entry::trace(visitor);
|
| +DEFINE_TRACE(FileSystemDirectoryEntry) {
|
| + FileSystemEntry::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|