| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2013 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 18 matching lines...) Expand all Loading... |
| 29 #define SQLStatement_h | 29 #define SQLStatement_h |
| 30 | 30 |
| 31 #include "modules/webdatabase/sqlite/SQLValue.h" | 31 #include "modules/webdatabase/sqlite/SQLValue.h" |
| 32 #include "modules/webdatabase/SQLResultSet.h" | 32 #include "modules/webdatabase/SQLResultSet.h" |
| 33 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
| 34 #include "wtf/text/WTFString.h" | 34 #include "wtf/text/WTFString.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class Database; | 38 class Database; |
| 39 class SQLError; | |
| 40 class SQLStatementBackend; | 39 class SQLStatementBackend; |
| 41 class SQLStatementCallback; | 40 class SQLStatementCallback; |
| 42 class SQLStatementErrorCallback; | 41 class SQLStatementErrorCallback; |
| 43 class SQLTransaction; | 42 class SQLTransaction; |
| 44 | 43 |
| 45 class SQLStatement final : public GarbageCollectedFinalized<SQLStatement> { | 44 class SQLStatement final : public GarbageCollectedFinalized<SQLStatement> { |
| 46 public: | 45 public: |
| 47 static SQLStatement* create(Database*, SQLStatementCallback*, SQLStatementEr
rorCallback*); | 46 static SQLStatement* create(Database*, SQLStatementCallback*, SQLStatementEr
rorCallback*); |
| 48 ~SQLStatement(); | 47 ~SQLStatement(); |
| 49 void trace(Visitor*); | 48 void trace(Visitor*); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 64 Member<SQLStatementBackend> m_backend; | 63 Member<SQLStatementBackend> m_backend; |
| 65 | 64 |
| 66 Member<SQLStatementCallback> m_statementCallback; | 65 Member<SQLStatementCallback> m_statementCallback; |
| 67 Member<SQLStatementErrorCallback> m_statementErrorCallback; | 66 Member<SQLStatementErrorCallback> m_statementErrorCallback; |
| 68 int m_asyncOperationId; | 67 int m_asyncOperationId; |
| 69 }; | 68 }; |
| 70 | 69 |
| 71 } // namespace blink | 70 } // namespace blink |
| 72 | 71 |
| 73 #endif // SQLStatement_h | 72 #endif // SQLStatement_h |
| OLD | NEW |