| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2013 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 #if !LOG_DISABLED | 150 #if !LOG_DISABLED |
| 151 const char* DatabaseBackend::DatabaseCloseTask::debugTaskName() const | 151 const char* DatabaseBackend::DatabaseCloseTask::debugTaskName() const |
| 152 { | 152 { |
| 153 return "DatabaseCloseTask"; | 153 return "DatabaseCloseTask"; |
| 154 } | 154 } |
| 155 #endif | 155 #endif |
| 156 | 156 |
| 157 // *** DatabaseTransactionTask *** | 157 // *** DatabaseTransactionTask *** |
| 158 // Starts a transaction that will report its results via a callback. | 158 // Starts a transaction that will report its results via a callback. |
| 159 | 159 |
| 160 DatabaseBackend::DatabaseTransactionTask::DatabaseTransactionTask(PassRefPtr<SQL
TransactionBackend> transaction) | 160 DatabaseBackend::DatabaseTransactionTask::DatabaseTransactionTask(PassRefPtrWill
BeRawPtr<SQLTransactionBackend> transaction) |
| 161 : DatabaseTask(Database::from(transaction->database()), 0) | 161 : DatabaseTask(Database::from(transaction->database()), 0) |
| 162 , m_transaction(transaction) | 162 , m_transaction(transaction) |
| 163 { | 163 { |
| 164 } | 164 } |
| 165 | 165 |
| 166 DatabaseBackend::DatabaseTransactionTask::~DatabaseTransactionTask() | 166 DatabaseBackend::DatabaseTransactionTask::~DatabaseTransactionTask() |
| 167 { | 167 { |
| 168 } | 168 } |
| 169 | 169 |
| 170 void DatabaseBackend::DatabaseTransactionTask::doPerformTask() | 170 void DatabaseBackend::DatabaseTransactionTask::doPerformTask() |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 } | 208 } |
| 209 | 209 |
| 210 #if !LOG_DISABLED | 210 #if !LOG_DISABLED |
| 211 const char* DatabaseBackend::DatabaseTableNamesTask::debugTaskName() const | 211 const char* DatabaseBackend::DatabaseTableNamesTask::debugTaskName() const |
| 212 { | 212 { |
| 213 return "DatabaseTableNamesTask"; | 213 return "DatabaseTableNamesTask"; |
| 214 } | 214 } |
| 215 #endif | 215 #endif |
| 216 | 216 |
| 217 } // namespace WebCore | 217 } // namespace WebCore |
| OLD | NEW |