Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Side by Side Diff: third_party/WebKit/Source/modules/filesystem/DOMFileSystem.h

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 15 matching lines...) Expand all
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
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 DOMFileSystem_h 31 #ifndef DOMFileSystem_h
32 #define DOMFileSystem_h 32 #define DOMFileSystem_h
33 33
34 #include "bindings/core/v8/ActiveScriptWrappable.h" 34 #include "bindings/core/v8/ActiveScriptWrappable.h"
35 #include "bindings/core/v8/ScriptWrappable.h" 35 #include "bindings/core/v8/ScriptWrappable.h"
36 #include "core/dom/ActiveDOMObject.h"
37 #include "core/dom/ExecutionContext.h" 36 #include "core/dom/ExecutionContext.h"
38 #include "core/dom/ExecutionContextTask.h" 37 #include "core/dom/ExecutionContextTask.h"
38 #include "core/dom/SuspendableObject.h"
39 #include "modules/ModulesExport.h" 39 #include "modules/ModulesExport.h"
40 #include "modules/filesystem/DOMFileSystemBase.h" 40 #include "modules/filesystem/DOMFileSystemBase.h"
41 #include "modules/filesystem/EntriesCallback.h" 41 #include "modules/filesystem/EntriesCallback.h"
42 #include "platform/heap/Handle.h" 42 #include "platform/heap/Handle.h"
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 : public DOMFileSystemBase,
54 public ScriptWrappable, 54 public ScriptWrappable,
55 public ActiveScriptWrappable, 55 public ActiveScriptWrappable,
56 public ActiveDOMObject { 56 public SuspendableObject {
57 DEFINE_WRAPPERTYPEINFO(); 57 DEFINE_WRAPPERTYPEINFO();
58 USING_GARBAGE_COLLECTED_MIXIN(DOMFileSystem); 58 USING_GARBAGE_COLLECTED_MIXIN(DOMFileSystem);
59 59
60 public: 60 public:
61 static DOMFileSystem* create(ExecutionContext*, 61 static DOMFileSystem* create(ExecutionContext*,
62 const String& name, 62 const String& name,
63 FileSystemType, 63 FileSystemType,
64 const KURL& rootURL); 64 const KURL& rootURL);
65 65
66 // Creates a new isolated file system for the given filesystemId. 66 // Creates a new isolated file system for the given filesystemId.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 static String taskNameForInstrumentation() { return "FileSystem"; } 104 static String taskNameForInstrumentation() { return "FileSystem"; }
105 105
106 int m_numberOfPendingCallbacks; 106 int m_numberOfPendingCallbacks;
107 Member<DirectoryEntry> m_rootEntry; 107 Member<DirectoryEntry> m_rootEntry;
108 }; 108 };
109 109
110 } // namespace blink 110 } // namespace blink
111 111
112 #endif // DOMFileSystem_h 112 #endif // DOMFileSystem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698