| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); | 75 DEFINE_ATTRIBUTE_EVENT_LISTENER(error); |
| 76 | 76 |
| 77 void markEarlyDeath(); | 77 void markEarlyDeath(); |
| 78 void setCursorDetails(IndexedDB::CursorType, IndexedDB::CursorDirection); | 78 void setCursorDetails(IndexedDB::CursorType, IndexedDB::CursorDirection); |
| 79 void setPendingCursor(PassRefPtr<IDBCursor>); | 79 void setPendingCursor(PassRefPtr<IDBCursor>); |
| 80 void finishCursor(); | 80 void finishCursor(); |
| 81 void abort(); | 81 void abort(); |
| 82 | 82 |
| 83 // IDBCallbacks | 83 // IDBCallbacks |
| 84 virtual void onError(PassRefPtr<IDBDatabaseError>); | 84 virtual void onError(PassRefPtr<IDBDatabaseError>); |
| 85 virtual void onSuccess(PassRefPtr<DOMStringList>); | 85 virtual void onSuccess(const Vector<String>&); |
| 86 virtual void onSuccess(PassRefPtr<IDBCursorBackendInterface>, PassRefPtr<IDB
Key>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>); | 86 virtual void onSuccess(PassRefPtr<IDBCursorBackendInterface>, PassRefPtr<IDB
Key>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>); |
| 87 virtual void onSuccess(PassRefPtr<IDBKey>); | 87 virtual void onSuccess(PassRefPtr<IDBKey>); |
| 88 virtual void onSuccess(PassRefPtr<SharedBuffer>); | 88 virtual void onSuccess(PassRefPtr<SharedBuffer>); |
| 89 virtual void onSuccess(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const I
DBKeyPath&); | 89 virtual void onSuccess(PassRefPtr<SharedBuffer>, PassRefPtr<IDBKey>, const I
DBKeyPath&); |
| 90 virtual void onSuccess(int64_t); | 90 virtual void onSuccess(int64_t); |
| 91 virtual void onSuccess(); | 91 virtual void onSuccess(); |
| 92 virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Pa
ssRefPtr<SharedBuffer>); | 92 virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, Pa
ssRefPtr<SharedBuffer>); |
| 93 virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >&, const Vec
tor<RefPtr<IDBKey> >&, const Vector<RefPtr<SharedBuffer> >&) { ASSERT_NOT_REACHE
D(); } // Not implemented. Callback should not reach the renderer side. | 93 virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >&, const Vec
tor<RefPtr<IDBKey> >&, const Vector<RefPtr<SharedBuffer> >&) { ASSERT_NOT_REACHE
D(); } // Not implemented. Callback should not reach the renderer side. |
| 94 | 94 |
| 95 // ActiveDOMObject | 95 // ActiveDOMObject |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 bool m_didFireUpgradeNeededEvent; | 156 bool m_didFireUpgradeNeededEvent; |
| 157 bool m_preventPropagation; | 157 bool m_preventPropagation; |
| 158 | 158 |
| 159 EventTargetData m_eventTargetData; | 159 EventTargetData m_eventTargetData; |
| 160 DOMRequestState m_requestState; | 160 DOMRequestState m_requestState; |
| 161 }; | 161 }; |
| 162 | 162 |
| 163 } // namespace WebCore | 163 } // namespace WebCore |
| 164 | 164 |
| 165 #endif // IDBRequest_h | 165 #endif // IDBRequest_h |
| OLD | NEW |