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

Issue 2397363002: Replace hand-written IDBObserverCallback with auto-generated code (Closed)

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

Description

Replace hand-written IDBObserverCallback with auto-generated code Like PerformanceObserverCallback we can auto-generate bindings for IDBObserverCallback. BUG=648486 Committed: https://crrev.com/29552806a635424f888d0f1a11fe853c50c71733 Cr-Commit-Position: refs/heads/master@{#424313}

Patch Set 1 #

Total comments: 6

Patch Set 2 : comment #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -161 lines) Patch
M third_party/WebKit/Source/bindings/modules/v8/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
D third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.h View 1 chunk +0 lines, -38 lines 0 comments Download
D third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.cpp View 1 chunk +0 lines, -66 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp View 1 2 chunks +10 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/generated.gni View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/modules/v8/v8.gni View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/scripts/utilities.py View 1 2 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserver.h View 3 chunks +9 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp View 3 chunks +14 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObserver.idl View 1 chunk +2 lines, -1 line 0 comments Download
D third_party/WebKit/Source/modules/indexeddb/IDBObserverCallback.h View 1 chunk +0 lines, -27 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
bashi
PTAL (I have one question before asking indexeddb OWNERS review) https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp File third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp (right): https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp#newcode57 ...
4 years, 2 months ago (2016-10-07 07:07:26 UTC) #2
haraken
https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp File third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp (right): https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp#newcode57 third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp:57: V8PrivateProperty::getIDBObserverCallback(info.GetIsolate()) On 2016/10/07 07:07:26, bashi1 wrote: > Auto-generated IDBObserverCallback ...
4 years, 2 months ago (2016-10-07 07:23:35 UTC) #3
bashi
https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp File third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp (right): https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp#newcode57 third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp:57: V8PrivateProperty::getIDBObserverCallback(info.GetIsolate()) On 2016/10/07 07:23:35, haraken wrote: > On 2016/10/07 ...
4 years, 2 months ago (2016-10-07 07:28:38 UTC) #4
haraken
On 2016/10/07 07:28:38, bashi1 wrote: > https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp > File > third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp > (right): > > ...
4 years, 2 months ago (2016-10-07 07:37:27 UTC) #5
bashi
https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp (right): https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp#newcode106 third_party/WebKit/Source/modules/indexeddb/IDBObserver.cpp:106: // crbug.com/653769 On 2016/10/07 07:23:35, haraken wrote: > > ...
4 years, 2 months ago (2016-10-07 07:37:31 UTC) #6
bashi
On 2016/10/07 07:37:27, haraken wrote: > On 2016/10/07 07:28:38, bashi1 wrote: > > > https://codereview.chromium.org/2397363002/diff/1/third_party/WebKit/Source/bindings/modules/v8/custom/V8IDBObserverCustom.cpp ...
4 years, 2 months ago (2016-10-07 07:44:29 UTC) #7
haraken
On 2016/10/07 07:44:29, bashi1 wrote: > On 2016/10/07 07:37:27, haraken wrote: > > On 2016/10/07 ...
4 years, 2 months ago (2016-10-07 07:56:16 UTC) #8
bashi
Updated comment. jsbell@: Could you review indexeddb/ ?
4 years, 2 months ago (2016-10-07 08:04:19 UTC) #12
jsbell
lgtm
4 years, 2 months ago (2016-10-07 16:39:08 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/2397363002/40001
4 years, 2 months ago (2016-10-10 23:17:16 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-11 00:51:21 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-11 00:54:28 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/29552806a635424f888d0f1a11fe853c50c71733
Cr-Commit-Position: refs/heads/master@{#424313}

Powered by Google App Engine
This is Rietveld 408576698