Home
last modified time | relevance | path

Searched refs:m_database (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DSQLTransactionBackendSync.cpp55 : m_database(db) in SQLTransactionBackendSync()
62 ASSERT(m_database->executionContext()->isContextThread()); in SQLTransactionBackendSync()
67 ASSERT(m_database->executionContext()->isContextThread()); in ~SQLTransactionBackendSync()
74 ASSERT(m_database->executionContext()->isContextThread()); in executeSQL()
76 m_database->setLastErrorMessage(""); in executeSQL()
78 if (!m_database->opened()) { in executeSQL()
79 m_database->setLastErrorMessage("cannot executeSQL because the database is not open"); in executeSQL()
85 m_database->setLastErrorMessage("cannot executeSQL because there is a version mismatch"); in executeSQL()
94 if (!m_database->databaseContext()->allowDatabaseAccess()) in executeSQL()
101 m_database->resetAuthorizer(); in executeSQL()
[all …]
DSQLTransactionBackend.cpp352 , m_database(db) in SQLTransactionBackend()
363 ASSERT(m_database); in SQLTransactionBackend()
395 m_database->transactionCoordinator()->releaseLock(this); in doCleanup()
473 if (m_database->opened() && !m_database->isInterrupted()) { in computeNextStateAndCleanupIfNeeded()
537 m_database->transactionCoordinator()->acquireLock(this); in acquireLock()
549 ASSERT(!m_database->sqliteDatabase().transactionInProgress()); in openTransactionAndPreflight()
556 m_database->sqliteDatabase().setMaximumSize(m_database->maximumSize()); in openTransactionAndPreflight()
559 m_sqliteTransaction = adoptPtr(new SQLiteTransaction(m_database->sqliteDatabase(), m_readOnly)); in openTransactionAndPreflight()
561 m_database->resetDeletes(); in openTransactionAndPreflight()
562 m_database->disableAuthorizer(); in openTransactionAndPreflight()
[all …]
DSQLTransaction.cpp61 : m_database(db) in SQLTransaction()
68 ASSERT(m_database); in SQLTransaction()
124 m_database->scheduleTransactionCallback(this); in requestTransitToState()
153 m_database->reportStartTransactionResult(5, SQLError::UNKNOWN_ERR, 0); in deliverTransactionCallback()
157 m_database->reportStartTransactionResult(0, -1, 0); // OK in deliverTransactionCallback()
201 m_database->reportCommitTransactionResult(2, SQLError::UNKNOWN_ERR, 0); in deliverStatementCallback()
212 bool shouldRetryCurrentStatement = m_database->transactionClient()->didExceedQuota(database()); in deliverQuotaIncreaseCallback()
256 if (!m_executeSqlAllowed || !m_database->opened()) { in executeSQL()
262 if (!m_database->databaseContext()->allowDatabaseAccess()) in executeSQL()
267 … OwnPtr<SQLStatement> statement = SQLStatement::create(m_database.get(), callback, callbackError); in executeSQL()
[all …]
DDatabaseTask.cpp63 : m_database(database) in DatabaseTask()
85 …if (!m_synchronizer && !m_database->databaseContext()->databaseThread()->isDatabaseOpen(m_database in run()
95 m_database->resetAuthorizer(); in run()
DDatabaseTracker.cpp117 databaseClosed(m_database.get()); in performTask()
127 : m_database(database) in NotifyDatabaseObserverOnCloseTask()
131 RefPtr<DatabaseBackendBase> m_database; member in WebCore::NotifyDatabaseObserverOnCloseTask
231 … DatabaseTracker::tracker().closeOneDatabaseImmediately(m_originIdentifier, m_name, m_database); in performTask()
238 , m_database(database) in CloseOneDatabaseImmediatelyTask()
244 DatabaseBackendBase* m_database; // Intentionally a raw pointer. member in WebCore::DatabaseTracker::CloseOneDatabaseImmediatelyTask
DSQLTransactionBackendSync.h58 DatabaseSync* database() { return m_database.get(); } in database()
69 RefPtr<DatabaseSync> m_database; variable
DSQLTransaction.h64 Database* database() { return m_database.get(); } in database()
98 RefPtr<Database> m_database; variable
DSQLTransactionBackend.h69 DatabaseBackend* database() { return m_database.get(); } in database()
113 RefPtr<DatabaseBackend> m_database; variable
DDatabaseTask.h80 DatabaseBackend* database() const { return m_database.get(); } in database()
93 RefPtr<DatabaseBackend> m_database; variable
DDatabaseManager.cpp81 m_creationCallback->handleEvent(m_database.get()); in performTask()
86 : m_database(database) in DatabaseCreationCallbackTask()
91 RefPtr<Database> m_database; member in WebCore::DatabaseCreationCallbackTask
DSQLTransactionSync.cpp49 ASSERT(m_database->executionContext()->isContextThread()); in SQLTransactionSync()
DDatabaseBackendBase.cpp285 : m_database(database) in DoneCreatingDatabaseOnExitCaller()
292 DatabaseTracker::tracker().failedToOpenDatabase(m_database); in ~DoneCreatingDatabaseOnExitCaller()
298 DatabaseBackendBase* m_database; member in WebCore::DoneCreatingDatabaseOnExitCaller
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
DIDBDatabaseCallbacks.cpp39 : m_database(0) in IDBDatabaseCallbacks()
49 if (m_database) in onForcedClose()
50 m_database->forceClose(); in onForcedClose()
55 if (m_database) in onVersionChange()
56 m_database->onVersionChange(oldVersion, newVersion); in onVersionChange()
61 ASSERT(!m_database); in connect()
63 m_database = database; in connect()
68 if (m_database) in onAbort()
69 m_database->onAbort(transactionId, error); in onAbort()
74 if (m_database) in onComplete()
[all …]
DIDBTransaction.cpp80 , m_database(db) in IDBTransaction()
99 m_database->transactionCreated(this); in IDBTransaction()
141 int64_t objectStoreId = m_database->findObjectStoreId(name); in objectStore()
148 const IDBDatabaseMetadata& metadata = m_database->metadata(); in objectStore()
248 m_database->setMetadata(m_previousMetadata); in onAbort()
249 m_database->close(); in onAbort()
258 m_database->transactionFinished(this); in onAbort()
273 m_database->transactionFinished(this); in onComplete()
383 return m_database->backend(); in backendDB()
DIDBTransaction.h77 IDBDatabase* db() const { return m_database.get(); } in db()
120 RefPtr<IDBDatabase> m_database; variable
DIDBDatabaseCallbacks.h57 IDBDatabase* m_database;
DIDBObjectStore.cpp317 , m_database(database) in IndexPopulator()
349m_database->backend()->setIndexKeys(m_transactionId, m_objectStoreId, primaryKey.release(), indexI… in handleEvent()
353 m_database->backend()->setIndexesReady(m_transactionId, m_objectStoreId, indexIds); in handleEvent()
354 m_database.clear(); in handleEvent()
359 RefPtr<IDBDatabase> m_database; member in WebCore::__anon57f229250111::IndexPopulator
/external/chromium_org/third_party/WebKit/Source/web/
DWebDatabase.cpp48 ASSERT(m_database); in name()
49 return m_database->stringIdentifier(); in name()
54 ASSERT(m_database); in displayName()
55 return m_database->displayName(); in displayName()
60 ASSERT(m_database); in estimatedSize()
61 return m_database->estimatedSize(); in estimatedSize()
66 ASSERT(m_database); in securityOrigin()
67 return WebSecurityOrigin(m_database->securityOrigin()); in securityOrigin()
72 ASSERT(m_database); in isSyncDatabase()
73 return m_database->isSyncDatabase(); in isSyncDatabase()
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
DSQLiteStatement.cpp44 : m_database(db) in SQLiteStatement()
62 MutexLocker databaseLock(m_database.databaseMutex()); in prepare()
63 if (m_database.isInterrupted()) in prepare()
75 …int error = sqlite3_prepare_v2(m_database.sqlite3Handle(), query.data(), lengthIncludingNullCharac… in prepare()
78 …e3_prepare16 failed (%i)\n%s\n%s", error, query.data(), sqlite3_errmsg(m_database.sqlite3Handle())… in prepare()
91 MutexLocker databaseLock(m_database.databaseMutex()); in step()
92 if (m_database.isInterrupted()) in step()
101 m_database.updateLastChangesCount(); in step()
107 error, m_query.ascii().data(), sqlite3_errmsg(m_database.sqlite3Handle())); in step()
461 if (m_database.lastError() != SQLITE_DONE) { in returnTextResults()
[all …]
DSQLiteStatement.h93 SQLiteDatabase* database() { return &m_database; } in database()
98 SQLiteDatabase& m_database;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorDatabaseResource.h49 Database* database() { return m_database.get(); } in database()
50 void setDatabase(PassRefPtr<Database> database) { m_database = database; } in setDatabase()
56 RefPtr<Database> m_database; variable
DInspectorDatabaseResource.cpp47 : m_database(database) in InspectorDatabaseResource()
/external/chromium_org/third_party/WebKit/public/web/
DWebDatabase.h67 const WebCore::DatabaseBackendBase* m_database; variable