Home
last modified time | relevance | path

Searched refs:m_nextState (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DSQLTransactionStateMachine.h48 SQLTransactionState m_nextState; variable
68 : m_nextState(SQLTransactionState::Idle) in SQLTransactionStateMachine()
83 ASSERT(m_nextState == SQLTransactionState::Idle); in setStateToRequestedState()
85 m_nextState = m_requestedState; in setStateToRequestedState()
93 while (m_nextState > SQLTransactionState::Idle) { in runStateMachine()
94 ASSERT(m_nextState < SQLTransactionState::NumberOfStates); in runStateMachine()
95 StateFunction stateFunction = stateFunctionFor(m_nextState); in runStateMachine()
99 m_stateAuditTrail[m_nextStateAuditEntry] = m_nextState; in runStateMachine()
102 m_nextState = (static_cast<T*>(this)->*stateFunction)(); in runStateMachine()
DSQLTransaction.cpp243 ASSERT(m_nextState != SQLTransactionState::Idle); in sendToBackendState()
244 m_backend->requestTransitToState(m_nextState); in sendToBackendState()
277 ASSERT(m_nextState == SQLTransactionState::End in computeNextStateAndCleanupIfNeeded()
278 || m_nextState == SQLTransactionState::DeliverTransactionCallback in computeNextStateAndCleanupIfNeeded()
279 || m_nextState == SQLTransactionState::DeliverTransactionErrorCallback in computeNextStateAndCleanupIfNeeded()
280 || m_nextState == SQLTransactionState::DeliverStatementCallback in computeNextStateAndCleanupIfNeeded()
281 || m_nextState == SQLTransactionState::DeliverQuotaIncreaseCallback in computeNextStateAndCleanupIfNeeded()
282 || m_nextState == SQLTransactionState::DeliverSuccessCallback); in computeNextStateAndCleanupIfNeeded()
284 WTF_LOG(StorageAPI, "Callback %s\n", nameForSQLTransactionState(m_nextState)); in computeNextStateAndCleanupIfNeeded()
289 m_nextState = SQLTransactionState::CleanupAndTerminate; in computeNextStateAndCleanupIfNeeded()
DSQLTransactionBackend.cpp475 ASSERT(m_nextState == SQLTransactionState::AcquireLock in computeNextStateAndCleanupIfNeeded()
476 || m_nextState == SQLTransactionState::OpenTransactionAndPreflight in computeNextStateAndCleanupIfNeeded()
477 || m_nextState == SQLTransactionState::RunStatements in computeNextStateAndCleanupIfNeeded()
478 || m_nextState == SQLTransactionState::PostflightAndCommit in computeNextStateAndCleanupIfNeeded()
479 || m_nextState == SQLTransactionState::CleanupAndTerminate in computeNextStateAndCleanupIfNeeded()
480 || m_nextState == SQLTransactionState::CleanupAfterTransactionErrorCallback); in computeNextStateAndCleanupIfNeeded()
482 WTF_LOG(StorageAPI, "State %s\n", nameForSQLTransactionState(m_nextState)); in computeNextStateAndCleanupIfNeeded()
487 if (m_nextState == SQLTransactionState::End) in computeNextStateAndCleanupIfNeeded()
489 m_nextState = SQLTransactionState::End; in computeNextStateAndCleanupIfNeeded()
816 ASSERT(m_nextState != SQLTransactionState::Idle); in sendToFrontendState()
[all …]