| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 25 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 #ifndef SQLTransactionBackendSync_h | 32 #ifndef SQLTransactionBackendSync_h |
| 33 #define SQLTransactionBackendSync_h | 33 #define SQLTransactionBackendSync_h |
| 34 | 34 |
| 35 #if ENABLE(SQL_DATABASE) | |
| 36 | |
| 37 #include "DatabaseBasicTypes.h" | 35 #include "DatabaseBasicTypes.h" |
| 38 #include <wtf/Forward.h> | 36 #include <wtf/Forward.h> |
| 39 #include <wtf/RefCounted.h> | 37 #include <wtf/RefCounted.h> |
| 40 #include <wtf/Vector.h> | 38 #include <wtf/Vector.h> |
| 41 #include <wtf/text/WTFString.h> | 39 #include <wtf/text/WTFString.h> |
| 42 | 40 |
| 43 namespace WebCore { | 41 namespace WebCore { |
| 44 | 42 |
| 45 class DatabaseSync; | 43 class DatabaseSync; |
| 46 class SQLResultSet; | 44 class SQLResultSet; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 74 | 72 |
| 75 bool m_modifiedDatabase; | 73 bool m_modifiedDatabase; |
| 76 OwnPtr<SQLTransactionClient> m_transactionClient; | 74 OwnPtr<SQLTransactionClient> m_transactionClient; |
| 77 OwnPtr<SQLiteTransaction> m_sqliteTransaction; | 75 OwnPtr<SQLiteTransaction> m_sqliteTransaction; |
| 78 | 76 |
| 79 friend class SQLTransactionSync; // FIXME: Remove this once the front-end ha
s been properly isolated. | 77 friend class SQLTransactionSync; // FIXME: Remove this once the front-end ha
s been properly isolated. |
| 80 }; | 78 }; |
| 81 | 79 |
| 82 } // namespace WebCore | 80 } // namespace WebCore |
| 83 | 81 |
| 84 #endif | |
| 85 | |
| 86 #endif // SQLTransactionBackendSync_h | 82 #endif // SQLTransactionBackendSync_h |
| OLD | NEW |