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

Side by Side Diff: Source/modules/indexeddb/IDBTransaction.h

Issue 651503002: Clean up forward declarations in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months 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 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 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef IDBTransaction_h 26 #ifndef IDBTransaction_h
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"
33 #include "modules/EventModules.h"
34 #include "modules/EventTargetModules.h" 32 #include "modules/EventTargetModules.h"
35 #include "modules/indexeddb/IDBMetadata.h" 33 #include "modules/indexeddb/IDBMetadata.h"
36 #include "modules/indexeddb/IndexedDB.h" 34 #include "modules/indexeddb/IndexedDB.h"
37 #include "platform/heap/Handle.h"
38 #include "public/platform/WebIDBDatabase.h" 35 #include "public/platform/WebIDBDatabase.h"
39 #include "public/platform/WebIDBTypes.h"
40 #include "wtf/HashSet.h" 36 #include "wtf/HashSet.h"
41 37
42 namespace blink { 38 namespace blink {
43 39
44 class DOMError; 40 class DOMError;
45 class ExceptionState; 41 class ExceptionState;
46 class IDBCursor;
47 class IDBDatabase; 42 class IDBDatabase;
48 class IDBObjectStore; 43 class IDBObjectStore;
49 class IDBOpenDBRequest; 44 class IDBOpenDBRequest;
50 struct IDBObjectStoreMetadata; 45 struct IDBObjectStoreMetadata;
51 46
52 class IDBTransaction final 47 class IDBTransaction final
53 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<IDBTransa ction> 48 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<IDBTransa ction>
54 , public EventTargetWithInlineData 49 , public EventTargetWithInlineData
55 , public ActiveDOMObject { 50 , public ActiveDOMObject {
56 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<I DBTransaction>); 51 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<I DBTransaction>);
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 IDBObjectStoreSet m_deletedObjectStores; 132 IDBObjectStoreSet m_deletedObjectStores;
138 133
139 typedef HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> IDBObjec tStoreMetadataMap; 134 typedef HeapHashMap<Member<IDBObjectStore>, IDBObjectStoreMetadata> IDBObjec tStoreMetadataMap;
140 IDBObjectStoreMetadataMap m_objectStoreCleanupMap; 135 IDBObjectStoreMetadataMap m_objectStoreCleanupMap;
141 IDBDatabaseMetadata m_previousMetadata; 136 IDBDatabaseMetadata m_previousMetadata;
142 }; 137 };
143 138
144 } // namespace blink 139 } // namespace blink
145 140
146 #endif // IDBTransaction_h 141 #endif // IDBTransaction_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698