transaction 42 Source/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp bool V8SQLStatementErrorCallback::handleEvent(SQLTransaction* transaction, SQLError* error) transaction 56 Source/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp v8::Handle<v8::Value> transactionHandle = toV8(transaction, v8::Handle<v8::Object>(), isolate); transaction 93 Source/bindings/v8/custom/V8SQLTransactionCustom.cpp SQLTransaction* transaction = V8SQLTransaction::toNative(info.Holder()); transaction 117 Source/bindings/v8/custom/V8SQLTransactionCustom.cpp transaction->executeSQL(statement, sqlValues, callback.release(), errorCallback.release(), exceptionState); transaction 92 Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp SQLTransactionSync* transaction = V8SQLTransactionSync::toNative(info.Holder()); transaction 94 Source/bindings/v8/custom/V8SQLTransactionSyncCustom.cpp v8::Handle<v8::Value> result = toV8(transaction->executeSQL(statement, sqlValues, exceptionState), info.Holder(), info.GetIsolate()); transaction 49 Source/modules/indexeddb/IDBCursor.cpp PassRefPtr<IDBCursor> IDBCursor::create(PassOwnPtr<blink::WebIDBCursor> backend, WebIDBCursor::Direction direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction) transaction 51 Source/modules/indexeddb/IDBCursor.cpp return adoptRef(new IDBCursor(backend, direction, request, source, transaction)); transaction 78 Source/modules/indexeddb/IDBCursor.cpp IDBCursor::IDBCursor(PassOwnPtr<blink::WebIDBCursor> backend, WebIDBCursor::Direction direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction) transaction 83 Source/modules/indexeddb/IDBCursor.cpp , m_transaction(transaction) transaction 35 Source/modules/indexeddb/IDBCursorWithValue.cpp PassRefPtr<IDBCursorWithValue> IDBCursorWithValue::create(PassOwnPtr<blink::WebIDBCursor> backend, WebIDBCursor::Direction direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction) transaction 37 Source/modules/indexeddb/IDBCursorWithValue.cpp return adoptRef(new IDBCursorWithValue(backend, direction, request, source, transaction)); transaction 40 Source/modules/indexeddb/IDBCursorWithValue.cpp IDBCursorWithValue::IDBCursorWithValue(PassOwnPtr<blink::WebIDBCursor> backend, WebIDBCursor::Direction direction, IDBRequest* request, IDBAny* source, IDBTransaction* transaction) transaction 41 Source/modules/indexeddb/IDBCursorWithValue.cpp : IDBCursor(backend, direction, request, source, transaction) transaction 116 Source/modules/indexeddb/IDBDatabase.cpp void IDBDatabase::transactionCreated(IDBTransaction* transaction) transaction 118 Source/modules/indexeddb/IDBDatabase.cpp ASSERT(transaction); transaction 119 Source/modules/indexeddb/IDBDatabase.cpp ASSERT(!m_transactions.contains(transaction->id())); transaction 120 Source/modules/indexeddb/IDBDatabase.cpp m_transactions.add(transaction->id(), transaction); transaction 122 Source/modules/indexeddb/IDBDatabase.cpp if (transaction->isVersionChange()) { transaction 124 Source/modules/indexeddb/IDBDatabase.cpp m_versionChangeTransaction = transaction; transaction 128 Source/modules/indexeddb/IDBDatabase.cpp void IDBDatabase::transactionFinished(const IDBTransaction* transaction) transaction 130 Source/modules/indexeddb/IDBDatabase.cpp ASSERT(transaction); transaction 131 Source/modules/indexeddb/IDBDatabase.cpp ASSERT(m_transactions.contains(transaction->id())); transaction 132 Source/modules/indexeddb/IDBDatabase.cpp ASSERT(m_transactions.get(transaction->id()) == transaction); transaction 133 Source/modules/indexeddb/IDBDatabase.cpp m_transactions.remove(transaction->id()); transaction 135 Source/modules/indexeddb/IDBDatabase.cpp if (transaction->isVersionChange()) { transaction 136 Source/modules/indexeddb/IDBDatabase.cpp ASSERT(m_versionChangeTransaction == transaction); transaction 301 Source/modules/indexeddb/IDBDatabase.cpp RefPtr<IDBTransaction> transaction = IDBTransaction::create(context, transactionId, scope, mode, this); transaction 302 Source/modules/indexeddb/IDBDatabase.cpp return transaction.release(); transaction 309 Source/modules/indexeddb/IDBDatabase.cpp return transaction(context, storeNames, mode, exceptionState); transaction 74 Source/modules/indexeddb/IDBDatabase.h PassRefPtr<IDBTransaction> transaction(ExecutionContext* context, PassRefPtr<DOMStringList> scope, const String& mode, ExceptionState& exceptionState) { return transaction(context, *scope, mode, exceptionState); } transaction 75 Source/modules/indexeddb/IDBDatabase.h PassRefPtr<IDBTransaction> transaction(ExecutionContext*, const Vector<String>&, const String& mode, ExceptionState&); transaction 76 Source/modules/indexeddb/IDBDatabase.h PassRefPtr<IDBTransaction> transaction(ExecutionContext*, const String&, const String& mode, ExceptionState&); transaction 47 Source/modules/indexeddb/IDBIndex.cpp IDBIndex::IDBIndex(const IDBIndexMetadata& metadata, IDBObjectStore* objectStore, IDBTransaction* transaction) transaction 50 Source/modules/indexeddb/IDBIndex.cpp , m_transaction(transaction) transaction 47 Source/modules/indexeddb/IDBIndex.h static PassRefPtr<IDBIndex> create(const IDBIndexMetadata& metadata, IDBObjectStore* objectStore, IDBTransaction* transaction) transaction 49 Source/modules/indexeddb/IDBIndex.h return adoptRef(new IDBIndex(metadata, objectStore, transaction)); transaction 53 Source/modules/indexeddb/IDBObjectStore.cpp IDBObjectStore::IDBObjectStore(const IDBObjectStoreMetadata& metadata, IDBTransaction* transaction) transaction 55 Source/modules/indexeddb/IDBObjectStore.cpp , m_transaction(transaction) transaction 432 Source/modules/indexeddb/IDBObjectStore.cpp RefPtr<IndexPopulator> indexPopulator = IndexPopulator::create(transaction()->db(), m_transaction->id(), id(), metadata); transaction 54 Source/modules/indexeddb/IDBObjectStore.h static PassRefPtr<IDBObjectStore> create(const IDBObjectStoreMetadata& metadata, IDBTransaction* transaction) transaction 56 Source/modules/indexeddb/IDBObjectStore.h return adoptRef(new IDBObjectStore(metadata, transaction)); transaction 65 Source/modules/indexeddb/IDBObjectStore.h PassRefPtr<IDBTransaction> transaction() const { return m_transaction; } transaction 45 Source/modules/indexeddb/IDBPendingTransactionMonitor.cpp void IDBPendingTransactionMonitor::addNewTransaction(PassRefPtr<IDBTransaction> transaction) transaction 47 Source/modules/indexeddb/IDBPendingTransactionMonitor.cpp transactions()->append(transaction); transaction 54 Source/modules/indexeddb/IDBPendingTransactionMonitor.cpp RefPtr<IDBTransaction> transaction = list->at(i); transaction 55 Source/modules/indexeddb/IDBPendingTransactionMonitor.cpp transaction->setActive(false); transaction 47 Source/modules/indexeddb/IDBRequest.cpp PassRefPtr<IDBRequest> IDBRequest::create(ExecutionContext* context, PassRefPtr<IDBAny> source, IDBTransaction* transaction) transaction 49 Source/modules/indexeddb/IDBRequest.cpp RefPtr<IDBRequest> request(adoptRef(new IDBRequest(context, source, transaction))); transaction 52 Source/modules/indexeddb/IDBRequest.cpp if (transaction) transaction 53 Source/modules/indexeddb/IDBRequest.cpp transaction->registerRequest(request.get()); transaction 57 Source/modules/indexeddb/IDBRequest.cpp IDBRequest::IDBRequest(ExecutionContext* context, PassRefPtr<IDBAny> source, IDBTransaction* transaction) transaction 60 Source/modules/indexeddb/IDBRequest.cpp , m_transaction(transaction) transaction 73 Source/modules/indexeddb/IDBRequest.h PassRefPtr<IDBTransaction> transaction() const { return m_transaction; } transaction 92 Source/modules/indexeddb/IDBRequestTest.cpp IDBTransaction* transaction = 0; transaction 93 Source/modules/indexeddb/IDBRequestTest.cpp RefPtr<IDBRequest> request = IDBRequest::create(executionContext(), IDBAny::createUndefined(), transaction); transaction 111 Source/modules/indexeddb/IDBRequestTest.cpp IDBTransaction* transaction = 0; transaction 112 Source/modules/indexeddb/IDBRequestTest.cpp RefPtr<IDBRequest> request = IDBRequest::create(executionContext(), IDBAny::createUndefined(), transaction); transaction 49 Source/modules/indexeddb/IDBTransaction.cpp RefPtr<IDBTransaction> transaction(adoptRef(new IDBTransaction(context, id, objectStoreNames, mode, db, openDBRequest, IDBDatabaseMetadata()))); transaction 50 Source/modules/indexeddb/IDBTransaction.cpp transaction->suspendIfNeeded(); transaction 51 Source/modules/indexeddb/IDBTransaction.cpp return transaction.release(); transaction 56 Source/modules/indexeddb/IDBTransaction.cpp RefPtr<IDBTransaction> transaction(adoptRef(new IDBTransaction(context, id, Vector<String>(), WebIDBDatabase::TransactionVersionChange, db, openDBRequest, previousMetadata))); transaction 57 Source/modules/indexeddb/IDBTransaction.cpp transaction->suspendIfNeeded(); transaction 58 Source/modules/indexeddb/IDBTransaction.cpp return transaction.release(); transaction 99 Source/modules/indexeddb/IDBTransactionTest.cpp RefPtr<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, blink::WebIDBDatabase::TransactionReadOnly, db.get()); transaction 102 Source/modules/indexeddb/IDBTransactionTest.cpp EXPECT_EQ(3, transaction->refCount()); transaction 104 Source/modules/indexeddb/IDBTransactionTest.cpp RefPtr<IDBRequest> request = IDBRequest::create(executionContext(), IDBAny::createUndefined(), transaction.get()); transaction 108 Source/modules/indexeddb/IDBTransactionTest.cpp EXPECT_EQ(3, transaction->refCount()); transaction 113 Source/modules/indexeddb/IDBTransactionTest.cpp transaction->onAbort(DOMError::create(AbortError, "Aborted")); transaction 115 Source/modules/indexeddb/IDBTransactionTest.cpp EXPECT_EQ(1, transaction->refCount()); transaction 126 Source/modules/indexeddb/IDBTransactionTest.cpp RefPtr<IDBTransaction> transaction = IDBTransaction::create(executionContext(), transactionId, transactionScope, blink::WebIDBDatabase::TransactionReadOnly, db.get()); transaction 129 Source/modules/indexeddb/IDBTransactionTest.cpp EXPECT_EQ(3, transaction->refCount()); transaction 134 Source/modules/indexeddb/IDBTransactionTest.cpp EXPECT_EQ(2, transaction->refCount()); transaction 136 Source/modules/indexeddb/IDBTransactionTest.cpp IDBTransaction* transactionPtr = transaction.get(); transaction 137 Source/modules/indexeddb/IDBTransactionTest.cpp transaction.clear(); transaction 205 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp RefPtr<IDBTransaction> idbTransaction = idbDatabase->transaction(executionContext, objectStoreName, mode, exceptionState); transaction 44 Source/modules/webdatabase/ChangeVersionWrapper.cpp bool ChangeVersionWrapper::performPreflight(SQLTransactionBackend* transaction) transaction 46 Source/modules/webdatabase/ChangeVersionWrapper.cpp ASSERT(transaction && transaction->database()); transaction 48 Source/modules/webdatabase/ChangeVersionWrapper.cpp DatabaseBackend* database = transaction->database(); transaction 68 Source/modules/webdatabase/ChangeVersionWrapper.cpp bool ChangeVersionWrapper::performPostflight(SQLTransactionBackend* transaction) transaction 70 Source/modules/webdatabase/ChangeVersionWrapper.cpp ASSERT(transaction && transaction->database()); transaction 72 Source/modules/webdatabase/ChangeVersionWrapper.cpp DatabaseBackend* database = transaction->database(); transaction 88 Source/modules/webdatabase/ChangeVersionWrapper.cpp void ChangeVersionWrapper::handleCommitFailedAfterPostflight(SQLTransactionBackend* transaction) transaction 90 Source/modules/webdatabase/ChangeVersionWrapper.cpp transaction->database()->setCachedVersion(m_oldVersion); transaction 148 Source/modules/webdatabase/Database.cpp RefPtrWillBeRawPtr<SQLTransaction> transaction = SQLTransaction::create(this, callback, successCallback, errorCallback, readOnly); transaction 149 Source/modules/webdatabase/Database.cpp RefPtrWillBeRawPtr<SQLTransactionBackend> transactionBackend = backend()->runTransaction(transaction, readOnly, changeVersionData); transaction 151 Source/modules/webdatabase/Database.cpp OwnPtr<SQLTransactionErrorCallback> callback = transaction->releaseErrorCallback(); transaction 164 Source/modules/webdatabase/Database.cpp static PassOwnPtr<DeliverPendingCallbackTask> create(PassRefPtrWillBeRawPtr<SQLTransaction> transaction) transaction 166 Source/modules/webdatabase/Database.cpp return adoptPtr(new DeliverPendingCallbackTask(transaction)); transaction 175 Source/modules/webdatabase/Database.cpp DeliverPendingCallbackTask(PassRefPtrWillBeRawPtr<SQLTransaction> transaction) transaction 176 Source/modules/webdatabase/Database.cpp : m_transaction(transaction) transaction 183 Source/modules/webdatabase/Database.cpp void Database::scheduleTransactionCallback(SQLTransaction* transaction) transaction 185 Source/modules/webdatabase/Database.cpp executionContext()->postTask(DeliverPendingCallbackTask::create(transaction)); transaction 59 Source/modules/webdatabase/Database.h void transaction(PassOwnPtr<SQLTransactionCallback>, PassOwnPtr<SQLTransactionErrorCallback>, PassOwnPtr<VoidCallback> successCallback); transaction 94 Source/modules/webdatabase/DatabaseBackend.cpp RefPtrWillBeRawPtr<SQLTransactionBackend> transaction = nullptr; transaction 96 Source/modules/webdatabase/DatabaseBackend.cpp transaction = m_transactionQueue.takeFirst(); transaction 97 Source/modules/webdatabase/DatabaseBackend.cpp transaction->notifyDatabaseThreadIsShuttingDown(); transaction 108 Source/modules/webdatabase/DatabaseBackend.cpp PassRefPtrWillBeRawPtr<SQLTransactionBackend> DatabaseBackend::runTransaction(PassRefPtrWillBeRawPtr<SQLTransaction> transaction, transaction 119 Source/modules/webdatabase/DatabaseBackend.cpp RefPtrWillBeRawPtr<SQLTransactionBackend> transactionBackend = SQLTransactionBackend::create(this, transaction, wrapper.release(), readOnly); transaction 137 Source/modules/webdatabase/DatabaseBackend.cpp RefPtrWillBeRawPtr<SQLTransactionBackend> transaction = nullptr; transaction 140 Source/modules/webdatabase/DatabaseBackend.cpp transaction = m_transactionQueue.takeFirst(); transaction 142 Source/modules/webdatabase/DatabaseBackend.cpp if (transaction && databaseContext()->databaseThread()) { transaction 143 Source/modules/webdatabase/DatabaseBackend.cpp OwnPtr<DatabaseTransactionTask> task = DatabaseTransactionTask::create(transaction); transaction 144 Source/modules/webdatabase/DatabaseBackend.cpp WTF_LOG(StorageAPI, "Scheduling DatabaseTransactionTask %p for transaction %p\n", task.get(), task->transaction()); transaction 151 Source/modules/webdatabase/DatabaseBackend.cpp void DatabaseBackend::scheduleTransactionStep(SQLTransactionBackend* transaction) transaction 156 Source/modules/webdatabase/DatabaseBackend.cpp OwnPtr<DatabaseTransactionTask> task = DatabaseTransactionTask::create(transaction); transaction 357 Source/modules/webdatabase/DatabaseBackendBase.cpp SQLiteTransaction transaction(m_sqliteDatabase); transaction 358 Source/modules/webdatabase/DatabaseBackendBase.cpp transaction.begin(); transaction 359 Source/modules/webdatabase/DatabaseBackendBase.cpp if (!transaction.inProgress()) { transaction 373 Source/modules/webdatabase/DatabaseBackendBase.cpp transaction.rollback(); transaction 380 Source/modules/webdatabase/DatabaseBackendBase.cpp transaction.rollback(); transaction 392 Source/modules/webdatabase/DatabaseBackendBase.cpp transaction.rollback(); transaction 399 Source/modules/webdatabase/DatabaseBackendBase.cpp transaction.commit(); transaction 87 Source/modules/webdatabase/DatabaseSync.cpp RefPtrWillBeRawPtr<SQLTransactionSync> transaction = SQLTransactionSync::create(this, changeVersionCallback, false); transaction 88 Source/modules/webdatabase/DatabaseSync.cpp transaction->begin(exceptionState); transaction 110 Source/modules/webdatabase/DatabaseSync.cpp transaction->execute(exceptionState); transaction 123 Source/modules/webdatabase/DatabaseSync.cpp transaction->commit(exceptionState); transaction 146 Source/modules/webdatabase/DatabaseSync.cpp void DatabaseSync::rollbackTransaction(SQLTransactionSync& transaction) transaction 149 Source/modules/webdatabase/DatabaseSync.cpp transaction.rollback(); transaction 164 Source/modules/webdatabase/DatabaseSync.cpp RefPtrWillBeRawPtr<SQLTransactionSync> transaction = SQLTransactionSync::create(this, callback, readOnly); transaction 165 Source/modules/webdatabase/DatabaseSync.cpp transaction->begin(exceptionState); transaction 167 Source/modules/webdatabase/DatabaseSync.cpp rollbackTransaction(*transaction); transaction 171 Source/modules/webdatabase/DatabaseSync.cpp transaction->execute(exceptionState); transaction 173 Source/modules/webdatabase/DatabaseSync.cpp rollbackTransaction(*transaction); transaction 177 Source/modules/webdatabase/DatabaseSync.cpp transaction->commit(exceptionState); transaction 179 Source/modules/webdatabase/DatabaseSync.cpp rollbackTransaction(*transaction); transaction 197 Source/modules/webdatabase/DatabaseSync.cpp void DatabaseSync::observeTransaction(SQLTransactionSync& transaction) transaction 200 Source/modules/webdatabase/DatabaseSync.cpp m_observers.add(&transaction, adoptPtr(new TransactionObserver(transaction))); transaction 61 Source/modules/webdatabase/DatabaseSync.h void transaction(PassOwnPtr<SQLTransactionSyncCallback>, ExceptionState&); transaction 84 Source/modules/webdatabase/DatabaseSync.h explicit TransactionObserver(SQLTransactionSync& transaction) : m_transaction(transaction) { } transaction 134 Source/modules/webdatabase/DatabaseTask.cpp DatabaseBackend::DatabaseTransactionTask::DatabaseTransactionTask(PassRefPtrWillBeRawPtr<SQLTransactionBackend> transaction) transaction 135 Source/modules/webdatabase/DatabaseTask.cpp : DatabaseTask(Database::from(transaction->database()), 0) transaction 136 Source/modules/webdatabase/DatabaseTask.cpp , m_transaction(transaction) transaction 120 Source/modules/webdatabase/DatabaseTask.h static PassOwnPtr<DatabaseTransactionTask> create(PassRefPtrWillBeRawPtr<SQLTransactionBackend> transaction) transaction 122 Source/modules/webdatabase/DatabaseTask.h return adoptPtr(new DatabaseTransactionTask(transaction)); transaction 125 Source/modules/webdatabase/DatabaseTask.h SQLTransactionBackend* transaction() const { return m_transaction.get(); } transaction 138 Source/modules/webdatabase/InspectorDatabaseAgent.cpp virtual bool handleEvent(SQLTransaction* transaction) OVERRIDE transaction 146 Source/modules/webdatabase/InspectorDatabaseAgent.cpp transaction->executeSQL(m_sqlStatement, sqlValues, callback.release(), errorCallback.release(), IGNORE_EXCEPTION); transaction 296 Source/modules/webdatabase/InspectorDatabaseAgent.cpp database->transaction(callback.release(), errorCallback.release(), successCallback.release()); transaction 73 Source/modules/webdatabase/SQLStatement.cpp bool SQLStatement::performCallback(SQLTransaction* transaction) transaction 75 Source/modules/webdatabase/SQLStatement.cpp ASSERT(transaction); transaction 89 Source/modules/webdatabase/SQLStatement.cpp callbackError = errorCallback->handleEvent(transaction, sqlError.get()); transaction 93 Source/modules/webdatabase/SQLStatement.cpp callbackError = !callback->handleEvent(transaction, resultSet.get()); transaction 40 Source/modules/webdatabase/SQLTransactionCoordinator.cpp static String getDatabaseIdentifier(SQLTransactionBackend* transaction) transaction 42 Source/modules/webdatabase/SQLTransactionCoordinator.cpp DatabaseBackend* database = transaction->database(); transaction 76 Source/modules/webdatabase/SQLTransactionCoordinator.cpp void SQLTransactionCoordinator::acquireLock(SQLTransactionBackend* transaction) transaction 80 Source/modules/webdatabase/SQLTransactionCoordinator.cpp String dbIdentifier = getDatabaseIdentifier(transaction); transaction 86 Source/modules/webdatabase/SQLTransactionCoordinator.cpp info.pendingTransactions.append(transaction); transaction 90 Source/modules/webdatabase/SQLTransactionCoordinator.cpp info.pendingTransactions.append(transaction); transaction 96 Source/modules/webdatabase/SQLTransactionCoordinator.cpp void SQLTransactionCoordinator::releaseLock(SQLTransactionBackend* transaction) transaction 101 Source/modules/webdatabase/SQLTransactionCoordinator.cpp String dbIdentifier = getDatabaseIdentifier(transaction); transaction 107 Source/modules/webdatabase/SQLTransactionCoordinator.cpp if (transaction->isReadOnly()) { transaction 108 Source/modules/webdatabase/SQLTransactionCoordinator.cpp ASSERT(info.activeReadTransactions.contains(transaction)); transaction 109 Source/modules/webdatabase/SQLTransactionCoordinator.cpp info.activeReadTransactions.remove(transaction); transaction 111 Source/modules/webdatabase/SQLTransactionCoordinator.cpp ASSERT(info.activeWriteTransaction == transaction); transaction 145 Source/modules/webdatabase/SQLTransactionCoordinator.cpp RefPtrWillBeRawPtr<SQLTransactionBackend> transaction = info.pendingTransactions.first(); transaction 146 Source/modules/webdatabase/SQLTransactionCoordinator.cpp transaction->notifyDatabaseThreadIsShuttingDown();