Skip to content
  • alecflett@chromium.org's avatar
    IndexedDB: Remove IDBObjectStore/IndexBackendImpl and support functions · 621a1e38
    alecflett@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=106605
    
    Source/WebCore:
    
    Remove all uses of IDBObjectStoreBackendInterface and IDBIndexBackend*,
    as they are no longer used after recent refactoring.
    
    Reviewed by Darin Fisher.
    
    * GNUmakefile.list.am:
    * Modules/indexeddb/IDBCallbacks.h:
    (WebCore):
    * Modules/indexeddb/IDBCursor.cpp:
    (WebCore::IDBCursor::update):
    * Modules/indexeddb/IDBDatabase.cpp:
    (WebCore::IDBDatabase::createObjectStore):
    * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
    (WebCore::IDBDatabaseBackendImpl::createObjectStore):
    * Modules/indexeddb/IDBDatabaseBackendImpl.h:
    (IDBDatabaseBackendImpl):
    * Modules/indexeddb/IDBDatabaseBackendInterface.h:
    (WebCore):
    (IDBDatabaseBackendInterface):
    * Modules/indexeddb/IDBFactoryBackendImpl.h:
    (IDBFactoryBackendImpl):
    * Modules/indexeddb/IDBFactoryBackendInterface.h:
    (IDBFactoryBackendInterface):
    * Modules/indexeddb/IDBIndex.cpp:
    * Modules/indexeddb/IDBIndexBackendInterface.h: Removed.
    * Modules/indexeddb/IDBObjectStore.cpp:
    (WebCore::IDBObjectStore::add):
    (WebCore::IDBObjectStore::put):
    * Modules/indexeddb/IDBObjectStore.h:
    (IDBObjectStore):
    * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
    (WebCore::IDBObjectStoreBackendImpl::makeIndexWriters):
    * Modules/indexeddb/IDBObjectStoreBackendImpl.h:
    (WebCore::IDBObjectStoreBackendImpl::IndexWriter::IndexWriter):
    (IndexWriter):
    (IDBObjectStoreBackendImpl):
    * Modules/indexeddb/IDBObjectStoreBackendInterface.h: Removed.
    * Modules/indexeddb/IDBTransaction.cpp:
    * Modules/indexeddb/IDBTransactionBackendImpl.h:
    (IDBTransactionBackendImpl):
    * Modules/indexeddb/IDBTransactionBackendInterface.h:
    (WebCore):
    * Modules/indexeddb/IDBTransactionCoordinator.cpp:
    * Target.pri:
    * WebCore.gypi:
    * WebCore.vcproj/WebCore.vcproj:
    * WebCore.xcodeproj/project.pbxproj:
    
    Source/WebKit/chromium:
    
    Remove all references to IDBObjectStoreBackend* and IDBIndexBackend*
    as they no longer exist in WebCore.
    
    Reviewed by Darin Fisher.
    
    * WebKit.gyp:
    * public/WebIDBCallbacks.h:
    (WebKit):
    * public/WebIDBDatabase.h:
    (WebKit):
    (WebKit::WebIDBDatabase::metadata):
    * public/WebIDBFactory.h:
    (WebIDBFactory):
    * public/WebIDBIndex.h: Removed.
    * public/WebIDBObjectStore.h: Removed.
    * public/WebIDBTransaction.h:
    * src/IDBCallbacksProxy.cpp:
    * src/IDBDatabaseBackendProxy.cpp:
    * src/IDBDatabaseBackendProxy.h:
    (IDBDatabaseBackendProxy):
    * src/IDBFactoryBackendProxy.cpp:
    * src/IDBFactoryBackendProxy.h:
    (IDBFactoryBackendProxy):
    * src/IDBIndexBackendProxy.cpp: Removed.
    * src/IDBIndexBackendProxy.h: Removed.
    * src/IDBObjectStoreBackendProxy.cpp: Removed.
    * src/IDBObjectStoreBackendProxy.h: Removed.
    * src/IDBTransactionBackendProxy.cpp:
    * src/IDBTransactionBackendProxy.h:
    (IDBTransactionBackendProxy):
    * src/WebIDBDatabaseImpl.cpp:
    (WebKit::WebIDBDatabaseImpl::put):
    (WebKit::WebIDBDatabaseImpl::setIndexKeys):
    * src/WebIDBDatabaseImpl.h:
    (WebKit):
    (WebIDBDatabaseImpl):
    * src/WebIDBFactoryImpl.cpp:
    (WebKit::WebIDBFactoryImpl::getDatabaseNames):
    * src/WebIDBFactoryImpl.h:
    (WebIDBFactoryImpl):
    * src/WebIDBIndexImpl.cpp: Removed.
    * src/WebIDBIndexImpl.h: Removed.
    * src/WebIDBObjectStoreImpl.cpp: Removed.
    * src/WebIDBObjectStoreImpl.h: Removed.
    * src/WebIDBTransactionImpl.cpp:
    * src/WebIDBTransactionImpl.h:
    * tests/IDBAbortOnCorruptTest.cpp:
    (WebCore::TEST):
    * tests/IDBDatabaseBackendTest.cpp:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    621a1e38