Changeset 194905 in webkit


Ignore:
Timestamp:
Jan 12, 2016, 11:17:55 AM (10 years ago)
Author:
beidson@apple.com
Message:

Modern IDB: Check in empty SQLite backing store implementation.
https://bugs.webkit.org/show_bug.cgi?id=153022

Reviewed by Alex Christensen.

No new tests (No change in behavior).

Just to get the implementation files in the tree, this backing store currently does nothing
other than return errors for every operation.

  • CMakeLists.txt:
  • WebCore.xcodeproj/project.pbxproj:
  • Modules/indexeddb/server/SQLiteIDBBackingStore.cpp: Added.

(WebCore::IDBServer::SQLiteIDBBackingStore::SQLiteIDBBackingStore):
(WebCore::IDBServer::SQLiteIDBBackingStore::~SQLiteIDBBackingStore):
(WebCore::IDBServer::SQLiteIDBBackingStore::getOrEstablishDatabaseInfo):
(WebCore::IDBServer::SQLiteIDBBackingStore::beginTransaction):
(WebCore::IDBServer::SQLiteIDBBackingStore::abortTransaction):
(WebCore::IDBServer::SQLiteIDBBackingStore::commitTransaction):
(WebCore::IDBServer::SQLiteIDBBackingStore::createObjectStore):
(WebCore::IDBServer::SQLiteIDBBackingStore::deleteObjectStore):
(WebCore::IDBServer::SQLiteIDBBackingStore::clearObjectStore):
(WebCore::IDBServer::SQLiteIDBBackingStore::createIndex):
(WebCore::IDBServer::SQLiteIDBBackingStore::deleteIndex):
(WebCore::IDBServer::SQLiteIDBBackingStore::keyExistsInObjectStore):
(WebCore::IDBServer::SQLiteIDBBackingStore::deleteRange):
(WebCore::IDBServer::SQLiteIDBBackingStore::addRecord):
(WebCore::IDBServer::SQLiteIDBBackingStore::getRecord):
(WebCore::IDBServer::SQLiteIDBBackingStore::getIndexRecord):
(WebCore::IDBServer::SQLiteIDBBackingStore::getCount):
(WebCore::IDBServer::SQLiteIDBBackingStore::generateKeyNumber):
(WebCore::IDBServer::SQLiteIDBBackingStore::revertGeneratedKeyNumber):
(WebCore::IDBServer::SQLiteIDBBackingStore::maybeUpdateKeyGeneratorNumber):
(WebCore::IDBServer::SQLiteIDBBackingStore::openCursor):
(WebCore::IDBServer::SQLiteIDBBackingStore::iterateCursor):
(WebCore::IDBServer::SQLiteIDBBackingStore::deleteBackingStore):

  • Modules/indexeddb/server/SQLiteIDBBackingStore.h: Added.
