| 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 22 matching lines...) Expand all Loading... |
| 33 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
| 34 #include "wtf/Vector.h" | 34 #include "wtf/Vector.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 Database; | 39 class Database; |
| 40 class SQLErrorData; | 40 class SQLErrorData; |
| 41 class SQLResultSet; | 41 class SQLResultSet; |
| 42 class SQLStatement; | 42 class SQLStatement; |
| 43 class SQLTransactionBackend; | |
| 44 | 43 |
| 45 class SQLStatementBackend final : public GarbageCollectedFinalized<SQLStatementB
ackend> { | 44 class SQLStatementBackend final : public GarbageCollectedFinalized<SQLStatementB
ackend> { |
| 46 public: | 45 public: |
| 47 static SQLStatementBackend* create(SQLStatement*, | 46 static SQLStatementBackend* create(SQLStatement*, |
| 48 const String& sqlStatement, const Vector<SQLValue>& arguments, int permi
ssions); | 47 const String& sqlStatement, const Vector<SQLValue>& arguments, int permi
ssions); |
| 49 void trace(Visitor*); | 48 void trace(Visitor*); |
| 50 | 49 |
| 51 bool execute(Database*); | 50 bool execute(Database*); |
| 52 bool lastExecutionFailedDueToQuota() const; | 51 bool lastExecutionFailedDueToQuota() const; |
| 53 | 52 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 74 | 73 |
| 75 OwnPtr<SQLErrorData> m_error; | 74 OwnPtr<SQLErrorData> m_error; |
| 76 Member<SQLResultSet> m_resultSet; | 75 Member<SQLResultSet> m_resultSet; |
| 77 | 76 |
| 78 int m_permissions; | 77 int m_permissions; |
| 79 }; | 78 }; |
| 80 | 79 |
| 81 } // namespace blink | 80 } // namespace blink |
| 82 | 81 |
| 83 #endif // SQLStatementBackend_h | 82 #endif // SQLStatementBackend_h |
| OLD | NEW |