| 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 10 matching lines...) Expand all Loading... |
| 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 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 "modules/indexeddb/IDBObjectStore.h" | 26 #include "modules/indexeddb/IDBObjectStore.h" |
| 27 | 27 |
| 28 #include <memory> | 28 #include <memory> |
| 29 | 29 |
| 30 #include "bindings/core/v8/ExceptionState.h" | 30 #include "bindings/core/v8/ExceptionState.h" |
| 31 #include "bindings/core/v8/ScriptState.h" | |
| 32 #include "bindings/core/v8/SerializedScriptValueFactory.h" | 31 #include "bindings/core/v8/SerializedScriptValueFactory.h" |
| 33 #include "bindings/core/v8/ToV8ForCore.h" | 32 #include "bindings/core/v8/ToV8ForCore.h" |
| 34 #include "bindings/modules/v8/ToV8ForModules.h" | 33 #include "bindings/modules/v8/ToV8ForModules.h" |
| 35 #include "bindings/modules/v8/V8BindingForModules.h" | 34 #include "bindings/modules/v8/V8BindingForModules.h" |
| 36 #include "core/dom/DOMStringList.h" | 35 #include "core/dom/DOMStringList.h" |
| 37 #include "core/dom/ExceptionCode.h" | 36 #include "core/dom/ExceptionCode.h" |
| 38 #include "core/dom/ExecutionContext.h" | 37 #include "core/dom/ExecutionContext.h" |
| 39 #include "modules/indexeddb/IDBAny.h" | 38 #include "modules/indexeddb/IDBAny.h" |
| 40 #include "modules/indexeddb/IDBCursorWithValue.h" | 39 #include "modules/indexeddb/IDBCursorWithValue.h" |
| 41 #include "modules/indexeddb/IDBDatabase.h" | 40 #include "modules/indexeddb/IDBDatabase.h" |
| 42 #include "modules/indexeddb/IDBKeyPath.h" | 41 #include "modules/indexeddb/IDBKeyPath.h" |
| 43 #include "modules/indexeddb/IDBTracing.h" | 42 #include "modules/indexeddb/IDBTracing.h" |
| 44 #include "platform/Histogram.h" | 43 #include "platform/Histogram.h" |
| 45 #include "platform/SharedBuffer.h" | 44 #include "platform/SharedBuffer.h" |
| 45 #include "platform/bindings/ScriptState.h" |
| 46 #include "public/platform/WebBlobInfo.h" | 46 #include "public/platform/WebBlobInfo.h" |
| 47 #include "public/platform/WebData.h" | 47 #include "public/platform/WebData.h" |
| 48 #include "public/platform/WebVector.h" | 48 #include "public/platform/WebVector.h" |
| 49 #include "public/platform/modules/indexeddb/WebIDBKey.h" | 49 #include "public/platform/modules/indexeddb/WebIDBKey.h" |
| 50 #include "public/platform/modules/indexeddb/WebIDBKeyRange.h" | 50 #include "public/platform/modules/indexeddb/WebIDBKeyRange.h" |
| 51 #include "v8/include/v8.h" | 51 #include "v8/include/v8.h" |
| 52 | 52 |
| 53 using blink::WebBlobInfo; | 53 using blink::WebBlobInfo; |
| 54 using blink::WebIDBCallbacks; | 54 using blink::WebIDBCallbacks; |
| 55 using blink::WebIDBCursor; | 55 using blink::WebIDBCursor; |
| (...skipping 999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1055 } | 1055 } |
| 1056 } | 1056 } |
| 1057 return IDBIndexMetadata::kInvalidId; | 1057 return IDBIndexMetadata::kInvalidId; |
| 1058 } | 1058 } |
| 1059 | 1059 |
| 1060 WebIDBDatabase* IDBObjectStore::BackendDB() const { | 1060 WebIDBDatabase* IDBObjectStore::BackendDB() const { |
| 1061 return transaction_->BackendDB(); | 1061 return transaction_->BackendDB(); |
| 1062 } | 1062 } |
| 1063 | 1063 |
| 1064 } // namespace blink | 1064 } // namespace blink |
| OLD | NEW |