2010-08-03 Andrei Popescu <andreip@google.com>
authorandreip@google.com <andreip@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2010 19:20:09 +0000 (19:20 +0000)
committerandreip@google.com <andreip@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Aug 2010 19:20:09 +0000 (19:20 +0000)
commit12d51eda37a3d421ee20c67f716a63c48cad1a17
treee736270b51e639c4c961b5eb5d486894293a1118
parent45142a3614e59200d9befa1758ee7c32fa72a70a
2010-08-03  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        [IndexedDB] IDBObjectStoreRequest should be called IDBObjectStore
        https://bugs.webkit.org/show_bug.cgi?id=43420

        Renaming IDBObjectStoreRequest to IDBObjectStore.

        No new tests needed, just refactoring.

        * Android.derived.jscbindings.mk:
        * Android.derived.v8bindings.mk:
        * Android.mk:
        * CMakeLists.txt:
        * DerivedSources.cpp:
        * DerivedSources.make:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSIDBAnyCustom.cpp:
        (WebCore::toJS):
        * bindings/v8/custom/V8IDBAnyCustom.cpp:
        (WebCore::toV8):
        * storage/IDBAny.cpp:
        (WebCore::IDBAny::idbObjectStore):
        (WebCore::IDBAny::set):
        * storage/IDBAny.h:
        (WebCore::IDBAny::):
        * storage/IDBCallbacks.h:
        * storage/IDBDatabase.cpp:
        (WebCore::IDBDatabase::objectStore):
        * storage/IDBDatabase.h:
        * storage/IDBDatabaseBackendImpl.cpp:
        (WebCore::IDBDatabaseBackendImpl::createObjectStore):
        (WebCore::IDBDatabaseBackendImpl::objectStore):
        * storage/IDBDatabaseBackendImpl.h:
        * storage/IDBDatabaseBackendInterface.h:
        * storage/IDBObjectStore.cpp: Added.
        (WebCore::IDBObjectStore::IDBObjectStore):
        (WebCore::IDBObjectStore::name):
        (WebCore::IDBObjectStore::keyPath):
        (WebCore::IDBObjectStore::indexNames):
        (WebCore::IDBObjectStore::get):
        (WebCore::IDBObjectStore::add):
        (WebCore::IDBObjectStore::put):
        (WebCore::IDBObjectStore::remove):
        (WebCore::IDBObjectStore::createIndex):
        (WebCore::IDBObjectStore::index):
        (WebCore::IDBObjectStore::removeIndex):
        * storage/IDBObjectStore.h:
        (WebCore::IDBObjectStore::create):
        (WebCore::IDBObjectStore::~IDBObjectStore):
        * storage/IDBObjectStore.idl: Added.
        * storage/IDBObjectStoreBackendImpl.cpp: Added.
        (WebCore::IDBObjectStoreBackendImpl::~IDBObjectStoreBackendImpl):
        (WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
        (WebCore::IDBObjectStoreBackendImpl::indexNames):
        (WebCore::IDBObjectStoreBackendImpl::get):
        (WebCore::IDBObjectStoreBackendImpl::put):
        (WebCore::IDBObjectStoreBackendImpl::remove):
        (WebCore::IDBObjectStoreBackendImpl::createIndex):
        (WebCore::IDBObjectStoreBackendImpl::index):
        (WebCore::IDBObjectStoreBackendImpl::removeIndex):
        * storage/IDBObjectStoreBackendImpl.h: Added.
        (WebCore::IDBObjectStoreBackendImpl::create):
        (WebCore::IDBObjectStoreBackendImpl::name):
        (WebCore::IDBObjectStoreBackendImpl::keyPath):
        * storage/IDBObjectStoreBackendInterface.h: Added.
        (WebCore::IDBObjectStoreBackendInterface::~IDBObjectStoreBackendInterface):
        * storage/IDBObjectStoreImpl.cpp: Removed.
        * storage/IDBObjectStoreImpl.h: Removed.
        * storage/IDBObjectStoreRequest.cpp: Removed.
        * storage/IDBObjectStoreRequest.h: Removed.
        * storage/IDBObjectStoreRequest.idl: Removed.
        * storage/IDBRequest.cpp:
        (WebCore::IDBRequest::onSuccess):
        * storage/IDBRequest.h:
2010-08-03  Andrei Popescu  <andreip@google.com>

        Reviewed by Jeremy Orlow.

        [IndexedDB] IDBObjectStoreRequest should be called IDBObjectStore
        https://bugs.webkit.org/show_bug.cgi?id=43420

        * src/IDBCallbacksProxy.cpp:
        (WebCore::IDBCallbacksProxy::onSuccess):
        * src/IDBCallbacksProxy.h:
        * src/IDBDatabaseProxy.cpp:
        (WebCore::IDBDatabaseProxy::objectStore):
        * src/IDBDatabaseProxy.h:
        * src/IDBObjectStoreProxy.cpp:
        (WebCore::IDBObjectStoreProxy::create):
        * src/IDBObjectStoreProxy.h:
        * src/WebIDBObjectStoreImpl.cpp:
        (WebKit::WebIDBObjectStoreImpl::WebIDBObjectStoreImpl):
        * src/WebIDBObjectStoreImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
42 files changed:
WebCore/Android.derived.jscbindings.mk
WebCore/Android.derived.v8bindings.mk
WebCore/Android.mk
WebCore/CMakeLists.txt
WebCore/ChangeLog
WebCore/DerivedSources.cpp
WebCore/DerivedSources.make
WebCore/GNUmakefile.am
WebCore/WebCore.gypi
WebCore/WebCore.pri
WebCore/WebCore.pro
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/js/JSIDBAnyCustom.cpp
WebCore/bindings/v8/custom/V8IDBAnyCustom.cpp
WebCore/storage/IDBAny.cpp
WebCore/storage/IDBAny.h
WebCore/storage/IDBCallbacks.h
WebCore/storage/IDBDatabase.cpp
WebCore/storage/IDBDatabase.h
WebCore/storage/IDBDatabase.idl
WebCore/storage/IDBDatabaseBackendImpl.cpp
WebCore/storage/IDBDatabaseBackendImpl.h
WebCore/storage/IDBDatabaseBackendInterface.h
WebCore/storage/IDBObjectStore.cpp [moved from WebCore/storage/IDBObjectStoreRequest.cpp with 73% similarity]
WebCore/storage/IDBObjectStore.h
WebCore/storage/IDBObjectStore.idl [moved from WebCore/storage/IDBObjectStoreRequest.idl with 98% similarity]
WebCore/storage/IDBObjectStoreBackendImpl.cpp [moved from WebCore/storage/IDBObjectStoreImpl.cpp with 80% similarity]
WebCore/storage/IDBObjectStoreBackendImpl.h [moved from WebCore/storage/IDBObjectStoreImpl.h with 81% similarity]
WebCore/storage/IDBObjectStoreBackendInterface.h [moved from WebCore/storage/IDBObjectStoreRequest.h with 51% similarity]
WebCore/storage/IDBRequest.cpp
WebCore/storage/IDBRequest.h
WebKit/chromium/ChangeLog
WebKit/chromium/src/IDBCallbacksProxy.cpp
WebKit/chromium/src/IDBCallbacksProxy.h
WebKit/chromium/src/IDBDatabaseProxy.cpp
WebKit/chromium/src/IDBDatabaseProxy.h
WebKit/chromium/src/IDBObjectStoreProxy.cpp
WebKit/chromium/src/IDBObjectStoreProxy.h
WebKit/chromium/src/WebIDBDatabaseImpl.cpp
WebKit/chromium/src/WebIDBObjectStoreImpl.cpp
WebKit/chromium/src/WebIDBObjectStoreImpl.h