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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 String m_filename; | 161 String m_filename; |
162 | 162 |
163 DatabaseGuid m_guid; | 163 DatabaseGuid m_guid; |
164 bool m_opened; | 164 bool m_opened; |
165 bool m_new; | 165 bool m_new; |
166 | 166 |
167 SQLiteDatabase m_sqliteDatabase; | 167 SQLiteDatabase m_sqliteDatabase; |
168 | 168 |
169 Member<DatabaseAuthorizer> m_databaseAuthorizer; | 169 Member<DatabaseAuthorizer> m_databaseAuthorizer; |
170 | 170 |
171 HeapDeque<Member<SQLTransactionBackend> > m_transactionQueue; | 171 HeapDeque<Member<SQLTransactionBackend>> m_transactionQueue; |
172 Mutex m_transactionInProgressMutex; | 172 Mutex m_transactionInProgressMutex; |
173 bool m_transactionInProgress; | 173 bool m_transactionInProgress; |
174 bool m_isTransactionQueueEnabled; | 174 bool m_isTransactionQueueEnabled; |
175 | 175 |
176 friend class ChangeVersionWrapper; | 176 friend class ChangeVersionWrapper; |
177 friend class DatabaseManager; | 177 friend class DatabaseManager; |
178 friend class SQLStatementBackend; | 178 friend class SQLStatementBackend; |
179 friend class SQLTransaction; | 179 friend class SQLTransaction; |
180 friend class SQLTransactionBackend; | 180 friend class SQLTransactionBackend; |
181 }; | 181 }; |
182 | 182 |
183 } // namespace blink | 183 } // namespace blink |
184 | 184 |
185 #endif // Database_h | 185 #endif // Database_h |
OLD | NEW |