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