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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 SQLTransactionState deliverStatementCallback(); | 91 SQLTransactionState deliverStatementCallback(); |
92 SQLTransactionState deliverQuotaIncreaseCallback(); | 92 SQLTransactionState deliverQuotaIncreaseCallback(); |
93 SQLTransactionState deliverSuccessCallback(); | 93 SQLTransactionState deliverSuccessCallback(); |
94 | 94 |
95 SQLTransactionState unreachableState(); | 95 SQLTransactionState unreachableState(); |
96 SQLTransactionState sendToBackendState(); | 96 SQLTransactionState sendToBackendState(); |
97 | 97 |
98 SQLTransactionState nextStateForTransactionError(); | 98 SQLTransactionState nextStateForTransactionError(); |
99 | 99 |
100 RefPtrWillBeMember<Database> m_database; | 100 RefPtrWillBeMember<Database> m_database; |
101 RefPtr<AbstractSQLTransactionBackend> m_backend; | 101 RefPtrWillBeMember<AbstractSQLTransactionBackend> m_backend; |
102 SQLCallbackWrapper<SQLTransactionCallback> m_callbackWrapper; | 102 SQLCallbackWrapper<SQLTransactionCallback> m_callbackWrapper; |
103 SQLCallbackWrapper<VoidCallback> m_successCallbackWrapper; | 103 SQLCallbackWrapper<VoidCallback> m_successCallbackWrapper; |
104 SQLCallbackWrapper<SQLTransactionErrorCallback> m_errorCallbackWrapper; | 104 SQLCallbackWrapper<SQLTransactionErrorCallback> m_errorCallbackWrapper; |
105 | 105 |
106 bool m_executeSqlAllowed; | 106 bool m_executeSqlAllowed; |
107 RefPtr<SQLError> m_transactionError; | 107 RefPtr<SQLError> m_transactionError; |
108 | 108 |
109 bool m_readOnly; | 109 bool m_readOnly; |
110 }; | 110 }; |
111 | 111 |
112 } // namespace WebCore | 112 } // namespace WebCore |
113 | 113 |
114 #endif // SQLTransaction_h | 114 #endif // SQLTransaction_h |
OLD | NEW |