Chromium Code Reviews| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 IDBObjectStoreType, | 84 IDBObjectStoreType, |
| 85 IDBTransactionType, | 85 IDBTransactionType, |
| 86 ScriptValueType, | 86 ScriptValueType, |
| 87 IntegerType, | 87 IntegerType, |
| 88 StringType, | 88 StringType, |
| 89 KeyPathType, | 89 KeyPathType, |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 Type type() const { return m_type; } | 92 Type type() const { return m_type; } |
| 93 // Use type() to figure out which one of these you're allowed to call. | 93 // Use type() to figure out which one of these you're allowed to call. |
| 94 PassRefPtr<DOMStringList> domStringList(); | 94 DOMStringList* domStringList(); |
|
jsbell
2013/09/06 00:27:51
This may seem unrelated, but without this the requ
| |
| 95 PassRefPtr<IDBCursor> idbCursor(); | 95 IDBCursor* idbCursor(); |
| 96 PassRefPtr<IDBCursorWithValue> idbCursorWithValue(); | 96 IDBCursorWithValue* idbCursorWithValue(); |
| 97 PassRefPtr<IDBDatabase> idbDatabase(); | 97 IDBDatabase* idbDatabase(); |
| 98 PassRefPtr<IDBFactory> idbFactory(); | 98 IDBFactory* idbFactory(); |
| 99 PassRefPtr<IDBIndex> idbIndex(); | 99 IDBIndex* idbIndex(); |
| 100 PassRefPtr<IDBObjectStore> idbObjectStore(); | 100 IDBObjectStore* idbObjectStore(); |
| 101 PassRefPtr<IDBTransaction> idbTransaction(); | 101 IDBTransaction* idbTransaction(); |
| 102 const ScriptValue& scriptValue(); | 102 const ScriptValue& scriptValue(); |
| 103 int64_t integer(); | 103 int64_t integer(); |
| 104 const String& string(); | 104 const String& string(); |
| 105 const IDBKeyPath& keyPath() { return m_idbKeyPath; }; | 105 const IDBKeyPath& keyPath() { return m_idbKeyPath; }; |
| 106 | 106 |
| 107 private: | 107 private: |
| 108 explicit IDBAny(Type); | 108 explicit IDBAny(Type); |
| 109 explicit IDBAny(PassRefPtr<DOMStringList>); | 109 explicit IDBAny(PassRefPtr<DOMStringList>); |
| 110 explicit IDBAny(PassRefPtr<IDBCursor>); | 110 explicit IDBAny(PassRefPtr<IDBCursor>); |
| 111 explicit IDBAny(PassRefPtr<IDBCursorWithValue>); | 111 explicit IDBAny(PassRefPtr<IDBCursorWithValue>); |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 132 const RefPtr<IDBTransaction> m_idbTransaction; | 132 const RefPtr<IDBTransaction> m_idbTransaction; |
| 133 const IDBKeyPath m_idbKeyPath; | 133 const IDBKeyPath m_idbKeyPath; |
| 134 const ScriptValue m_scriptValue; | 134 const ScriptValue m_scriptValue; |
| 135 const String m_string; | 135 const String m_string; |
| 136 const int64_t m_integer; | 136 const int64_t m_integer; |
| 137 }; | 137 }; |
| 138 | 138 |
| 139 } // namespace WebCore | 139 } // namespace WebCore |
| 140 | 140 |
| 141 #endif // IDBAny_h | 141 #endif // IDBAny_h |
| OLD | NEW |