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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "modules/indexeddb/IDBIndex.h" | 27 #include "modules/indexeddb/IDBIndex.h" |
28 | 28 |
29 #include "bindings/v8/ExceptionState.h" | 29 #include "bindings/v8/ExceptionState.h" |
30 #include "bindings/v8/IDBBindingUtilities.h" | 30 #include "bindings/v8/IDBBindingUtilities.h" |
31 #include "core/dom/ExceptionCode.h" | 31 #include "core/dom/ExceptionCode.h" |
32 #include "core/dom/ExecutionContext.h" | 32 #include "core/dom/ExecutionContext.h" |
33 #include "modules/indexeddb/IDBDatabase.h" | 33 #include "modules/indexeddb/IDBDatabase.h" |
34 #include "modules/indexeddb/IDBKey.h" | 34 #include "modules/indexeddb/IDBKey.h" |
| 35 #include "modules/indexeddb/IDBObjectStore.h" |
35 #include "modules/indexeddb/IDBTracing.h" | 36 #include "modules/indexeddb/IDBTracing.h" |
36 #include "modules/indexeddb/IDBTransaction.h" | 37 #include "modules/indexeddb/IDBTransaction.h" |
37 #include "modules/indexeddb/WebIDBCallbacksImpl.h" | 38 #include "modules/indexeddb/WebIDBCallbacksImpl.h" |
38 #include "public/platform/WebIDBKeyRange.h" | 39 #include "public/platform/WebIDBKeyRange.h" |
39 | 40 |
40 using blink::WebIDBCallbacks; | 41 using blink::WebIDBCallbacks; |
41 using blink::WebIDBCursor; | 42 using blink::WebIDBCursor; |
42 using blink::WebIDBDatabase; | 43 using blink::WebIDBDatabase; |
43 | 44 |
44 namespace WebCore { | 45 namespace WebCore { |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 { | 198 { |
198 return m_transaction->backendDB(); | 199 return m_transaction->backendDB(); |
199 } | 200 } |
200 | 201 |
201 bool IDBIndex::isDeleted() const | 202 bool IDBIndex::isDeleted() const |
202 { | 203 { |
203 return m_deleted || m_objectStore->isDeleted(); | 204 return m_deleted || m_objectStore->isDeleted(); |
204 } | 205 } |
205 | 206 |
206 } // namespace WebCore | 207 } // namespace WebCore |
OLD | NEW |