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 #ifndef AsyncFileSystemCallbacks_h | 31 #ifndef AsyncFileSystemCallbacks_h |
32 #define AsyncFileSystemCallbacks_h | 32 #define AsyncFileSystemCallbacks_h |
33 | 33 |
34 #include "platform/FileMetadata.h" | 34 #include "platform/FileMetadata.h" |
35 #include "platform/FileSystemType.h" | 35 #include "platform/FileSystemType.h" |
36 #include "platform/blob/BlobData.h" | 36 #include "platform/blob/BlobData.h" |
37 #include "public/platform/WebFileWriter.h" | 37 #include "public/platform/WebFileWriter.h" |
| 38 #include "wtf/Allocator.h" |
38 #include "wtf/Assertions.h" | 39 #include "wtf/Assertions.h" |
39 #include "wtf/FastAllocBase.h" | |
40 #include "wtf/Noncopyable.h" | 40 #include "wtf/Noncopyable.h" |
41 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 class PLATFORM_EXPORT AsyncFileSystemCallbacks { | 45 class PLATFORM_EXPORT AsyncFileSystemCallbacks { |
46 WTF_MAKE_FAST_ALLOCATED(AsyncFileSystemCallbacks); | 46 WTF_MAKE_FAST_ALLOCATED(AsyncFileSystemCallbacks); |
47 WTF_MAKE_NONCOPYABLE(AsyncFileSystemCallbacks); | 47 WTF_MAKE_NONCOPYABLE(AsyncFileSystemCallbacks); |
48 public: | 48 public: |
49 AsyncFileSystemCallbacks() : m_blockUntilCompletion(false) { } | 49 AsyncFileSystemCallbacks() : m_blockUntilCompletion(false) { } |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 virtual ~AsyncFileSystemCallbacks() { } | 90 virtual ~AsyncFileSystemCallbacks() { } |
91 | 91 |
92 private: | 92 private: |
93 bool m_blockUntilCompletion; | 93 bool m_blockUntilCompletion; |
94 }; | 94 }; |
95 | 95 |
96 } // namespace blink | 96 } // namespace blink |
97 | 97 |
98 #endif // AsyncFileSystemCallbacks_h | 98 #endif // AsyncFileSystemCallbacks_h |
OLD | NEW |