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 13 matching lines...) Expand all Loading... |
24 */ | 24 */ |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "modules/indexeddb/IDBAny.h" | 27 #include "modules/indexeddb/IDBAny.h" |
28 | 28 |
29 #include "core/dom/DOMStringList.h" | 29 #include "core/dom/DOMStringList.h" |
30 #include "modules/indexeddb/IDBCursorWithValue.h" | 30 #include "modules/indexeddb/IDBCursorWithValue.h" |
31 #include "modules/indexeddb/IDBDatabase.h" | 31 #include "modules/indexeddb/IDBDatabase.h" |
32 #include "modules/indexeddb/IDBFactory.h" | 32 #include "modules/indexeddb/IDBFactory.h" |
33 #include "modules/indexeddb/IDBIndex.h" | 33 #include "modules/indexeddb/IDBIndex.h" |
34 #include "modules/indexeddb/IDBKeyPath.h" | |
35 #include "modules/indexeddb/IDBObjectStore.h" | 34 #include "modules/indexeddb/IDBObjectStore.h" |
36 | 35 |
37 namespace WebCore { | 36 namespace WebCore { |
38 | 37 |
39 PassRefPtr<IDBAny> IDBAny::createInvalid() | 38 PassRefPtr<IDBAny> IDBAny::createInvalid() |
40 { | 39 { |
41 return adoptRef(new IDBAny(UndefinedType)); | 40 return adoptRef(new IDBAny(UndefinedType)); |
42 } | 41 } |
43 | 42 |
44 PassRefPtr<IDBAny> IDBAny::createNull() | 43 PassRefPtr<IDBAny> IDBAny::createNull() |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 { | 199 { |
201 } | 200 } |
202 | 201 |
203 IDBAny::IDBAny(int64_t value) | 202 IDBAny::IDBAny(int64_t value) |
204 : m_type(IntegerType) | 203 : m_type(IntegerType) |
205 , m_integer(value) | 204 , m_integer(value) |
206 { | 205 { |
207 } | 206 } |
208 | 207 |
209 } // namespace WebCore | 208 } // namespace WebCore |
OLD | NEW |