Location:
trunk/Source/WebCore
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/CMakeLists.txt

    r194708 r194905  
    885885    Modules/indexeddb/server/MemoryObjectStore.cpp
    886886    Modules/indexeddb/server/MemoryObjectStoreCursor.cpp
     887    Modules/indexeddb/server/SQLiteIDBBackingStore.cpp
    887888    Modules/indexeddb/server/ServerOpenDBRequest.cpp
    888889    Modules/indexeddb/server/UniqueIDBDatabase.cpp
  • trunk/Source/WebCore/ChangeLog

    r194904 r194905  
     12016-01-12  Brady Eidson  <beidson@apple.com>
     2
     3        Modern IDB: Check in empty SQLite backing store implementation.
     4        https://bugs.webkit.org/show_bug.cgi?id=153022
     5
     6        Reviewed by Alex Christensen.
     7
     8        No new tests (No change in behavior).
     9
     10        Just to get the implementation files in the tree, this backing store currently does nothing
     11        other than return errors for every operation.
     12
     13        * CMakeLists.txt:
     14        * WebCore.xcodeproj/project.pbxproj:
     15
     16        * Modules/indexeddb/server/SQLiteIDBBackingStore.cpp: Added.
     17        (WebCore::IDBServer::SQLiteIDBBackingStore::SQLiteIDBBackingStore):
     18        (WebCore::IDBServer::SQLiteIDBBackingStore::~SQLiteIDBBackingStore):
     19        (WebCore::IDBServer::SQLiteIDBBackingStore::getOrEstablishDatabaseInfo):
     20        (WebCore::IDBServer::SQLiteIDBBackingStore::beginTransaction):
     21        (WebCore::IDBServer::SQLiteIDBBackingStore::abortTransaction):
     22        (WebCore::IDBServer::SQLiteIDBBackingStore::commitTransaction):
     23        (WebCore::IDBServer::SQLiteIDBBackingStore::createObjectStore):
     24        (WebCore::IDBServer::SQLiteIDBBackingStore::deleteObjectStore):
     25        (WebCore::IDBServer::SQLiteIDBBackingStore::clearObjectStore):
     26        (WebCore::IDBServer::SQLiteIDBBackingStore::createIndex):
     27        (WebCore::IDBServer::SQLiteIDBBackingStore::deleteIndex):
     28        (WebCore::IDBServer::SQLiteIDBBackingStore::keyExistsInObjectStore):
     29        (WebCore::IDBServer::SQLiteIDBBackingStore::deleteRange):
     30        (WebCore::IDBServer::SQLiteIDBBackingStore::addRecord):
     31        (WebCore::IDBServer::SQLiteIDBBackingStore::getRecord):
     32        (WebCore::IDBServer::SQLiteIDBBackingStore::getIndexRecord):
     33        (WebCore::IDBServer::SQLiteIDBBackingStore::getCount):
     34        (WebCore::IDBServer::SQLiteIDBBackingStore::generateKeyNumber):
     35        (WebCore::IDBServer::SQLiteIDBBackingStore::revertGeneratedKeyNumber):
     36        (WebCore::IDBServer::SQLiteIDBBackingStore::maybeUpdateKeyGeneratorNumber):
     37        (WebCore::IDBServer::SQLiteIDBBackingStore::openCursor):
     38        (WebCore::IDBServer::SQLiteIDBBackingStore::iterateCursor):
     39        (WebCore::IDBServer::SQLiteIDBBackingStore::deleteBackingStore):
     40        * Modules/indexeddb/server/SQLiteIDBBackingStore.h: Added.
     41
    1422016-01-12  Brady Eidson  <beidson@apple.com>
    243
  • trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj

    r194821 r194905  
    19531953                5126E6BB0A2E3B12005C29FA /* IconDatabase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 5126E6B90A2E3B12005C29FA /* IconDatabase.cpp */; };
    19541954                5126E6BC0A2E3B12005C29FA /* IconDatabase.h in Headers */ = {isa = PBXBuildFile; fileRef = 5126E6BA0A2E3B12005C29FA /* IconDatabase.h */; settings = {ATTRIBUTES = (Private, ); }; };
     1955                512BDB4A1C456FF5006494DF /* SQLiteIDBBackingStore.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 512BDB481C456FAB006494DF /* SQLiteIDBBackingStore.cpp */; };
     1956                512BDB4B1C456FFA006494DF /* SQLiteIDBBackingStore.h in Headers */ = {isa = PBXBuildFile; fileRef = 512BDB491C456FAB006494DF /* SQLiteIDBBackingStore.h */; };
    19551957                512DD8E30D91E2B4000F89EE /* SharedBufferCF.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 512DD8E20D91E2B4000F89EE /* SharedBufferCF.cpp */; };
    19561958                512DD8F40D91E6AF000F89EE /* LegacyWebArchive.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 512DD8EA0D91E6AF000F89EE /* LegacyWebArchive.cpp */; };
     
    93879389                5126E6B90A2E3B12005C29FA /* IconDatabase.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = IconDatabase.cpp; sourceTree = "<group>"; };
    93889390                5126E6BA0A2E3B12005C29FA /* IconDatabase.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = IconDatabase.h; sourceTree = "<group>"; };
     9391                512BDB481C456FAB006494DF /* SQLiteIDBBackingStore.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SQLiteIDBBackingStore.cpp; sourceTree = "<group>"; };
     9392                512BDB491C456FAB006494DF /* SQLiteIDBBackingStore.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SQLiteIDBBackingStore.h; sourceTree = "<group>"; };
    93899393                512DD8E20D91E2B4000F89EE /* SharedBufferCF.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SharedBufferCF.cpp; sourceTree = "<group>"; };
    93909394                512DD8EA0D91E6AF000F89EE /* LegacyWebArchive.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LegacyWebArchive.cpp; sourceTree = "<group>"; };
     
    1697016974                                517139031BF64DE3000D5F01 /* MemoryObjectStoreCursor.cpp */,
    1697116975                                517139041BF64DE3000D5F01 /* MemoryObjectStoreCursor.h */,
     16976                                512BDB481C456FAB006494DF /* SQLiteIDBBackingStore.cpp */,
     16977                                512BDB491C456FAB006494DF /* SQLiteIDBBackingStore.h */,
    1697216978                                516F7F6B1C31C79D00F111DC /* ServerOpenDBRequest.cpp */,
    1697316979                                516F7F6C1C31C79D00F111DC /* ServerOpenDBRequest.h */,
     
    2644426450                                B2FA3D990AB75A6F000E5AC4 /* JSSVGForeignObjectElement.h in Headers */,
    2644526451                                B2FA3D9B0AB75A6F000E5AC4 /* JSSVGGElement.h in Headers */,
     26452                                512BDB4B1C456FFA006494DF /* SQLiteIDBBackingStore.h in Headers */,
    2644626453                                B27B28280CEF0C0700D39D54 /* JSSVGGlyphElement.h in Headers */,
    2644726454                                24D9129A13CA971400D21915 /* JSSVGGlyphRefElement.h in Headers */,
     
    3104631053                                93F19AE608245E59001E9ABC /* SSLKeyGeneratorMac.cpp in Sources */,
    3104731054                                BC7FA62E0D1F0EFF00DB22A9 /* StaticNodeList.cpp in Sources */,
     31055                                512BDB4A1C456FF5006494DF /* SQLiteIDBBackingStore.cpp in Sources */,
    3104831056                                A5AFB34F115151A700B045CB /* StepRange.cpp in Sources */,
    3104931057                                51E3F9C70DA059DC00250911 /* Storage.cpp in Sources */,
Note: See TracChangeset for help on using the changeset viewer.