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 25 matching lines...) Expand all Loading... |
36 #include "modules/indexeddb/IDBObjectStore.h" | 36 #include "modules/indexeddb/IDBObjectStore.h" |
37 #include "modules/indexeddb/IDBTransaction.h" | 37 #include "modules/indexeddb/IDBTransaction.h" |
38 #include "modules/indexeddb/IndexedDB.h" | 38 #include "modules/indexeddb/IndexedDB.h" |
39 #include "platform/heap/Handle.h" | 39 #include "platform/heap/Handle.h" |
40 #include "public/platform/WebIDBDatabase.h" | 40 #include "public/platform/WebIDBDatabase.h" |
41 #include "wtf/OwnPtr.h" | 41 #include "wtf/OwnPtr.h" |
42 #include "wtf/PassOwnPtr.h" | 42 #include "wtf/PassOwnPtr.h" |
43 #include "wtf/PassRefPtr.h" | 43 #include "wtf/PassRefPtr.h" |
44 #include "wtf/RefPtr.h" | 44 #include "wtf/RefPtr.h" |
45 | 45 |
46 namespace WebCore { | 46 namespace blink { |
47 | 47 |
48 class DOMError; | 48 class DOMError; |
49 class ExceptionState; | 49 class ExceptionState; |
50 class ExecutionContext; | 50 class ExecutionContext; |
51 | 51 |
52 class IDBDatabase FINAL | 52 class IDBDatabase FINAL |
53 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<IDBDataba
se> | 53 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<IDBDataba
se> |
54 , public EventTargetWithInlineData | 54 , public EventTargetWithInlineData |
55 , public ActiveDOMObject { | 55 , public ActiveDOMObject { |
56 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<I
DBDatabase>); | 56 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<I
DBDatabase>); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 bool m_closePending; | 148 bool m_closePending; |
149 bool m_contextStopped; | 149 bool m_contextStopped; |
150 | 150 |
151 // Keep track of the versionchange events waiting to be fired on this | 151 // Keep track of the versionchange events waiting to be fired on this |
152 // database so that we can cancel them if the database closes. | 152 // database so that we can cancel them if the database closes. |
153 WillBeHeapVector<RefPtrWillBeMember<Event> > m_enqueuedEvents; | 153 WillBeHeapVector<RefPtrWillBeMember<Event> > m_enqueuedEvents; |
154 | 154 |
155 Member<IDBDatabaseCallbacks> m_databaseCallbacks; | 155 Member<IDBDatabaseCallbacks> m_databaseCallbacks; |
156 }; | 156 }; |
157 | 157 |
158 } // namespace WebCore | 158 } // namespace blink |
159 | 159 |
160 #endif // IDBDatabase_h | 160 #endif // IDBDatabase_h |
OLD | NEW |