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 22 matching lines...) Expand all Loading... |
33 #include "bindings/v8/ScriptWrappable.h" | 33 #include "bindings/v8/ScriptWrappable.h" |
34 #include "core/dom/ActiveDOMObject.h" | 34 #include "core/dom/ActiveDOMObject.h" |
35 #include "core/dom/DOMError.h" | 35 #include "core/dom/DOMError.h" |
36 #include "core/dom/DOMStringList.h" | 36 #include "core/dom/DOMStringList.h" |
37 #include "core/events/Event.h" | 37 #include "core/events/Event.h" |
38 #include "core/events/EventListener.h" | 38 #include "core/events/EventListener.h" |
39 #include "core/events/EventTarget.h" | 39 #include "core/events/EventTarget.h" |
40 #include "core/events/ThreadLocalEventNames.h" | 40 #include "core/events/ThreadLocalEventNames.h" |
41 #include "modules/indexeddb/IDBAny.h" | 41 #include "modules/indexeddb/IDBAny.h" |
42 #include "modules/indexeddb/IDBCursor.h" | 42 #include "modules/indexeddb/IDBCursor.h" |
| 43 #include "modules/indexeddb/IDBTransaction.h" |
43 #include "modules/indexeddb/IndexedDB.h" | 44 #include "modules/indexeddb/IndexedDB.h" |
44 #include "public/platform/WebIDBCursor.h" | 45 #include "public/platform/WebIDBCursor.h" |
45 | 46 |
46 namespace WebCore { | 47 namespace WebCore { |
47 | 48 |
48 class ExceptionState; | 49 class ExceptionState; |
49 struct IDBDatabaseMetadata; | 50 struct IDBDatabaseMetadata; |
50 class IDBTransaction; | |
51 class SharedBuffer; | 51 class SharedBuffer; |
52 | 52 |
53 // Base class to simplify usage of event target refcounting. | 53 // Base class to simplify usage of event target refcounting. |
54 class IDBRequestBase : public WTF::RefCountedBase { | 54 class IDBRequestBase : public WTF::RefCountedBase { |
55 public: | 55 public: |
56 virtual void deref() = 0; | 56 virtual void deref() = 0; |
57 | 57 |
58 protected: | 58 protected: |
59 virtual ~IDBRequestBase() { } | 59 virtual ~IDBRequestBase() { } |
60 }; | 60 }; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 bool m_didFireUpgradeNeededEvent; | 174 bool m_didFireUpgradeNeededEvent; |
175 bool m_preventPropagation; | 175 bool m_preventPropagation; |
176 bool m_resultDirty; | 176 bool m_resultDirty; |
177 | 177 |
178 DOMRequestState m_requestState; | 178 DOMRequestState m_requestState; |
179 }; | 179 }; |
180 | 180 |
181 } // namespace WebCore | 181 } // namespace WebCore |
182 | 182 |
183 #endif // IDBRequest_h | 183 #endif // IDBRequest_h |
OLD | NEW |