| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 12 matching lines...) Expand all Loading... |
| 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #ifndef DatabaseBackendBase_h | 30 #ifndef DatabaseBackendBase_h |
| 31 #define DatabaseBackendBase_h | 31 #define DatabaseBackendBase_h |
| 32 | 32 |
| 33 #if ENABLE(SQL_DATABASE) | |
| 34 | |
| 35 #include "DatabaseBasicTypes.h" | 33 #include "DatabaseBasicTypes.h" |
| 36 #include "DatabaseDetails.h" | 34 #include "DatabaseDetails.h" |
| 37 #include "DatabaseError.h" | 35 #include "DatabaseError.h" |
| 38 #include "SQLiteDatabase.h" | 36 #include "SQLiteDatabase.h" |
| 39 #include <wtf/Forward.h> | 37 #include <wtf/Forward.h> |
| 40 #include <wtf/RefPtr.h> | 38 #include <wtf/RefPtr.h> |
| 41 #include <wtf/ThreadSafeRefCounted.h> | 39 #include <wtf/ThreadSafeRefCounted.h> |
| 42 #include <wtf/text/WTFString.h> | 40 #include <wtf/text/WTFString.h> |
| 43 | 41 |
| 44 #if !LOG_DISABLED || !ERROR_DISABLED | 42 #if !LOG_DISABLED || !ERROR_DISABLED |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 | 153 |
| 156 SQLiteDatabase m_sqliteDatabase; | 154 SQLiteDatabase m_sqliteDatabase; |
| 157 | 155 |
| 158 RefPtr<DatabaseAuthorizer> m_databaseAuthorizer; | 156 RefPtr<DatabaseAuthorizer> m_databaseAuthorizer; |
| 159 | 157 |
| 160 friend class DatabaseServer; | 158 friend class DatabaseServer; |
| 161 }; | 159 }; |
| 162 | 160 |
| 163 } // namespace WebCore | 161 } // namespace WebCore |
| 164 | 162 |
| 165 #endif // ENABLE(SQL_DATABASE) | |
| 166 | |
| 167 #endif // DatabaseBackendBase_h | 163 #endif // DatabaseBackendBase_h |
| OLD | NEW |