| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 DirectoryEntry::DirectoryEntry(DOMFileSystemBase* fileSystem, const String& full
Path) | 42 DirectoryEntry::DirectoryEntry(DOMFileSystemBase* fileSystem, const String& full
Path) |
| 43 : Entry(fileSystem, fullPath) | 43 : Entry(fileSystem, fullPath) |
| 44 { | 44 { |
| 45 } | 45 } |
| 46 | 46 |
| 47 DirectoryReader* DirectoryEntry::createReader() | 47 DirectoryReader* DirectoryEntry::createReader() |
| 48 { | 48 { |
| 49 return DirectoryReader::create(m_fileSystem, m_fullPath); | 49 return DirectoryReader::create(m_fileSystem, m_fullPath); |
| 50 } | 50 } |
| 51 | 51 |
| 52 void DirectoryEntry::getFile(const String& path, const Dictionary& options, Pass
OwnPtrWillBeRawPtr<EntryCallback> successCallback, PassOwnPtrWillBeRawPtr<ErrorC
allback> errorCallback) | 52 void DirectoryEntry::getFile(const String& path, const Dictionary& options, Entr
yCallback* successCallback, ErrorCallback* errorCallback) |
| 53 { | 53 { |
| 54 FileSystemFlags flags(options); | 54 FileSystemFlags flags(options); |
| 55 m_fileSystem->getFile(this, path, flags, successCallback, errorCallback); | 55 m_fileSystem->getFile(this, path, flags, successCallback, errorCallback); |
| 56 } | 56 } |
| 57 | 57 |
| 58 void DirectoryEntry::getDirectory(const String& path, const Dictionary& options,
PassOwnPtrWillBeRawPtr<EntryCallback> successCallback, PassOwnPtrWillBeRawPtr<E
rrorCallback> errorCallback) | 58 void DirectoryEntry::getDirectory(const String& path, const Dictionary& options,
EntryCallback* successCallback, ErrorCallback* errorCallback) |
| 59 { | 59 { |
| 60 FileSystemFlags flags(options); | 60 FileSystemFlags flags(options); |
| 61 m_fileSystem->getDirectory(this, path, flags, successCallback, errorCallback
); | 61 m_fileSystem->getDirectory(this, path, flags, successCallback, errorCallback
); |
| 62 } | 62 } |
| 63 | 63 |
| 64 void DirectoryEntry::removeRecursively(PassOwnPtrWillBeRawPtr<VoidCallback> succ
essCallback, PassOwnPtrWillBeRawPtr<ErrorCallback> errorCallback) const | 64 void DirectoryEntry::removeRecursively(VoidCallback* successCallback, ErrorCallb
ack* errorCallback) const |
| 65 { | 65 { |
| 66 m_fileSystem->removeRecursively(this, successCallback, errorCallback); | 66 m_fileSystem->removeRecursively(this, successCallback, errorCallback); |
| 67 } | 67 } |
| 68 | 68 |
| 69 void DirectoryEntry::trace(Visitor* visitor) | 69 void DirectoryEntry::trace(Visitor* visitor) |
| 70 { | 70 { |
| 71 Entry::trace(visitor); | 71 Entry::trace(visitor); |
| 72 } | 72 } |
| 73 | 73 |
| 74 } | 74 } |
| OLD | NEW |