| 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 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef DatabaseBackend_h | 26 #ifndef DatabaseBackend_h |
| 27 #define DatabaseBackend_h | 27 #define DatabaseBackend_h |
| 28 | 28 |
| 29 #include "modules/webdatabase/DatabaseBackendBase.h" | 29 #include "modules/webdatabase/DatabaseBackendBase.h" |
| 30 #include "wtf/Deque.h" | 30 #include "wtf/Deque.h" |
| 31 #include "wtf/text/WTFString.h" | 31 #include "wtf/text/WTFString.h" |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace blink { |
| 34 | 34 |
| 35 class ChangeVersionData; | 35 class ChangeVersionData; |
| 36 class Database; | 36 class Database; |
| 37 class DatabaseServer; | 37 class DatabaseServer; |
| 38 class SQLTransaction; | 38 class SQLTransaction; |
| 39 class SQLTransactionBackend; | 39 class SQLTransactionBackend; |
| 40 class SQLTransactionClient; | 40 class SQLTransactionClient; |
| 41 class SQLTransactionCoordinator; | 41 class SQLTransactionCoordinator; |
| 42 | 42 |
| 43 // FIXME: This implementation of DatabaseBackend is only a place holder | 43 // FIXME: This implementation of DatabaseBackend is only a place holder |
| (...skipping 28 matching lines...) Expand all Loading... |
| 72 void scheduleTransaction(); | 72 void scheduleTransaction(); |
| 73 | 73 |
| 74 Deque<RefPtrWillBeMember<SQLTransactionBackend> > m_transactionQueue; | 74 Deque<RefPtrWillBeMember<SQLTransactionBackend> > m_transactionQueue; |
| 75 Mutex m_transactionInProgressMutex; | 75 Mutex m_transactionInProgressMutex; |
| 76 bool m_transactionInProgress; | 76 bool m_transactionInProgress; |
| 77 bool m_isTransactionQueueEnabled; | 77 bool m_isTransactionQueueEnabled; |
| 78 | 78 |
| 79 friend class Database; | 79 friend class Database; |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 } // namespace WebCore | 82 } // namespace blink |
| 83 | 83 |
| 84 #endif // DatabaseBackend_h | 84 #endif // DatabaseBackend_h |
| OLD | NEW |