| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple 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 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef SQLResultSetRowList_h | 29 #ifndef SQLResultSetRowList_h |
| 30 #define SQLResultSetRowList_h | 30 #define SQLResultSetRowList_h |
| 31 | 31 |
| 32 #include "bindings/v8/ScriptWrappable.h" | 32 #include "bindings/v8/ScriptWrappable.h" |
| 33 #include "modules/webdatabase/sqlite/SQLValue.h" | 33 #include "modules/webdatabase/sqlite/SQLValue.h" |
| 34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "wtf/PassRefPtr.h" | 35 #include "wtf/Forward.h" |
| 36 #include "wtf/RefCounted.h" | 36 #include "wtf/RefCounted.h" |
| 37 | 37 |
| 38 namespace WebCore { | 38 namespace WebCore { |
| 39 | 39 |
| 40 class SQLResultSetRowList : public RefCountedWillBeGarbageCollectedFinalized<SQL
ResultSetRowList>, public ScriptWrappable { | 40 class SQLResultSetRowList : public RefCountedWillBeGarbageCollectedFinalized<SQL
ResultSetRowList>, public ScriptWrappable { |
| 41 public: | 41 public: |
| 42 static PassRefPtrWillBeRawPtr<SQLResultSetRowList> create() { return adoptRe
fWillBeNoop(new SQLResultSetRowList); } | 42 static PassRefPtrWillBeRawPtr<SQLResultSetRowList> create() { return adoptRe
fWillBeNoop(new SQLResultSetRowList); } |
| 43 void trace(Visitor*) { } | 43 void trace(Visitor*) { } |
| 44 | 44 |
| 45 const Vector<String>& columnNames() const { return m_columns; } | 45 const Vector<String>& columnNames() const { return m_columns; } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 56 ScriptWrappable::init(this); | 56 ScriptWrappable::init(this); |
| 57 } | 57 } |
| 58 | 58 |
| 59 Vector<String> m_columns; | 59 Vector<String> m_columns; |
| 60 Vector<SQLValue> m_result; | 60 Vector<SQLValue> m_result; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } | 63 } |
| 64 | 64 |
| 65 #endif | 65 #endif |
| OLD | NEW |