| 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 12 matching lines...) Expand all Loading... |
| 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 #include "config.h" | 26 #include "config.h" |
| 27 #include "modules/indexeddb/IDBObjectStore.h" | 27 #include "modules/indexeddb/IDBObjectStore.h" |
| 28 | 28 |
| 29 #include "bindings/v8/ExceptionState.h" | 29 #include "bindings/v8/ExceptionState.h" |
| 30 #include "bindings/v8/ExceptionStatePlaceholder.h" | 30 #include "bindings/v8/ExceptionStatePlaceholder.h" |
| 31 #include "bindings/v8/IDBBindingUtilities.h" | 31 #include "bindings/v8/IDBBindingUtilities.h" |
| 32 #include "bindings/v8/ScriptState.h" | 32 #include "bindings/v8/ScriptState.h" |
| 33 #include "bindings/v8/SerializedScriptValue.h" | |
| 34 #include "core/dom/DOMStringList.h" | 33 #include "core/dom/DOMStringList.h" |
| 35 #include "core/dom/ExceptionCode.h" | 34 #include "core/dom/ExceptionCode.h" |
| 36 #include "core/dom/ExecutionContext.h" | 35 #include "core/dom/ExecutionContext.h" |
| 37 #include "platform/SharedBuffer.h" | 36 #include "platform/SharedBuffer.h" |
| 38 #include "modules/indexeddb/IDBAny.h" | 37 #include "modules/indexeddb/IDBAny.h" |
| 39 #include "modules/indexeddb/IDBCursorWithValue.h" | 38 #include "modules/indexeddb/IDBCursorWithValue.h" |
| 40 #include "modules/indexeddb/IDBDatabase.h" | 39 #include "modules/indexeddb/IDBDatabase.h" |
| 41 #include "modules/indexeddb/IDBIndex.h" | |
| 42 #include "modules/indexeddb/IDBKey.h" | |
| 43 #include "modules/indexeddb/IDBKeyPath.h" | 40 #include "modules/indexeddb/IDBKeyPath.h" |
| 44 #include "modules/indexeddb/IDBKeyRange.h" | |
| 45 #include "modules/indexeddb/IDBTracing.h" | 41 #include "modules/indexeddb/IDBTracing.h" |
| 46 #include "modules/indexeddb/IDBTransaction.h" | |
| 47 #include "wtf/UnusedParam.h" | 42 #include "wtf/UnusedParam.h" |
| 48 | 43 |
| 49 namespace WebCore { | 44 namespace WebCore { |
| 50 | 45 |
| 51 IDBObjectStore::IDBObjectStore(const IDBObjectStoreMetadata& metadata, IDBTransa
ction* transaction) | 46 IDBObjectStore::IDBObjectStore(const IDBObjectStoreMetadata& metadata, IDBTransa
ction* transaction) |
| 52 : m_metadata(metadata) | 47 : m_metadata(metadata) |
| 53 , m_transaction(transaction) | 48 , m_transaction(transaction) |
| 54 , m_deleted(false) | 49 , m_deleted(false) |
| 55 { | 50 { |
| 56 ASSERT(m_transaction); | 51 ASSERT(m_transaction); |
| (...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 } | 607 } |
| 613 return IDBIndexMetadata::InvalidId; | 608 return IDBIndexMetadata::InvalidId; |
| 614 } | 609 } |
| 615 | 610 |
| 616 IDBDatabaseBackendInterface* IDBObjectStore::backendDB() const | 611 IDBDatabaseBackendInterface* IDBObjectStore::backendDB() const |
| 617 { | 612 { |
| 618 return m_transaction->backendDB(); | 613 return m_transaction->backendDB(); |
| 619 } | 614 } |
| 620 | 615 |
| 621 } // namespace WebCore | 616 } // namespace WebCore |
| OLD | NEW |