Skip to content
  • beidson@apple.com's avatar
    IDB: delete object store support · 76e5f224
    beidson@apple.com authored
    <rdar://problem/15779641> and https://bugs.webkit.org/show_bug.cgi?id=127123
    
    Reviewed by Alexey Proskuryakov.
    
    Source/WebCore:
    
    * Modules/indexeddb/IDBTransactionBackendOperations.h:
    (WebCore::DeleteObjectStoreOperation::transaction):
    
    Source/WebKit2:
    
    Pipe through Web -> Database -> Web process messaging for delete object store.
    Perform dropping the object store in the backing store.
    
    * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
    (WebKit::DatabaseProcessIDBConnection::deleteObjectStore):
    * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
    * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
    
    * DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
    (WebKit::UniqueIDBDatabase::didDeleteObjectStore):
    (WebKit::UniqueIDBDatabase::deleteObjectStore):
    (WebKit::UniqueIDBDatabase::deleteObjectStoreInBackingStore):
    * DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
    
    * DatabaseProcess/IndexedDB/UniqueIDBDatabaseBackingStore.h:
    * DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
    (WebKit::UniqueIDBDatabaseBackingStoreSQLite::createObjectStore):
    (WebKit::UniqueIDBDatabaseBackingStoreSQLite::deleteObjectStore):
    * DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h:
    
    * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
    (WebKit::WebIDBServerConnection::deleteObjectStore):
    (WebKit::WebIDBServerConnection::didDeleteObjectStore):
    * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
    * WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    76e5f224