| 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 17 matching lines...) Expand all Loading... |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #include "config.h" | 31 #include "config.h" |
| 32 #include "modules/filesystem/EntrySync.h" | 32 #include "modules/filesystem/EntrySync.h" |
| 33 | 33 |
| 34 #include "bindings/v8/ExceptionMessages.h" | 34 #include "bindings/v8/ExceptionMessages.h" |
| 35 #include "bindings/v8/ExceptionState.h" | 35 #include "bindings/v8/ExceptionState.h" |
| 36 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
| 37 #include "modules/filesystem/DOMFilePath.h" | 37 #include "modules/filesystem/DOMFilePath.h" |
| 38 #include "modules/filesystem/DOMFileSystemSync.h" | |
| 39 #include "modules/filesystem/DirectoryEntry.h" | 38 #include "modules/filesystem/DirectoryEntry.h" |
| 40 #include "modules/filesystem/DirectoryEntrySync.h" | 39 #include "modules/filesystem/DirectoryEntrySync.h" |
| 41 #include "modules/filesystem/FileEntrySync.h" | 40 #include "modules/filesystem/FileEntrySync.h" |
| 42 #include "modules/filesystem/Metadata.h" | 41 #include "modules/filesystem/Metadata.h" |
| 43 #include "modules/filesystem/SyncCallbackHelper.h" | 42 #include "modules/filesystem/SyncCallbackHelper.h" |
| 44 | 43 |
| 45 namespace WebCore { | 44 namespace WebCore { |
| 46 | 45 |
| 47 PassRefPtr<EntrySync> EntrySync::create(EntryBase* entry) | 46 PassRefPtr<EntrySync> EntrySync::create(EntryBase* entry) |
| 48 { | 47 { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 return DirectoryEntrySync::create(m_fileSystem, parentPath); | 97 return DirectoryEntrySync::create(m_fileSystem, parentPath); |
| 99 } | 98 } |
| 100 | 99 |
| 101 EntrySync::EntrySync(PassRefPtr<DOMFileSystemBase> fileSystem, const String& ful
lPath) | 100 EntrySync::EntrySync(PassRefPtr<DOMFileSystemBase> fileSystem, const String& ful
lPath) |
| 102 : EntryBase(fileSystem, fullPath) | 101 : EntryBase(fileSystem, fullPath) |
| 103 { | 102 { |
| 104 ScriptWrappable::init(this); | 103 ScriptWrappable::init(this); |
| 105 } | 104 } |
| 106 | 105 |
| 107 } | 106 } |
| OLD | NEW |