| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 String m_filename; | 159 String m_filename; |
| 160 | 160 |
| 161 DatabaseGuid m_guid; | 161 DatabaseGuid m_guid; |
| 162 int m_opened; | 162 int m_opened; |
| 163 bool m_new; | 163 bool m_new; |
| 164 | 164 |
| 165 SQLiteDatabase m_sqliteDatabase; | 165 SQLiteDatabase m_sqliteDatabase; |
| 166 | 166 |
| 167 Member<DatabaseAuthorizer> m_databaseAuthorizer; | 167 Member<DatabaseAuthorizer> m_databaseAuthorizer; |
| 168 | 168 |
| 169 HeapDeque<Member<SQLTransactionBackend>> m_transactionQueue; | 169 Deque<CrossThreadPersistent<SQLTransactionBackend>> m_transactionQueue; |
| 170 Mutex m_transactionInProgressMutex; | 170 Mutex m_transactionInProgressMutex; |
| 171 bool m_transactionInProgress; | 171 bool m_transactionInProgress; |
| 172 bool m_isTransactionQueueEnabled; | 172 bool m_isTransactionQueueEnabled; |
| 173 | 173 |
| 174 friend class ChangeVersionWrapper; | 174 friend class ChangeVersionWrapper; |
| 175 friend class DatabaseManager; | 175 friend class DatabaseManager; |
| 176 friend class SQLStatementBackend; | 176 friend class SQLStatementBackend; |
| 177 friend class SQLTransaction; | 177 friend class SQLTransaction; |
| 178 friend class SQLTransactionBackend; | 178 friend class SQLTransactionBackend; |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 } // namespace blink | 181 } // namespace blink |
| 182 | 182 |
| 183 #endif // Database_h | 183 #endif // Database_h |
| OLD | NEW |