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

Issue 78053006: [oilpan] Move IDBDatabase, IDBDatabaseCallbacks, IDBDatabaseBackendInterface and other related clas… (Closed)

Created:
7 years, 1 month ago by haraken
Modified:
7 years ago
CC:
blink-reviews, adamk+oilpan_chromium.org, abarth-chromium
Visibility:
Public.

Description

[oilpan] Move IDBDatabase, IDBDatabaseCallbacks, IDBDatabaseBackendInterface and other related classes R=ager@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163072 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163086

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 14

Patch Set 6 : #

Total comments: 2

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+578 lines, -493 lines) Patch
M Source/WebKit/chromium/src/IDBCallbacksProxy.h View 1 2 3 4 5 3 chunks +8 lines, -5 lines 0 comments Download
M Source/WebKit/chromium/src/IDBCallbacksProxy.cpp View 1 2 3 4 5 3 chunks +12 lines, -7 lines 0 comments Download
M Source/WebKit/chromium/src/IDBCursorBackendProxy.h View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M Source/WebKit/chromium/src/IDBCursorBackendProxy.cpp View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M Source/WebKit/chromium/src/IDBDatabaseBackendProxy.h View 1 2 3 4 5 1 chunk +11 lines, -9 lines 0 comments Download
M Source/WebKit/chromium/src/IDBDatabaseBackendProxy.cpp View 1 2 3 4 5 5 chunks +10 lines, -10 lines 0 comments Download
M Source/WebKit/chromium/src/IDBDatabaseCallbacksProxy.h View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M Source/WebKit/chromium/src/IDBDatabaseCallbacksProxy.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/WebKit/chromium/src/IDBFactoryBackendProxy.h View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M Source/WebKit/chromium/src/IDBFactoryBackendProxy.cpp View 1 2 3 4 5 4 chunks +4 lines, -8 lines 0 comments Download
M Source/WebKit/chromium/src/WebIDBCallbacksImpl.h View 1 2 3 4 5 3 chunks +4 lines, -3 lines 0 comments Download
M Source/WebKit/chromium/src/WebIDBCallbacksImpl.cpp View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M Source/WebKit/chromium/src/WebIDBDatabaseCallbacksImpl.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/WebKit/chromium/src/WebIDBDatabaseCallbacksImpl.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/WebKit/chromium/src/WebIDBDatabaseImpl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/WebKit/chromium/src/WebIDBDatabaseImpl.cpp View 1 2 3 4 5 3 chunks +5 lines, -5 lines 0 comments Download
M Source/WebKit/chromium/src/WebIDBFactoryImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/WebKit/chromium/tests/IDBAbortOnCorruptTest.cpp View 1 2 3 4 5 6 3 chunks +4 lines, -3 lines 0 comments Download
M Source/WebKit/chromium/tests/IDBDatabaseBackendTest.cpp View 1 2 3 4 5 6 10 chunks +37 lines, -31 lines 0 comments Download
M Source/WebKit/chromium/tests/IDBRequestTest.cpp View 1 2 3 4 5 6 5 chunks +15 lines, -13 lines 0 comments Download
M Source/WebKit/chromium/tests/IDBTransactionTest.cpp View 1 2 3 4 5 6 4 chunks +15 lines, -12 lines 0 comments Download
M Source/bindings/scripts/CodeGeneratorV8.pm View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M Source/heap/ThreadState.h View 1 2 3 4 5 6 3 chunks +56 lines, -50 lines 0 comments Download
M Source/heap/Visitor.h View 1 2 3 4 5 4 chunks +23 lines, -3 lines 0 comments Download
M Source/modules/indexeddb/IDBAny.h View 3 chunks +5 lines, -5 lines 0 comments Download
M Source/modules/indexeddb/IDBAny.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBCallbacks.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBCursor.h View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/indexeddb/IDBCursor.cpp View 1 2 3 4 5 3 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/indexeddb/IDBCursorBackendImpl.h View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M Source/modules/indexeddb/IDBCursorBackendImpl.cpp View 1 2 3 4 5 6 chunks +14 lines, -17 lines 0 comments Download
M Source/modules/indexeddb/IDBCursorBackendInterface.h View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabase.h View 1 2 3 4 5 5 chunks +6 lines, -6 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabase.cpp View 1 2 3 4 5 2 chunks +10 lines, -4 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabaseBackendImpl.h View 1 2 3 4 5 5 chunks +17 lines, -16 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabaseBackendImpl.cpp View 1 2 3 4 5 25 chunks +74 lines, -72 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabaseBackendInterface.h View 1 2 3 4 5 3 chunks +13 lines, -9 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabaseCallbacks.h View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
M Source/modules/indexeddb/IDBDatabaseCallbacksImpl.h View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBDatabaseCallbacksImpl.cpp View 1 2 3 4 5 6 2 chunks +8 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBFactory.h View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M Source/modules/indexeddb/IDBFactory.cpp View 1 2 3 4 5 5 chunks +9 lines, -9 lines 0 comments Download
M Source/modules/indexeddb/IDBFactoryBackendImpl.h View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/indexeddb/IDBFactoryBackendImpl.cpp View 1 2 3 4 5 5 chunks +7 lines, -7 lines 0 comments Download
M Source/modules/indexeddb/IDBFactoryBackendInterface.h View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M Source/modules/indexeddb/IDBIndex.h View 1 2 3 4 5 1 chunk +10 lines, -10 lines 0 comments Download
M Source/modules/indexeddb/IDBIndex.cpp View 1 2 3 4 5 11 chunks +15 lines, -15 lines 0 comments Download
M Source/modules/indexeddb/IDBObjectStore.h View 1 2 3 4 5 2 chunks +14 lines, -14 lines 0 comments Download
M Source/modules/indexeddb/IDBObjectStore.cpp View 1 2 3 4 5 16 chunks +29 lines, -29 lines 0 comments Download
M Source/modules/indexeddb/IDBOpenDBRequest.h View 1 2 3 4 5 2 chunks +7 lines, -5 lines 0 comments Download
M Source/modules/indexeddb/IDBOpenDBRequest.cpp View 1 2 3 4 5 5 chunks +23 lines, -22 lines 0 comments Download
M Source/modules/indexeddb/IDBRequest.h View 1 2 3 4 5 1 chunk +3 lines, -6 lines 0 comments Download
M Source/modules/indexeddb/IDBRequest.cpp View 1 2 3 4 5 3 chunks +14 lines, -11 lines 0 comments Download
M Source/modules/indexeddb/IDBTransaction.h View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/indexeddb/IDBTransaction.cpp View 1 2 3 4 5 3 chunks +8 lines, -2 lines 0 comments Download
M Source/modules/indexeddb/IDBTransactionBackendImpl.h View 3 chunks +6 lines, -6 lines 0 comments Download
M Source/modules/indexeddb/IDBTransactionBackendImpl.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
haraken
Now it compiles, but I don't yet fully understand lifetime relationships. Probably Persistents that I ...
7 years, 1 month ago (2013-11-21 17:28:35 UTC) #1
haraken
https://codereview.chromium.org/78053006/diff/70001/Source/WebKit/chromium/src/IDBCallbacksProxy.h File Source/WebKit/chromium/src/IDBCallbacksProxy.h (right): https://codereview.chromium.org/78053006/diff/70001/Source/WebKit/chromium/src/IDBCallbacksProxy.h#newcode67 Source/WebKit/chromium/src/IDBCallbacksProxy.h:67: WebCore::Persistent<IDBDatabaseCallbacksProxy> m_databaseCallbacks; Help me debug when you have time. ...
7 years ago (2013-11-26 07:26:02 UTC) #2
haraken
On 2013/11/26 07:26:02, haraken wrote: > https://codereview.chromium.org/78053006/diff/70001/Source/WebKit/chromium/src/IDBCallbacksProxy.h > File Source/WebKit/chromium/src/IDBCallbacksProxy.h (right): > > https://codereview.chromium.org/78053006/diff/70001/Source/WebKit/chromium/src/IDBCallbacksProxy.h#newcode67 > ...
7 years ago (2013-11-26 07:44:45 UTC) #3
Vyacheslav Egorov (Google)
What happens here is that REQUIRE_THREADSAFE_HANDLES(T); declares T in the current namespace as thread-safe. In ...
7 years ago (2013-11-26 08:44:26 UTC) #4
haraken
On 2013/11/26 08:44:26, Vyacheslav Egorov (Google) wrote: > What happens here is that REQUIRE_THREADSAFE_HANDLES(T); declares ...
7 years ago (2013-11-26 10:45:07 UTC) #5
Vyacheslav Egorov (Google)
Indeed, I forgot about this limitation. I think this should work: #define REQUIRE_THREADSAFE_HANDLES_NS(Namespace, Class) \ ...
7 years ago (2013-11-26 12:05:49 UTC) #6
haraken
Thanks Slava! It worked. PTAL.
7 years ago (2013-11-26 13:09:13 UTC) #7
haraken
ping?
7 years ago (2013-11-28 01:44:19 UTC) #8
Mads Ager (chromium)
There is one place where we replace a raw pointer with a Member. Have you ...
7 years ago (2013-11-28 10:24:45 UTC) #9
haraken
Thanks for review. I noticed that I have to move IDBRequest to the heap at ...
7 years ago (2013-12-02 09:13:26 UTC) #10
haraken
On 2013/12/02 09:13:26, haraken wrote: > Thanks for review. I noticed that I have to ...
7 years ago (2013-12-02 09:13:55 UTC) #11
Mads Ager (chromium)
On 2013/12/02 09:13:26, haraken wrote: > Thanks for review. I noticed that I have to ...
7 years ago (2013-12-02 09:16:59 UTC) #12
haraken
I moved IDBRequest and IDBOpenDBRequest at the same time since they inherit from IDBCallbacks. PTAL. ...
7 years ago (2013-12-03 05:29:48 UTC) #13
Mads Ager (chromium)
LGTM https://codereview.chromium.org/78053006/diff/110001/Source/heap/ThreadState.h File Source/heap/ThreadState.h (right): https://codereview.chromium.org/78053006/diff/110001/Source/heap/ThreadState.h#newcode68 Source/heap/ThreadState.h:68: namespace Namespace { \ Could you align the ...
7 years ago (2013-12-03 08:43:32 UTC) #14
haraken
Thanks for review! https://codereview.chromium.org/78053006/diff/110001/Source/heap/ThreadState.h File Source/heap/ThreadState.h (right): https://codereview.chromium.org/78053006/diff/110001/Source/heap/ThreadState.h#newcode68 Source/heap/ThreadState.h:68: namespace Namespace { \ On 2013/12/03 ...
7 years ago (2013-12-03 08:48:54 UTC) #15
haraken
Committed patchset #6 manually as r163072.
7 years ago (2013-12-03 08:49:13 UTC) #16
haraken
Sorry about the build breakage for webkit_unit_tests. Fixed the build. Relanding.
7 years ago (2013-12-03 13:40:59 UTC) #17
haraken
Committed patchset #7 manually as r163086.
7 years ago (2013-12-03 13:42:28 UTC) #18
haraken
7 years ago (2013-12-04 04:48:48 UTC) #19
Message was sent while issue was closed.
This CL caused a crash of storage/indexeddb/objectstore-basics.html and
storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange.html.
Looking.

Powered by Google App Engine
This is Rietveld 408576698