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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 class ExceptionState; | 50 class ExceptionState; |
51 class IDBCursor; | 51 class IDBCursor; |
52 struct IDBDatabaseMetadata; | 52 struct IDBDatabaseMetadata; |
53 class SharedBuffer; | 53 class SharedBuffer; |
54 | 54 |
55 class IDBRequest | 55 class IDBRequest |
56 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<IDBReques
t> | 56 : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<IDBReques
t> |
57 , public EventTargetWithInlineData | 57 , public EventTargetWithInlineData |
58 , public ActiveDOMObject { | 58 , public ActiveDOMObject { |
59 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<I
DBRequest>); | 59 DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<I
DBRequest>); |
| 60 DEFINE_WRAPPERTYPEINFO(); |
60 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IDBRequest); | 61 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(IDBRequest); |
61 public: | 62 public: |
62 static IDBRequest* create(ScriptState*, IDBAny* source, IDBTransaction*); | 63 static IDBRequest* create(ScriptState*, IDBAny* source, IDBTransaction*); |
63 virtual ~IDBRequest(); | 64 virtual ~IDBRequest(); |
64 virtual void trace(Visitor*) OVERRIDE; | 65 virtual void trace(Visitor*) OVERRIDE; |
65 | 66 |
66 ScriptValue result(ExceptionState&); | 67 ScriptValue result(ExceptionState&); |
67 PassRefPtrWillBeRawPtr<DOMError> error(ExceptionState&) const; | 68 PassRefPtrWillBeRawPtr<DOMError> error(ExceptionState&) const; |
68 ScriptValue source() const; | 69 ScriptValue source() const; |
69 IDBTransaction* transaction() const { return m_transaction.get(); } | 70 IDBTransaction* transaction() const { return m_transaction.get(); } |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 OwnPtr<Vector<WebBlobInfo> > m_blobInfo; | 163 OwnPtr<Vector<WebBlobInfo> > m_blobInfo; |
163 | 164 |
164 bool m_didFireUpgradeNeededEvent; | 165 bool m_didFireUpgradeNeededEvent; |
165 bool m_preventPropagation; | 166 bool m_preventPropagation; |
166 bool m_resultDirty; | 167 bool m_resultDirty; |
167 }; | 168 }; |
168 | 169 |
169 } // namespace blink | 170 } // namespace blink |
170 | 171 |
171 #endif // IDBRequest_h | 172 #endif // IDBRequest_h |
OLD | NEW |