-
alecflett@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=102730 Reviewed by Darin Fisher. Source/WebCore: Stub out and support passing a 64-bit transaction id so the frontend can refer to transactions by id rather than a proxy object or a direct pointer reference. This will ultimately loosen ownership and lifetime of transactions from the frontend and backend. No new tests, this is just part of a refactor. * Modules/indexeddb/IDBDatabase.cpp: * Modules/indexeddb/IDBDatabaseBackendImpl.cpp: (WebCore): (WebCore::IDBDatabaseBackendImpl::transaction): (WebCore::IDBDatabaseBackendImpl::createTransaction): * Modules/indexeddb/IDBDatabaseBackendImpl.h: (IDBDatabaseBackendImpl): * Modules/indexeddb/IDBDatabaseBackendInterface.h: (IDBDatabaseBackendInterface): * Modules/indexeddb/IDBTransactionBackendImpl.cpp: (WebCore::IDBTransactionBackendImpl::create): (WebCore::IDBTransactionBackendImpl::IDBTransactionBackendImpl): * Modules/indexeddb/IDBTransactionBackendImpl.h: (IDBTransactionBackendImpl): (WebCore::IDBTransactionBackendImpl::id): Source/WebKit/chromium: Add support for new createTransaction() method in both sides of the WebKit API. * public/WebIDBDatabase.h: (WebIDBDatabase): (WebKit::WebIDBDatabase::createTransaction): * src/IDBDatabaseBackendProxy.cpp: (WebKit): (WebKit::IDBDatabaseBackendProxy::createTransaction): * src/IDBDatabaseBackendProxy.h: (IDBDatabaseBackendProxy): * src/WebIDBDatabaseImpl.cpp: (WebKit::WebIDBDatabaseImpl::createTransaction): (WebKit): * src/WebIDBDatabaseImpl.h: (WebIDBDatabaseImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
34e21655