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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #include "public/platform/WebTraceLocation.h" | 43 #include "public/platform/WebTraceLocation.h" |
44 #include "wtf/PtrUtil.h" | 44 #include "wtf/PtrUtil.h" |
45 | 45 |
46 namespace blink { | 46 namespace blink { |
47 | 47 |
48 class DirectoryEntry; | 48 class DirectoryEntry; |
49 class BlobCallback; | 49 class BlobCallback; |
50 class FileEntry; | 50 class FileEntry; |
51 class FileWriterCallback; | 51 class FileWriterCallback; |
52 | 52 |
53 class MODULES_EXPORT DOMFileSystem final : public DOMFileSystemBase, | 53 class MODULES_EXPORT DOMFileSystem final |
54 public ScriptWrappable, | 54 : public DOMFileSystemBase, |
55 public ActiveScriptWrappable, | 55 public ScriptWrappable, |
56 public SuspendableObject { | 56 public ActiveScriptWrappable<DOMFileSystem>, |
| 57 public SuspendableObject { |
57 DEFINE_WRAPPERTYPEINFO(); | 58 DEFINE_WRAPPERTYPEINFO(); |
58 USING_GARBAGE_COLLECTED_MIXIN(DOMFileSystem); | 59 USING_GARBAGE_COLLECTED_MIXIN(DOMFileSystem); |
59 | 60 |
60 public: | 61 public: |
61 static DOMFileSystem* create(ExecutionContext*, | 62 static DOMFileSystem* create(ExecutionContext*, |
62 const String& name, | 63 const String& name, |
63 FileSystemType, | 64 FileSystemType, |
64 const KURL& rootURL); | 65 const KURL& rootURL); |
65 | 66 |
66 // Creates a new isolated file system for the given filesystemId. | 67 // Creates a new isolated file system for the given filesystemId. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 104 |
104 static String taskNameForInstrumentation() { return "FileSystem"; } | 105 static String taskNameForInstrumentation() { return "FileSystem"; } |
105 | 106 |
106 int m_numberOfPendingCallbacks; | 107 int m_numberOfPendingCallbacks; |
107 Member<DirectoryEntry> m_rootEntry; | 108 Member<DirectoryEntry> m_rootEntry; |
108 }; | 109 }; |
109 | 110 |
110 } // namespace blink | 111 } // namespace blink |
111 | 112 |
112 #endif // DOMFileSystem_h | 113 #endif // DOMFileSystem_h |
OLD | NEW |