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 "config.h" | 26 #include "config.h" |
27 #include "modules/indexeddb/IDBDatabase.h" | 27 #include "modules/indexeddb/IDBDatabase.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 "core/dom/DOMStringList.h" | |
32 #include "core/dom/ExecutionContext.h" | 31 #include "core/dom/ExecutionContext.h" |
33 #include "core/events/EventQueue.h" | 32 #include "core/events/EventQueue.h" |
34 #include "core/inspector/ScriptCallStack.h" | 33 #include "core/inspector/ScriptCallStack.h" |
35 #include "modules/indexeddb/IDBAny.h" | 34 #include "modules/indexeddb/IDBAny.h" |
36 #include "modules/indexeddb/IDBDatabaseCallbacks.h" | |
37 #include "modules/indexeddb/IDBEventDispatcher.h" | 35 #include "modules/indexeddb/IDBEventDispatcher.h" |
38 #include "modules/indexeddb/IDBHistograms.h" | 36 #include "modules/indexeddb/IDBHistograms.h" |
39 #include "modules/indexeddb/IDBIndex.h" | 37 #include "modules/indexeddb/IDBIndex.h" |
40 #include "modules/indexeddb/IDBKeyPath.h" | 38 #include "modules/indexeddb/IDBKeyPath.h" |
41 #include "modules/indexeddb/IDBObjectStore.h" | |
42 #include "modules/indexeddb/IDBTracing.h" | 39 #include "modules/indexeddb/IDBTracing.h" |
43 #include "modules/indexeddb/IDBTransaction.h" | |
44 #include "modules/indexeddb/IDBVersionChangeEvent.h" | 40 #include "modules/indexeddb/IDBVersionChangeEvent.h" |
45 #include "public/platform/Platform.h" | 41 #include "public/platform/Platform.h" |
46 #include "wtf/Atomics.h" | 42 #include "wtf/Atomics.h" |
47 #include <limits> | 43 #include <limits> |
48 | 44 |
49 namespace WebCore { | 45 namespace WebCore { |
50 | 46 |
51 const char IDBDatabase::indexDeletedErrorMessage[] = "The index or its object st
ore has been deleted."; | 47 const char IDBDatabase::indexDeletedErrorMessage[] = "The index or its object st
ore has been deleted."; |
52 const char IDBDatabase::isKeyCursorErrorMessage[] = "The cursor is a key cursor.
"; | 48 const char IDBDatabase::isKeyCursorErrorMessage[] = "The cursor is a key cursor.
"; |
53 const char IDBDatabase::noKeyOrKeyRangeErrorMessage[] = "No key or key range spe
cified."; | 49 const char IDBDatabase::noKeyOrKeyRangeErrorMessage[] = "No key or key range spe
cified."; |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 { | 404 { |
409 return EventTargetNames::IDBDatabase; | 405 return EventTargetNames::IDBDatabase; |
410 } | 406 } |
411 | 407 |
412 ExecutionContext* IDBDatabase::executionContext() const | 408 ExecutionContext* IDBDatabase::executionContext() const |
413 { | 409 { |
414 return ActiveDOMObject::executionContext(); | 410 return ActiveDOMObject::executionContext(); |
415 } | 411 } |
416 | 412 |
417 } // namespace WebCore | 413 } // namespace WebCore |
OLD | NEW |