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

Issue 2349413002: Minor IndexedDB refactorings. (Closed)

Created:
4 years, 3 months ago by pwnall
Modified:
4 years, 3 months ago
Reviewers:
cmumford
CC:
chromium-reviews, blink-reviews, haraken, jsbell+idb_chromium.org, cmumford
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Minor IndexedDB refactorings. This is an extraction of all the refactoring in http://crrev.com/2314933005 so that CL can focus on changing the metadata representation and on fixing the metadata reverting on transaction abort. BUG=645018 Committed: https://crrev.com/b00bdc1d42f5ec166b3ab1643e6993a30e593a8c Cr-Commit-Position: refs/heads/master@{#420806}

Patch Set 1 #

Total comments: 35

Patch Set 2 : Addressed feedback. #

Total comments: 2

Patch Set 3 : Addressed feedback. #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -252 lines) Patch
M third_party/WebKit/Source/modules/indexeddb/IDBCursor.cpp View 1 5 chunks +12 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBDatabase.cpp View 1 9 chunks +24 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBIndex.h View 1 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp View 1 8 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBMetadata.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBMetadata.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h View 3 chunks +15 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp View 1 2 16 chunks +47 lines, -42 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBOpenDBRequest.cpp View 1 5 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp View 1 17 chunks +39 lines, -39 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBTransaction.h View 1 6 chunks +38 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBTransaction.cpp View 1 17 chunks +115 lines, -90 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBTransactionTest.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
pwnall
This has some of the code changes in http://crrev.com/2314933005 but does not introduce (significant) behavior ...
4 years, 3 months ago (2016-09-19 20:50:00 UTC) #4
cmumford
Lots of little nit-pickey comments. Still looking at some files... https://codereview.chromium.org/2349413002/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp File third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp (right): https://codereview.chromium.org/2349413002/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBIndex.cpp#newcode55 ...
4 years, 3 months ago (2016-09-19 23:26:48 UTC) #7
pwnall
cmumford: Thank you for the quick feedback. I have addressed some of it, and asked ...
4 years, 3 months ago (2016-09-20 09:11:15 UTC) #10
pwnall
> On 2016/09/19 23:26:48, cmumford wrote: > > spaces before these (and all) strings, so: ...
4 years, 3 months ago (2016-09-21 23:49:37 UTC) #13
cmumford
lgtm https://codereview.chromium.org/2349413002/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h File third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h (right): https://codereview.chromium.org/2349413002/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h#newcode63 third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h:63: const IDBKeyPath& idbKeyPath() const { return metadata().keyPath; } ...
4 years, 3 months ago (2016-09-23 22:21:11 UTC) #14
pwnall
https://codereview.chromium.org/2349413002/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h File third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h (right): https://codereview.chromium.org/2349413002/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h#newcode72 third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.h:72: bool autoIncrement() const { return metadata().autoIncrement; } On 2016/09/23 ...
4 years, 3 months ago (2016-09-23 22:33:05 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2349413002/60001
4 years, 3 months ago (2016-09-24 01:15:46 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-24 01:24:12 UTC) #23
commit-bot: I haz the power
4 years, 3 months ago (2016-09-24 01:28:18 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b00bdc1d42f5ec166b3ab1643e6993a30e593a8c
Cr-Commit-Position: refs/heads/master@{#420806}

Powered by Google App Engine
This is Rietveld 408576698