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 20 matching lines...) Expand all Loading... |
31 #include "config.h" | 31 #include "config.h" |
32 #include "modules/filesystem/FileSystemCallbacks.h" | 32 #include "modules/filesystem/FileSystemCallbacks.h" |
33 | 33 |
34 #include "core/dom/ExecutionContext.h" | 34 #include "core/dom/ExecutionContext.h" |
35 #include "core/fileapi/FileError.h" | 35 #include "core/fileapi/FileError.h" |
36 #include "core/html/VoidCallback.h" | 36 #include "core/html/VoidCallback.h" |
37 #include "modules/filesystem/DOMFilePath.h" | 37 #include "modules/filesystem/DOMFilePath.h" |
38 #include "modules/filesystem/DOMFileSystemBase.h" | 38 #include "modules/filesystem/DOMFileSystemBase.h" |
39 #include "modules/filesystem/DirectoryEntry.h" | 39 #include "modules/filesystem/DirectoryEntry.h" |
40 #include "modules/filesystem/DirectoryReader.h" | 40 #include "modules/filesystem/DirectoryReader.h" |
41 #include "modules/filesystem/EntriesCallback.h" | |
42 #include "modules/filesystem/Entry.h" | 41 #include "modules/filesystem/Entry.h" |
43 #include "modules/filesystem/EntryCallback.h" | 42 #include "modules/filesystem/EntryCallback.h" |
44 #include "modules/filesystem/ErrorCallback.h" | 43 #include "modules/filesystem/ErrorCallback.h" |
45 #include "modules/filesystem/FileEntry.h" | 44 #include "modules/filesystem/FileEntry.h" |
46 #include "modules/filesystem/FileSystemCallback.h" | 45 #include "modules/filesystem/FileSystemCallback.h" |
47 #include "modules/filesystem/FileWriterBase.h" | 46 #include "modules/filesystem/FileWriterBase.h" |
48 #include "modules/filesystem/FileWriterBaseCallback.h" | 47 #include "modules/filesystem/FileWriterBaseCallback.h" |
49 #include "modules/filesystem/Metadata.h" | 48 #include "modules/filesystem/Metadata.h" |
50 #include "modules/filesystem/MetadataCallback.h" | 49 #include "modules/filesystem/MetadataCallback.h" |
51 #include "platform/FileMetadata.h" | 50 #include "platform/FileMetadata.h" |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 } | 282 } |
284 | 283 |
285 void VoidCallbacks::didSucceed() | 284 void VoidCallbacks::didSucceed() |
286 { | 285 { |
287 if (m_successCallback) | 286 if (m_successCallback) |
288 m_successCallback->handleEvent(); | 287 m_successCallback->handleEvent(); |
289 m_successCallback.clear(); | 288 m_successCallback.clear(); |
290 } | 289 } |
291 | 290 |
292 } // namespace | 291 } // namespace |
OLD | NEW |