Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Issue 67463006: IndexedDB: Simplify WebIDBCallbacks exports, strip IDBFactoryBackend (Closed)

Created:
7 years, 1 month ago by jsbell
Modified:
7 years ago
CC:
blink-reviews, jamesr, jsbell, alecflett, abarth-chromium, dglazkov+blink, dgrogan, cmumford
Visibility:
Public.

Description

IndexedDB: Simplify WebIDBCallbacks exports, strip IDBFactoryBackend Eliminate the blink impl of WebIDBCallbacks - implement it in WebCore (Source/modules). Simultaneously, strip IDBFactoryBackendProxy down to the bare essentials - an allowIndexedDB() call. (That API could be moved to Platform or some such in a follow-on patch.) BUG=234277 R=alecflett@chromium.org,adamk@chromium.org,jamesr@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162738

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebased #

Total comments: 8

Patch Set 3 : Remove upgradeneeded tracking #

Patch Set 4 : Review suggestions #

Patch Set 5 : Re-up #

Unified diffs Side-by-side diffs Delta from patch set Stats (+290 lines, -298 lines) Patch
M Source/modules/indexeddb/IDBCursor.cpp View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/indexeddb/IDBFactory.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBFactory.cpp View 4 chunks +28 lines, -5 lines 0 comments Download
M Source/modules/indexeddb/IDBFactoryBackendInterface.h View 1 chunk +2 lines, -12 lines 0 comments Download
M Source/modules/indexeddb/IDBIndex.cpp View 6 chunks +6 lines, -5 lines 0 comments Download
M Source/modules/indexeddb/IDBObjectStore.cpp View 1 2 3 4 8 chunks +8 lines, -7 lines 0 comments Download
M Source/modules/indexeddb/IDBRequestTest.cpp View 1 2 3 4 2 chunks +1 line, -11 lines 0 comments Download
M Source/modules/indexeddb/IDBTransactionTest.cpp View 1 2 3 4 2 chunks +2 lines, -11 lines 0 comments Download
A Source/modules/indexeddb/WebIDBCallbacksImpl.h View 1 2 1 chunk +79 lines, -0 lines 0 comments Download
A Source/modules/indexeddb/WebIDBCallbacksImpl.cpp View 1 2 1 chunk +131 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/web/AssertMatchingEnums.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/web/IDBFactoryBackendProxy.h View 2 chunks +4 lines, -14 lines 0 comments Download
M Source/web/IDBFactoryBackendProxy.cpp View 1 2 3 3 chunks +6 lines, -58 lines 0 comments Download
D Source/web/WebIDBCallbacks.cpp View 1 chunk +0 lines, -126 lines 0 comments Download
M Source/web/web.gypi View 1 1 chunk +0 lines, -1 line 0 comments Download
M public/platform/WebIDBCallbacks.h View 2 chunks +15 lines, -42 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
alecflett
yay! lgtm https://codereview.chromium.org/67463006/diff/1/Source/modules/indexeddb/IDBCursor.cpp File Source/modules/indexeddb/IDBCursor.cpp (right): https://codereview.chromium.org/67463006/diff/1/Source/modules/indexeddb/IDBCursor.cpp#newcode233 Source/modules/indexeddb/IDBCursor.cpp:233: m_backend->continueFunction(key, WebIDBCallbacksImpl::create(m_request).leakPtr()); ah now I see what ...
7 years, 1 month ago (2013-11-22 18:19:04 UTC) #1
jsbell
adamk@ - can you review the Source/web simplification? (This leaves IDBFactoryBackendXXX as a poorly named ...
7 years ago (2013-11-25 19:19:12 UTC) #2
abarth-chromium
public/platform <--- LGTM
7 years ago (2013-11-25 21:29:50 UTC) #3
adamk
lgtm, and an optional slight simplification of allowIndexedDB() suggested https://codereview.chromium.org/67463006/diff/50001/Source/web/IDBFactoryBackendProxy.cpp File Source/web/IDBFactoryBackendProxy.cpp (right): https://codereview.chromium.org/67463006/diff/50001/Source/web/IDBFactoryBackendProxy.cpp#newcode54 Source/web/IDBFactoryBackendProxy.cpp:54: ...
7 years ago (2013-11-25 21:56:44 UTC) #4
jsbell
Simplified allowIndexedDB as suggested. Also removed the m_upgradeNeededCalled member of WebIDBCallbacksImpl, although this turns out ...
7 years ago (2013-11-26 00:42:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/67463006/110001
7 years ago (2013-11-27 00:33:41 UTC) #6
commit-bot: I haz the power
7 years ago (2013-11-27 09:40:38 UTC) #7
Message was sent while issue was closed.
Change committed as 162738

Powered by Google App Engine
This is Rietveld 408576698