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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 16 matching lines...) Expand all Loading... | |
27 #define IDBTransaction_h | 27 #define IDBTransaction_h |
28 | 28 |
29 #include "bindings/core/v8/ScriptState.h" | 29 #include "bindings/core/v8/ScriptState.h" |
30 #include "core/dom/ActiveDOMObject.h" | 30 #include "core/dom/ActiveDOMObject.h" |
31 #include "core/dom/DOMError.h" | 31 #include "core/dom/DOMError.h" |
32 #include "core/events/EventListener.h" | 32 #include "core/events/EventListener.h" |
33 #include "modules/EventModules.h" | 33 #include "modules/EventModules.h" |
34 #include "modules/EventTargetModules.h" | 34 #include "modules/EventTargetModules.h" |
35 #include "modules/indexeddb/IDBMetadata.h" | 35 #include "modules/indexeddb/IDBMetadata.h" |
36 #include "modules/indexeddb/IndexedDB.h" | 36 #include "modules/indexeddb/IndexedDB.h" |
37 #include "platform/heap/Handle.h" | |
jsbell
2014/10/13 18:43:22
This file uses Member<> - why remove?
| |
38 #include "public/platform/WebIDBDatabase.h" | 37 #include "public/platform/WebIDBDatabase.h" |
39 #include "public/platform/WebIDBTypes.h" | |
jsbell
2014/10/13 18:43:22
This is used for the various enum values reference
| |
40 #include "wtf/HashSet.h" | 38 #include "wtf/HashSet.h" |
41 | 39 |
42 namespace blink { | 40 namespace blink { |
43 | 41 |
44 class DOMError; | 42 class DOMError; |
45 class ExceptionState; | 43 class ExceptionState; |
46 class IDBCursor; | |
47 class IDBDatabase; | 44 class IDBDatabase; |
48 class IDBObjectStore; | 45 class IDBObjectStore; |
49 class IDBOpenDBRequest; | 46 class IDBOpenDBRequest; |
50 struct IDBObjectStoreMetadata; | 47 struct IDBObjectStoreMetadata; |
51 | 48 |
52 class IDBTransaction final | 49 class IDBTransaction final |
53 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<IDBTransa ction> | 50 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<IDBTransa ction> |
54 , public EventTargetWithInlineData | 51 , public EventTargetWithInlineData |
55 , public ActiveDOMObject { | 52 , public ActiveDOMObject { |
56 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<I DBTransaction>); | 53 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<I DBTransaction>); |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
137 IDBObjectStoreSet m_deletedObjectStores; | 134 IDBObjectStoreSet m_deletedObjectStores; |
138 | 135 |
139 typedef HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> IDBObjec tStoreMetadataMap; | 136 typedef HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> IDBObjec tStoreMetadataMap; |
140 IDBObjectStoreMetadataMap m_objectStoreCleanupMap; | 137 IDBObjectStoreMetadataMap m_objectStoreCleanupMap; |
141 IDBDatabaseMetadata m_previousMetadata; | 138 IDBDatabaseMetadata m_previousMetadata; |
142 }; | 139 }; |
143 | 140 |
144 } // namespace blink | 141 } // namespace blink |
145 | 142 |
146 #endif // IDBTransaction_h | 143 #endif // IDBTransaction_h |
OLD | NEW |