| 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 23 matching lines...) Expand all Loading... |
| 34 #include "wtf/Forward.h" | 34 #include "wtf/Forward.h" |
| 35 #include "wtf/text/WTFString.h" | 35 #include "wtf/text/WTFString.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class IDBCursor; | 39 class IDBCursor; |
| 40 class IDBCursorWithValue; | 40 class IDBCursorWithValue; |
| 41 class IDBDatabase; | 41 class IDBDatabase; |
| 42 class IDBIndex; | 42 class IDBIndex; |
| 43 class IDBObjectStore; | 43 class IDBObjectStore; |
| 44 class WebBlobInfo; | |
| 45 | 44 |
| 46 // IDBAny is used for: | 45 // IDBAny is used for: |
| 47 // * source of IDBCursor (IDBObjectStore or IDBIndex) | 46 // * source of IDBCursor (IDBObjectStore or IDBIndex) |
| 48 // * source of IDBRequest (IDBObjectStore, IDBIndex, IDBCursor, or null) | 47 // * source of IDBRequest (IDBObjectStore, IDBIndex, IDBCursor, or null) |
| 49 // * result of IDBRequest (IDBDatabase, IDBCursor, DOMStringList, undefined, | 48 // * result of IDBRequest (IDBDatabase, IDBCursor, DOMStringList, undefined, |
| 50 // integer, key or value) | 49 // integer, key or value) |
| 51 // | 50 // |
| 52 // This allows for lazy conversion to script values (via IDBBindingUtilities), | 51 // This allows for lazy conversion to script values (via IDBBindingUtilities), |
| 53 // and avoids the need for many dedicated union types. | 52 // and avoids the need for many dedicated union types. |
| 54 | 53 |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 const Member<IDBObjectStore> m_idbObjectStore; | 123 const Member<IDBObjectStore> m_idbObjectStore; |
| 125 const Member<IDBKey> m_idbKey; | 124 const Member<IDBKey> m_idbKey; |
| 126 const RefPtr<IDBValue> m_idbValue; | 125 const RefPtr<IDBValue> m_idbValue; |
| 127 const Vector<RefPtr<IDBValue>> m_idbValues; | 126 const Vector<RefPtr<IDBValue>> m_idbValues; |
| 128 const int64_t m_integer = 0; | 127 const int64_t m_integer = 0; |
| 129 }; | 128 }; |
| 130 | 129 |
| 131 } // namespace blink | 130 } // namespace blink |
| 132 | 131 |
| 133 #endif // IDBAny_h | 132 #endif // IDBAny_h |
| OLD | NEW |