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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 class Database; | 43 class Database; |
44 class ExceptionState; | 44 class ExceptionState; |
45 class SQLError; | 45 class SQLError; |
46 class SQLStatementCallback; | 46 class SQLStatementCallback; |
47 class SQLStatementErrorCallback; | 47 class SQLStatementErrorCallback; |
48 class SQLTransactionCallback; | 48 class SQLTransactionCallback; |
49 class SQLTransactionErrorCallback; | 49 class SQLTransactionErrorCallback; |
50 class SQLValue; | 50 class SQLValue; |
51 class VoidCallback; | 51 class VoidCallback; |
52 | 52 |
53 class SQLTransaction : public SQLTransactionStateMachine<SQLTransaction>, public
AbstractSQLTransaction, public ScriptWrappable { | 53 class SQLTransaction FINAL : public SQLTransactionStateMachine<SQLTransaction>,
public AbstractSQLTransaction, public ScriptWrappable { |
54 public: | 54 public: |
55 static PassRefPtr<SQLTransaction> create(Database*, PassOwnPtr<SQLTransactio
nCallback>, | 55 static PassRefPtr<SQLTransaction> create(Database*, PassOwnPtr<SQLTransactio
nCallback>, |
56 PassOwnPtr<VoidCallback> successCallback, PassOwnPtr<SQLTransactionError
Callback>, | 56 PassOwnPtr<VoidCallback> successCallback, PassOwnPtr<SQLTransactionError
Callback>, |
57 bool readOnly); | 57 bool readOnly); |
58 | 58 |
59 void performPendingCallback(); | 59 void performPendingCallback(); |
60 | 60 |
61 void executeSQL(const String& sqlStatement, const Vector<SQLValue>& argument
s, | 61 void executeSQL(const String& sqlStatement, const Vector<SQLValue>& argument
s, |
62 PassOwnPtr<SQLStatementCallback>, PassOwnPtr<SQLStatementErrorCallback>,
ExceptionState&); | 62 PassOwnPtr<SQLStatementCallback>, PassOwnPtr<SQLStatementErrorCallback>,
ExceptionState&); |
63 | 63 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 bool m_executeSqlAllowed; | 104 bool m_executeSqlAllowed; |
105 RefPtr<SQLError> m_transactionError; | 105 RefPtr<SQLError> m_transactionError; |
106 | 106 |
107 bool m_readOnly; | 107 bool m_readOnly; |
108 }; | 108 }; |
109 | 109 |
110 } // namespace WebCore | 110 } // namespace WebCore |
111 | 111 |
112 #endif // SQLTransaction_h | 112 #endif // SQLTransaction_h |
OLD | NEW |